/* investwohnungen.at – Gestaltung nach Entwurf Variante H */

/* Schriften liegen auf dem eigenen Server (kein Google-Fonts-Abruf, DSGVO) */
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 800;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --blau: #0D4291;
  --blau-dunkel: #082D66;
  --nachtblau: #0B2447;
  --hellblau: #8DB4EE;
  --text: #16213A;
  --ueberschrift: #0B1E3A;
  --text-gedaempft: #4B5873;
  --text-nav: #2C3A55;
  --linie: #DCE3ED;
  --rahmen-feld: #C4CFDE;
  --grund-hell: #F3F6FA;
  --grund-karte: #F4F7FB;
  --platzhalter: #E5ECF5;
  --weiss: #FFFFFF;

  --schrift-titel: "Sora", "Helvetica Neue", Arial, sans-serif;
  --schrift-text: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --breite: 1240px;
  --rand: 32px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--weiss);
  color: var(--text);
  font-family: var(--schrift-text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blau); text-decoration: none; }
a:hover { color: var(--blau-dunkel); }

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

h1, h2, h3 {
  text-wrap: balance;
  font-family: var(--schrift-titel);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ueberschrift);
  margin: 0;
}

.container {
  max-width: var(--breite);
  margin: 0 auto;
  padding-left: var(--rand);
  padding-right: var(--rand);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.dachzeile {
  margin: 0 0 14px;
  color: var(--blau);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.einleitung { color: var(--text-gedaempft); max-width: 620px; margin: 0; }

/* ---------- Schaltflächen ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 8px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primaer { background: var(--blau); color: var(--weiss); }
.btn-primaer:hover { background: var(--blau-dunkel); color: var(--weiss); }
.btn-sekundaer { border-color: var(--rahmen-feld); color: var(--text); background: var(--weiss); }
.btn-sekundaer:hover { border-color: var(--blau); color: var(--blau); }
.btn-klein { min-height: 44px; padding: 0 22px; font-size: 15px; }

/* ---------- Kopfbereich ---------- */
.kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--weiss);
  border-bottom: 1px solid var(--linie);
}
.kopf-inhalt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo {
  font-family: var(--schrift-titel);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.logo span { color: var(--blau); }
.logo:hover { color: var(--text); }

.hauptmenue ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 28px;
  font-size: 15px;
  font-weight: 600;
}
.hauptmenue a { color: var(--text-nav); }
.hauptmenue a:hover, .hauptmenue a[aria-current="page"] { color: var(--blau); }

.menue-knopf {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--linie);
  border-radius: 8px;
  background: var(--weiss);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ---------- Startbereich ---------- */
.start { background: var(--grund-hell); }
.start-inhalt {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: center;
  padding-top: 84px;
  padding-bottom: 124px;
}
.start-text { flex: 1 1 520px; }
.start h1 {
  max-width: 640px;
  font-size: 58px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.start-text p.einleitung { margin-top: 24px; font-size: 19px; max-width: 560px; }
.start-bild {
  flex: 1 1 420px;
  margin: 0;
}
.start-bild img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(11, 36, 71, 0.12);
}
.start-bild figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-gedaempft);
}

.bild-platzhalter {
  background: var(--platzhalter);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gedaempft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 16px;
}
.start-bild.bild-platzhalter { background: #DCE5F1; }

/* ---------- Suche ---------- */
.suche { margin-top: -64px; position: relative; }
.suchmaske {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  box-shadow: 0 10px 30px rgba(11, 36, 71, 0.06);
}
.feld {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-nav);
}
.feld select {
  height: 50px;
  background: var(--weiss);
  color: var(--text);
  border: 1px solid var(--rahmen-feld);
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
  font-weight: 500;
  font-size: 16px;
}
.suchmaske .btn { flex: 0 0 auto; }

.kennzahlen {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  color: var(--text-gedaempft);
  font-size: 15px;
  font-weight: 600;
}
.kennzahlen strong { color: var(--blau); font-weight: 800; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding-top: 90px; padding-bottom: 90px; }
.abschnitt h2 { font-size: 36px; }
.abschnitt-kopf {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 32px;
}
.abschnitt-kopf a { font-weight: 700; }

/* Kategorien */
.kategorien { padding-bottom: 40px; }
.kategorien h2 { margin-bottom: 36px; }
.kachel-raster { display: flex; flex-wrap: wrap; gap: 20px; }
.kachel {
  flex: 1 1 260px;
  background: var(--grund-karte);
  border-radius: 14px;
  padding: 28px;
  color: var(--text);
  min-height: 190px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.kachel:hover { color: var(--text); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(11, 36, 71, 0.08); }
.kachel-titel { font-family: var(--schrift-titel); font-size: 20px; font-weight: 600; }
.kachel-text { color: var(--text-gedaempft); font-size: 15px; }
.kachel-link { margin-top: auto; color: var(--blau); font-weight: 700; font-size: 15px; }
.kachel-premium { background: var(--nachtblau); color: var(--weiss); }
.kachel-premium:hover { color: var(--weiss); }
.kachel-premium .kachel-marke { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hellblau); }
.kachel-premium .kachel-text { color: #C9D6EA; }
.kachel-premium .kachel-link { color: var(--weiss); }

/* Angebote */
.angebote { padding-top: 70px; }
.karten-raster { display: flex; flex-wrap: wrap; gap: 24px; }
.objekt {
  flex: 1 1 320px;
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.objekt-bild { height: 220px; }
.objekt-inhalt { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.objekt-merkmal {
  align-self: flex-start;
  background: #E8EFFA;
  color: var(--blau);
  font-size: 13px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
}
.objekt h3 { font-size: 19px; line-height: 1.3; }
.objekt h3 a { color: inherit; }
.objekt h3 a:hover { color: var(--blau); }
.objekt-lage { margin: 0; color: var(--text-gedaempft); font-size: 15px; }
.objekt-preis {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid var(--linie);
  padding-top: 14px;
  margin-top: auto;
}
.objekt-preis span:first-child { color: var(--text-gedaempft); font-size: 14px; }
.objekt-preis span:last-child { font-size: 22px; font-weight: 700; }

/* Paket */
.paket { background: var(--grund-karte); }
.paket h2 { font-size: 38px; line-height: 1.15; max-width: 720px; margin-bottom: 18px; }
.bausteine {
  list-style: none;
  margin: 36px 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.bausteine li {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 700;
}
.bausteine li.hervorgehoben { background: var(--nachtblau); border-color: var(--nachtblau); color: var(--weiss); }

/* Beratung */
.beratung-inhalt {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}
.beratung-inhalt > div:first-child { flex: 1 1 520px; }
.beratung h2 { font-size: 38px; line-height: 1.15; margin-bottom: 14px; }
.knopf-gruppe { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Unterseiten ---------- */
.seitenkopf { background: var(--grund-hell); }
.seitenkopf .container { padding-top: 72px; padding-bottom: 72px; }
.seitenkopf h1 { font-size: 46px; line-height: 1.12; letter-spacing: -0.03em; max-width: 780px; }
.seitenkopf .einleitung { margin-top: 18px; font-size: 19px; }

.inhalt { max-width: 780px; }
.inhalt h2 { font-size: 28px; margin: 48px 0 12px; }
.inhalt h2:first-child { margin-top: 0; }
.inhalt p, .inhalt ul { margin: 0 0 16px; }

.inhalt ul { padding-left: 22px; }
.inhalt li { margin-bottom: 8px; }
.inhalt strong { color: var(--ueberschrift); }

.cta-box {
  margin-top: 56px;
  background: var(--grund-karte);
  border-radius: 14px;
  padding: 32px;
}
.cta-box h2 { margin-top: 0; font-size: 26px; }
.cta-box p { color: var(--text-gedaempft); }

.rechtshinweis {
  margin-top: 32px;
  font-size: 14px;
  color: var(--text-gedaempft);
}

.hinweis-platzhalter {
  border: 1px dashed var(--rahmen-feld);
  border-radius: 10px;
  padding: 18px 20px;
  color: var(--text-gedaempft);
  background: var(--grund-karte);
}

/* ---------- Wohnungsliste ---------- */
.objekt-bild { display: flex; overflow: hidden; }
.objekt-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.objekt:hover .objekt-bild img { transform: scale(1.03); }
.wohnungsliste .suchmaske { margin-bottom: 20px; }
.treffer { margin: 0 0 24px; font-weight: 700; color: var(--text-gedaempft); }
.wohnungsliste .karten-raster .objekt { flex: 1 1 320px; max-width: calc((100% - 48px) / 3); }
.objekt[hidden] { display: none; }

/* ---------- Objektseite ---------- */
.seitenkopf .dachzeile a { color: var(--blau); }
.objekt-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: start;
}
.objekt-haupt { min-width: 0; }
.objekt-haupt h2 { font-size: 26px; margin: 40px 0 12px; }
.objekt-haupt p { margin: 0 0 14px; max-width: 72ch; }
.galerie { display: grid; gap: 12px; }
.galerie img { width: 100%; border-radius: 12px; object-fit: cover; }
.galerie-haupt { aspect-ratio: 4 / 3; }
.galerie-weitere { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.galerie-weitere img { aspect-ratio: 1; }
.grundrisse { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.grundrisse img { border: 1px solid var(--linie); border-radius: 10px; background: var(--weiss); }

.objekt-seite { position: sticky; top: 96px; }
.objekt-box {
  border: 1px solid var(--linie);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--weiss);
  box-shadow: 0 10px 30px rgba(11, 36, 71, 0.06);
}
.objekt-box-preis { margin: 0; font-family: var(--schrift-titel); font-size: 32px; font-weight: 600; color: var(--ueberschrift); }
.objekt-box .objekt-merkmal { margin: 0; }
.fakten { margin: 4px 0 8px; display: grid; gap: 0; }
.fakten div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--linie); font-size: 15px; }
.fakten dt { color: var(--text-gedaempft); }
.fakten dd { margin: 0; font-weight: 700; text-align: right; }
.objekt-box .btn { width: 100%; }
.objekt-box-tel { margin: 4px 0 0; font-size: 15px; color: var(--text-gedaempft); text-align: center; }

@media (max-width: 960px) {
  .objekt-detail { grid-template-columns: minmax(0, 1fr); }
  .objekt-seite { position: static; order: -1; }
  .wohnungsliste .karten-raster .objekt { max-width: none; }
}

/* ---------- Fußbereich ---------- */
.fuss { background: var(--nachtblau); color: #C9D6EA; font-size: 15px; }
.fuss-inhalt {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  padding-top: 52px;
  padding-bottom: 52px;
}
.fuss-marke { flex: 1 1 280px; }
.fuss-marke .logo { color: var(--weiss); font-size: 21px; }
.fuss-marke .logo span { color: var(--hellblau); }
.fuss-marke p { margin: 8px 0 0; }
.fuss-kontakt { flex: 1 1 220px; font-style: normal; }
.fuss-kontakt a { color: #C9D6EA; }
.fuss-kontakt a:hover, .fuss-recht a:hover { color: var(--hellblau); }
.fuss-recht { flex: 0 1 200px; display: flex; flex-direction: column; gap: 6px; }
.fuss-recht a { color: var(--weiss); }
.fuss-unten { border-top: 1px solid rgba(201, 214, 234, 0.2); }
.fuss-unten .container { padding-top: 18px; padding-bottom: 18px; font-size: 13px; }

/* ---------- Handy und Tablet ---------- */
@media (max-width: 1080px) {
  .kopf-cta { display: none; }
}

@media (max-width: 1100px) {
  .menue-knopf { display: inline-flex; }
  .hauptmenue {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--weiss);
    border-bottom: 1px solid var(--linie);
    box-shadow: 0 12px 24px rgba(11, 36, 71, 0.08);
  }
  .hauptmenue.offen { display: block; }
  .hauptmenue ul { flex-direction: column; gap: 0; padding: 8px var(--rand) 20px; font-size: 17px; }
  .hauptmenue li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--linie); }
  .hauptmenue .menue-cta { display: block; margin-top: 16px; }
  .hauptmenue .menue-cta a { border: 0; padding: 0 22px; display: inline-flex; color: var(--weiss); }
  .start h1 { font-size: 44px; }
}

@media (min-width: 1101px) {
  .hauptmenue .menue-cta { display: none; }
}

@media (max-width: 640px) {
  :root { --rand: 16px; }
  body { font-size: 16px; }
  .start-inhalt { padding-top: 48px; padding-bottom: 104px; gap: 32px; }
  .start h1 { font-size: 34px; }
  .start-text p.einleitung { font-size: 17px; }
  .start-text, .start-bild { flex-basis: 100%; }
  .suchmaske { padding: 16px; }
  .suchmaske .btn { width: 100%; }
  .abschnitt { padding-top: 64px; padding-bottom: 64px; }
  .abschnitt h2, .paket h2, .beratung h2 { font-size: 28px; }
  .kachel, .objekt, .beratung-inhalt > div:first-child { flex-basis: 100%; }
  .knopf-gruppe, .knopf-gruppe .btn { width: 100%; }
  .seitenkopf .container { padding-top: 48px; padding-bottom: 48px; }
  .seitenkopf h1 { font-size: 32px; }
}

.foto-ersatz {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  width: 100%;
  background: var(--platzhalter);
  border-radius: 12px;
  color: var(--text-gedaempft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.galerie .foto-ersatz:first-child { aspect-ratio: 4 / 3; }
.objekt-bild .foto-ersatz { border-radius: 0; min-height: 0; height: 100%; }
.objekt-haupt h3 { font-size: 17px; margin: 24px 0 8px; letter-spacing: 0; }
.objekt-haupt ul { margin: 0 0 14px; padding-left: 22px; }
.objekt-haupt li { margin-bottom: 4px; }

/* ---------- Österreich-Karte ---------- */
:root {
  --gold: #B8893A;
  --gold-hell: #F3E6CC;
  --karte-land: #FFFFFF;
  --karte-land-aktiv: #E3ECF8;
  --karte-grenze: #C4CFDE;
  --karte-landesgrenze: #8A9BB8;
}
.start-inhalt { padding-bottom: 112px; gap: 36px; }
.start-text { flex: 1 1 100%; }
.karte { flex: 1 1 100%; min-width: 0; }
.karte-kopf {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 24px;
  margin-bottom: 14px;
}
.karte-zahl { margin: 0; font-family: var(--schrift-titel); font-size: 20px; font-weight: 600; color: var(--ueberschrift); }
.karte-legende { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; color: var(--text-gedaempft); }
.karte-legende li { display: flex; align-items: center; gap: 8px; }
.punkt { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--weiss); box-shadow: 0 0 0 1px var(--karte-grenze); }
.punkt-gold { background: var(--gold); }
.punkt-blau { background: var(--blau); }

.karte-koerper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(11, 36, 71, 0.08);
}
.karte-flaeche {
  position: relative;
  height: 470px;
  background: #F7F9FC;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.karte-flaeche:active { cursor: grabbing; }
.karte-svg { display: block; width: 100%; height: 100%; }
.karte-fehler { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--text-gedaempft); }

.k-laender path { fill: var(--karte-land); stroke: var(--karte-landesgrenze); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.k-laender path.aktiv { fill: var(--karte-land-aktiv); }
.k-bezirke path { fill: transparent; stroke: var(--karte-grenze); stroke-width: 0.6; vector-effect: non-scaling-stroke; transition: fill 0.15s; }
.k-bezirke path:hover { fill: rgba(13, 66, 145, 0.07); }
.karte-svg[data-zoom="1"] .k-bezirke path { stroke-opacity: 0.55; }
.k-bezirke path[data-bezirk^="9"] { stroke-opacity: 1; }

.karte-svg text { font-family: var(--schrift-text); pointer-events: none; paint-order: stroke; stroke: rgba(255, 255, 255, 0.9); stroke-linejoin: round; }
.k-land-name { font-size: calc(var(--s, 1) * 12px); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; fill: #6B7A94; text-anchor: middle; stroke-width: calc(var(--s, 1) * 3px); }
.k-bez-name { font-size: calc(var(--s, 1) * 11px); font-weight: 600; fill: #4B5873; text-anchor: middle; stroke-width: calc(var(--s, 1) * 3px); display: none; }
.k-stadt circle { fill: #4B5873; r: calc(var(--s, 1) * 2.5px); }
.k-stadt text { font-size: calc(var(--s, 1) * 11px); font-weight: 700; fill: #2C3A55; stroke-width: calc(var(--s, 1) * 3px); }
.karte-svg[data-zoom="2"] .k-land-name, .karte-svg[data-zoom="3"] .k-land-name { display: none; }
.karte-svg[data-zoom="2"] .k-bez-name:not(.k-wien) { display: block; }
.karte-svg[data-zoom="3"] .k-bez-name { display: block; }
.karte-svg[data-zoom="3"] .k-stadt { display: none; }

.k-pin { cursor: pointer; outline: none; }
.k-pin-halo { fill: rgba(13, 66, 145, 0.16); }
.k-pin-kreis { fill: var(--blau); stroke: var(--weiss); stroke-width: 2.5; }
.k-pin-kern { fill: var(--weiss); }
.k-pin-zahl { fill: var(--weiss); font-size: 12px; font-weight: 800; text-anchor: middle; stroke: none !important; }
.k-gold .k-pin-halo { fill: rgba(184, 137, 58, 0.22); }
.k-gold .k-pin-kreis { fill: var(--gold); }
.k-gemischt .k-pin-kreis { stroke: var(--gold); stroke-width: 3.5; }
.k-pin:hover .k-pin-kreis, .k-pin:focus-visible .k-pin-kreis { stroke: var(--ueberschrift); }
.k-pin:focus-visible .k-pin-halo { fill: rgba(141, 180, 238, 0.6); }

.karte-steuerung {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--linie);
  border-radius: 10px;
  overflow: hidden;
  background: var(--weiss);
  box-shadow: 0 4px 12px rgba(11, 36, 71, 0.08);
  z-index: 2;
}
.karte-steuerung button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-bottom: 1px solid var(--linie);
  background: var(--weiss);
  color: var(--text);
  cursor: pointer;
}
.karte-steuerung button:last-child { border-bottom: 0; }
.karte-steuerung button:hover { background: var(--grund-hell); color: var(--blau); }
.karte-hinweis {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  margin: 0;
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(11, 30, 58, 0.85);
  color: var(--weiss);
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.karte-hinweis.sichtbar { opacity: 1; }

.karte-liste {
  border-left: 1px solid var(--linie);
  padding: 20px;
  max-height: 470px;
  overflow-y: auto;
  min-width: 0;
}
.karte-liste-kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.karte-liste h3 { font-size: 18px; }
.karte-liste ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.karte-liste-hinweis { margin: 0 0 14px; font-size: 14px; color: var(--text-gedaempft); }
.karte-zurueck {
  border: 0;
  background: none;
  color: var(--blau);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 0;
  min-height: 44px;
}
.karte-orte button {
  width: 100%;
  min-height: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--linie);
  border-radius: 10px;
  background: var(--weiss);
  font: inherit;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
}
.karte-orte button:hover { border-color: var(--blau); color: var(--blau); }
.karte-orte-zahl { min-width: 28px; padding: 2px 8px; border-radius: 999px; background: #E8EFFA; color: var(--blau); font-size: 13px; text-align: center; }
.k-eintrag {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border: 1px solid var(--linie);
  border-radius: 10px;
  color: var(--text);
}
.k-eintrag:hover { border-color: var(--blau); color: var(--text); }
.k-eintrag-titel { font-weight: 700; line-height: 1.35; }
.k-eintrag-info { font-size: 14px; color: var(--text-gedaempft); }
.k-eintrag-preis { font-weight: 800; color: var(--ueberschrift); }
.k-eintrag-marke { margin-left: 6px; padding: 2px 8px; border-radius: 6px; background: var(--gold-hell); color: #7A5718; font-size: 12px; font-weight: 700; }
.karte-quelle { margin: 10px 0 0; font-size: 12px; color: var(--text-gedaempft); }

.inhalt-bild { margin: 0 0 32px; }
.inhalt-bild img { border-radius: 14px; }
.inhalt-bild figcaption { margin-top: 8px; font-size: 13px; color: var(--text-gedaempft); }

@media (max-width: 900px) {
  .karte-koerper { grid-template-columns: minmax(0, 1fr); }
  .karte-flaeche { height: 360px; }
  .karte-liste { border-left: 0; border-top: 1px solid var(--linie); max-height: none; }
  .karte-hinweis { display: none; }
}
@media (max-width: 640px) {
  .karte-flaeche { height: 300px; }
  .karte-zahl { font-size: 18px; }
}
.k-stadt.verdeckt { display: none; }
.karte.eng .karte-svg[data-zoom="1"] .k-land-name { display: none; }
@media (max-width: 640px) {
  .karte-flaeche { height: auto; aspect-ratio: 1000 / 640; }
  .karte-steuerung { top: 10px; left: 10px; flex-direction: row; }
  .karte-steuerung button { border-bottom: 0; border-right: 1px solid var(--linie); }
  .karte-steuerung button:last-child { border-right: 0; }
}

/* ---------- Anfrageformular ---------- */
.beratung-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.beratung-text .knopf-gruppe { margin-top: 24px; }
.beratung-kontakt { margin: 20px 0 0; color: var(--text-gedaempft); font-size: 15px; }
.anfrage-form {
  background: var(--grund-karte);
  border-radius: 14px;
  padding: 28px;
  display: grid;
  gap: 16px;
}
.anfrage-form h2 { font-size: 24px; margin: 0; }
.objekt-haupt .anfrage-form { margin-top: 48px; scroll-margin-top: 96px; }
.anfrage-felder { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.anfrage-felder .feld-breit { grid-column: 1 / -1; }
.anfrage-felder input, .anfrage-felder textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--rahmen-feld);
  border-radius: 8px;
  background: var(--weiss);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  font-weight: 500;
}
.anfrage-felder textarea { resize: vertical; min-height: 110px; }
.anfrage-felder input:focus, .anfrage-felder textarea:focus { outline: 3px solid var(--hellblau); outline-offset: 0; border-color: var(--blau); }
.anfrage-haken { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-gedaempft); line-height: 1.5; }
.anfrage-haken input { width: 20px; height: 20px; margin: 1px 0 0; flex: 0 0 auto; accent-color: var(--blau); }
.anfrage-falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.anfrage-form .btn { justify-self: start; }
.anfrage-status { margin: 0; padding: 12px 14px; border-radius: 8px; background: #FDECEC; color: #8A1C1C; font-size: 14px; }
.anfrage-danke h3 { font-size: 20px; margin-bottom: 8px; }
.anfrage-danke p { margin: 0; color: var(--text-gedaempft); }
@media (max-width: 900px) {
  .beratung-raster { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 640px) {
  .anfrage-form { padding: 20px; }
  .anfrage-felder { grid-template-columns: minmax(0, 1fr); }
  .anfrage-form .btn { justify-self: stretch; }
}
.foto-ersatz { min-width: 0; overflow: hidden; text-align: center; padding: 8px; }
.galerie-weitere .foto-ersatz { min-height: 0; aspect-ratio: 1; font-size: 10px; letter-spacing: 0.04em; }
.objekt-haupt p, .objekt-haupt li { overflow-wrap: break-word; }
.trenner { border: 0; border-top: 1px solid var(--linie); margin: 24px 0; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 9px; }
.logo-zeichen { width: 34px; height: 34px; flex: 0 0 auto; }
.lz-pin { fill: var(--blau); }
.lz-dach { fill: none; stroke: var(--weiss); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.lz-haus { fill: var(--weiss); }
.lz-punkt { fill: var(--gold); stroke: var(--weiss); stroke-width: 1.6; }
.fuss .lz-pin { fill: var(--hellblau); }
.fuss .lz-dach { stroke: var(--nachtblau); }
.fuss .lz-haus { fill: var(--nachtblau); }
.fuss .lz-punkt { stroke: var(--nachtblau); }

/* ---------- Social Media im Fußbereich ---------- */
.fuss-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.fuss-social a {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid rgba(201, 214, 234, 0.3); border-radius: 50%; color: var(--weiss);
}
.fuss-social a:hover { background: rgba(141, 180, 238, 0.15); border-color: var(--hellblau); color: var(--weiss); }
.fuss-social:empty { display: none; }

/* ---------- Kontaktleiste am Handy ---------- */
.kontaktleiste { display: none; }
@media (max-width: 900px) {
  .kontaktleiste {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px;
    padding: 8px max(12px, env(safe-area-inset-left, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-right, 0px));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--linie);
    box-shadow: 0 -6px 20px rgba(11, 36, 71, 0.08);
  }
  .kontaktleiste a {
    min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 6px;
    border: 1px solid var(--linie); border-radius: 10px; color: var(--text); font-weight: 700; font-size: 14px;
  }
  .kontaktleiste a.kontaktleiste-haupt { background: var(--blau); border-color: var(--blau); color: var(--weiss); }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- So funktioniert's ---------- */
.ablauf h2 { margin-bottom: 36px; }
.schritte {
  list-style: none; margin: 0 0 36px; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
  counter-reset: schritt;
}
.schritt { position: relative; padding: 24px; border: 1px solid var(--linie); border-radius: 14px; background: var(--weiss); }
.schritt:not(:last-child)::after {
  content: ""; position: absolute; top: 48px; right: -21px; width: 22px; height: 2px; background: var(--rahmen-feld);
}
.schritt-symbol { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #E8EFFA; color: var(--blau); margin-bottom: 16px; }
.schritt-nr { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--gold); text-transform: uppercase; margin-bottom: 4px; }
.schritt h3 { font-size: 19px; margin-bottom: 8px; }
.schritt p { margin: 0; color: var(--text-gedaempft); font-size: 15px; }
@media (max-width: 960px) {
  .schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .schritt::after { display: none; }
}
@media (max-width: 560px) {
  .schritte { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Warum Graz ---------- */
.graz { background: var(--nachtblau); color: #C9D6EA; }
.graz h2 { color: var(--weiss); font-size: 38px; margin-bottom: 14px; }
.graz .dachzeile { color: var(--hellblau); }
.graz .einleitung { color: #C9D6EA; }
.graz-zahlen { list-style: none; margin: 40px 0 24px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.graz-zahlen li { border-top: 2px solid var(--gold); padding-top: 16px; display: grid; gap: 6px; }
.graz-zahlen strong { font-family: var(--schrift-titel); font-size: 36px; font-weight: 600; color: var(--weiss); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.graz-zahlen span { font-size: 15px; }
.graz-quelle { margin: 0; font-size: 13px; color: #9FB0CC; }
.graz-quelle a { color: var(--hellblau); }
@media (max-width: 900px) { .graz-zahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .graz-zahlen { grid-template-columns: minmax(0, 1fr); } .graz h2 { font-size: 28px; } }

/* ---------- Häufige Fragen ---------- */
.fragen-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 48px; align-items: start; }
.faq-liste { display: grid; gap: 10px; }
.faq-eintrag { border: 1px solid var(--linie); border-radius: 12px; background: var(--weiss); }
.faq-eintrag summary {
  list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; position: relative;
  font-weight: 700; color: var(--ueberschrift); min-height: 44px;
}
.faq-eintrag summary::-webkit-details-marker { display: none; }
.faq-eintrag summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--blau); border-bottom: 2px solid var(--blau);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.2s;
}
.faq-eintrag[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-eintrag p { margin: 0; padding: 0 20px 20px; color: var(--text-gedaempft); }
@media (max-width: 900px) { .fragen-raster { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* ---------- Kennzeichen, Projekt, Musterrechnung ---------- */
.objekt-bild { position: relative; }
.kennzeichen {
  display: inline-block; padding: 4px 10px; border-radius: 6px;
  font-family: var(--schrift-text); font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; vertical-align: middle;
}
.objekt-bild .kennzeichen { position: absolute; top: 12px; left: 12px; }
.kennzeichen-neu { background: var(--gold); color: var(--weiss); }
.kennzeichen-reserviert { background: var(--ueberschrift); color: var(--weiss); }
.objekt-box-preis .kennzeichen { font-size: 11px; margin-left: 6px; }
.objekt-box-expose { text-align: center; font-weight: 700; font-size: 15px; padding: 6px 0; }

.projekt-box {
  display: grid; gap: 2px; margin: 0 0 32px; padding: 18px 20px;
  border: 1px solid var(--linie); border-radius: 12px;
  background: linear-gradient(90deg, var(--gold-hell), var(--weiss) 60%); color: var(--text);
}
.projekt-box:hover { color: var(--text); border-color: var(--gold); }
.projekt-box-marke { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #7A5718; }
.projekt-box strong { font-family: var(--schrift-titel); font-size: 20px; color: var(--ueberschrift); }
.projekt-box span:last-child { font-size: 15px; color: var(--blau); font-weight: 600; }

.musterrechnung { margin-top: 40px; }
.tabelle-rahmen { overflow-x: auto; border: 1px solid var(--linie); border-radius: 12px; }
.musterrechnung table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.musterrechnung th, .musterrechnung td { padding: 12px 16px; border-bottom: 1px solid var(--linie); text-align: left; }
.musterrechnung tr:last-child th, .musterrechnung tr:last-child td { border-bottom: 0; }
.musterrechnung th { font-weight: 500; color: var(--text-gedaempft); }
.musterrechnung td { text-align: right; font-weight: 800; color: var(--ueberschrift); white-space: nowrap; }

.projekt-kopf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.projekt-text { margin: 16px 0 0; max-width: 60ch; }
.projekt-bild { margin: 0; }
.projekt-bild img { border-radius: 14px; box-shadow: 0 16px 40px rgba(11, 36, 71, 0.12); }
.projekt-bild figcaption { margin-top: 8px; font-size: 13px; color: var(--text-gedaempft); }
.projekt-fakten { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.projekt-fakten li { border-top: 2px solid var(--gold); padding-top: 12px; display: grid; gap: 4px; }
.projekt-fakten strong { font-family: var(--schrift-titel); font-size: 22px; color: var(--ueberschrift); font-variant-numeric: tabular-nums; }
.projekt-fakten span { font-size: 14px; color: var(--text-gedaempft); }
.projekt-ueberschrift { font-size: 28px; margin-bottom: 24px; }
.projekt-liste { margin-bottom: 48px; }
.projekt-liste .objekt { max-width: calc((100% - 48px) / 3); }
@media (max-width: 900px) {
  .projekt-kopf { grid-template-columns: minmax(0, 1fr); }
  .projekt-fakten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .projekt-liste .objekt { max-width: none; }
}

/* Logo B: Rendite-Haus */
.lb-haus, .lb-linie, .lb-pfeil { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.lb-haus { stroke: var(--nachtblau); stroke-width: 3.4; }
.lb-linie { stroke: var(--blau); stroke-width: 3.6; }
.lb-pfeil { stroke: var(--gold); stroke-width: 3.6; }
.fuss .lb-haus { stroke: var(--weiss); }
.fuss .lb-linie { stroke: var(--hellblau); }

/* ---------- Renditerechner ---------- */
.rechner-raster { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.rechner-eingaben { background: var(--grund-karte); border-radius: 14px; padding: 28px; display: grid; gap: 22px; }
.rechner-eingaben h2, .rechner-mehr h2 { font-size: 24px; }
.r-feld { display: grid; gap: 10px; border: 0; margin: 0; padding: 0; min-width: 0; }
.r-feld label, .r-feld legend { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; color: var(--text-nav); font-size: 15px; padding: 0; }
.r-feld output { font-family: var(--schrift-titel); color: var(--ueberschrift); font-variant-numeric: tabular-nums; }
.r-feld input[type="range"] { width: 100%; accent-color: var(--blau); height: 28px; }
.r-satz { display: flex; flex-wrap: wrap; gap: 10px; }
.r-satz legend { width: 100%; margin-bottom: 10px; }
.r-satz label {
  flex: 1 1 140px; justify-content: center; align-items: center; min-height: 48px; gap: 8px;
  border: 1px solid var(--rahmen-feld); border-radius: 10px; background: var(--weiss); cursor: pointer;
}
.r-satz label:has(input:checked) { border-color: var(--blau); background: #E8EFFA; color: var(--blau); }
.r-satz input { accent-color: var(--blau); width: 18px; height: 18px; margin: 0; }
.r-zahlen { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.r-zahl { display: flex; align-items: center; border: 1px solid var(--rahmen-feld); border-radius: 8px; background: var(--weiss); overflow: hidden; }
.r-zahl input { flex: 1; min-width: 0; min-height: 46px; border: 0; padding: 0 12px; font: inherit; font-size: 16px; font-weight: 600; color: var(--text); background: transparent; }
.r-zahl input:focus { outline: none; }
.r-zahl:focus-within { outline: 3px solid var(--hellblau); border-color: var(--blau); }
.r-zahl span { padding: 0 12px; color: var(--text-gedaempft); font-size: 14px; white-space: nowrap; }
.r-hinweis { font-size: 12px; color: var(--text-gedaempft); line-height: 1.4; }

.rechner-ergebnis {
  position: sticky; top: 96px; display: grid; gap: 16px; padding: 28px; border-radius: 14px;
  border: 1px solid var(--linie); background: var(--weiss); box-shadow: 0 16px 40px rgba(11, 36, 71, 0.08);
}
.r-haupt { background: var(--nachtblau); color: #C9D6EA; border-radius: 12px; padding: 22px; }
.r-haupt p { margin: 0; }
.r-haupt-zahl { font-family: var(--schrift-titel); font-size: 40px; font-weight: 600; color: var(--weiss); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.r-haupt.negativ .r-haupt-zahl { color: #F3C9A0; }
.r-fakten dd { font-variant-numeric: tabular-nums; }
.rechner-ergebnis .btn { width: 100%; }
.r-klein { margin: 0; text-align: center; font-size: 13px; color: var(--text-gedaempft); }

.rechner-mehr { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: start; padding-top: 0; }
.rechner-mehr h2 { margin-bottom: 16px; }
.verlauf-tabelle { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 15px; }
.verlauf-tabelle th, .verlauf-tabelle td { padding: 11px 14px; border-bottom: 1px solid var(--linie); text-align: right; white-space: nowrap; }
.verlauf-tabelle thead th { font-size: 13px; color: var(--text-gedaempft); font-weight: 700; background: var(--grund-karte); }
.verlauf-tabelle th[scope="row"], .verlauf-tabelle thead th:first-child { text-align: left; }
.verlauf-tabelle tbody th { font-weight: 600; color: var(--text-nav); }
.verlauf-tabelle td.pos { color: #1F6B3A; font-weight: 800; }
.verlauf-tabelle td.neg { color: #A3471A; font-weight: 800; }
.verlauf-tabelle tr:last-child th, .verlauf-tabelle tr:last-child td { border-bottom: 0; }
.r-liste { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }

/* Startseiten-Hinweis auf den Rechner */
.rechner-teaser .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding-top: 40px; padding-bottom: 40px;
}
.rechner-teaser { background: var(--grund-hell); }
.rechner-teaser h2 { font-size: 30px; margin-bottom: 6px; }
.rechner-teaser p { margin: 0; color: var(--text-gedaempft); max-width: 60ch; }

@media (max-width: 960px) {
  .rechner-raster, .rechner-mehr { grid-template-columns: minmax(0, 1fr); }
  .rechner-ergebnis { position: static; }
}
@media (max-width: 560px) {
  .rechner-eingaben, .rechner-ergebnis { padding: 20px; }
  .r-zahlen { grid-template-columns: minmax(0, 1fr); }
  .r-haupt-zahl { font-size: 32px; }
  .rechner-teaser h2 { font-size: 24px; }
  .rechner-teaser .btn { width: 100%; }
}

.hauptmenue ul { gap: 20px; }
.hauptmenue a { white-space: nowrap; }
.logo-text { font-size: 21px; }
@media (max-width: 1100px) { .hauptmenue ul { gap: 0; } }

/* ---------- Ergänzungen für die automatisch erzeugten Seiten (onOffice-Import am Server) ---------- */
.objekt-status {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--nachtblau);
  color: var(--weiss);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 6px;
}
.objekt-status-box { position: static; align-self: flex-start; }
.untertitel { margin: 14px 0 0; font-size: 19px; font-weight: 600; color: var(--text-nav); max-width: 780px; }
.status-hinweis {
  margin: 32px 0 0;
  padding: 16px 20px;
  border-radius: 10px;
  background: #FFF4E5;
  color: #7A4B00;
  font-weight: 600;
}
.objekt-text { max-width: 72ch; }
.objekt-haupt h3.zwischentitel {
  font-family: var(--schrift-titel);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ueberschrift);
  margin: 28px 0 8px;
}
.objekt-text a { word-break: break-word; }
.galerie-haupt-link { display: block; }
.galerie-vorschau {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  background: none;
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 1;
}
.galerie-vorschau img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.galerie-vorschau.aktiv { border-color: var(--blau); }
.galerie-vorschau .foto-ersatz { min-height: 0; height: 100%; font-size: 10px; letter-spacing: 0.04em; }
.objekt-box-anbieter { margin: 0; font-size: 14px; color: var(--text-gedaempft); text-align: center; }
.anfrage {
  margin-top: 56px;
  padding: 32px;
  border-radius: 14px;
  background: var(--grund-karte);
  scroll-margin-top: 96px;
}
.objekt-haupt .anfrage h2 { margin-top: 0; }
.anfrage-einleitung { color: var(--text-gedaempft); }
.feld-reihe { display: flex; flex-wrap: wrap; gap: 16px; }
.feld-reihe .feld { flex: 1 1 180px; }
.haken { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text-nav); }
.haken input { margin-top: 5px; width: 18px; height: 18px; flex: none; accent-color: var(--blau); }
.anfrage-meldung { margin: 0; padding: 12px 16px; border-radius: 8px; background: #E7F5EC; color: #145A32; font-weight: 600; }
.anfrage-meldung.fehler { background: #FDECEA; color: #8A1F11; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mehr-laden { display: flex; justify-content: center; margin-top: 32px; }
.mehr-laden .btn[hidden] { display: none; }
.regionstext { margin-top: 48px; }
.regionen { margin-top: 56px; }
.regionen h2 { font-size: 24px; margin-bottom: 16px; }
.regionen ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.regionen li { background: var(--grund-karte); border-radius: 8px; padding: 8px 14px; font-weight: 600; }
.regionen li span { color: var(--text-gedaempft); font-weight: 500; }
.aehnliche { padding-top: 0; }
@media (max-width: 640px) {
  .anfrage { padding: 20px; margin-left: calc(var(--rand) * -1); margin-right: calc(var(--rand) * -1); border-radius: 0; }
  .untertitel { font-size: 17px; }
}

/* ---------- Überschriften: engerer Zeilenabstand, wenn sie umbrechen ---------- */
h1, h2, h3 { line-height: 1.2; }
.objekt-haupt h2 { line-height: 1.25; }
.graz-zahlen strong { overflow-wrap: anywhere; }
@media (max-width: 900px) { .graz-zahlen strong { font-size: 30px; } }

/* ---------- Einheitliche Überschriften (eine Skala für alle Seiten) ----------
   Startseite H1 52 · Unterseiten H1 40 · Abschnitt H2 34 · Inhalt H2 24 · Karten/Schritte H3 18 · Zwischentitel im Text 17 (wie Fließtext, fett) */
body .start-text h1 { font-size: 52px; line-height: 1.1; }
body .seitenkopf h1 { font-size: 40px; line-height: 1.15; }

body .abschnitt h2, body .paket h2, body .beratung h2, body .graz h2, body .fragen h2,
body .rechner-teaser h2, body .projekt-ueberschrift { font-size: 34px; line-height: 1.18; }

body .inhalt h2, body .cta-box h2, body .objekt-haupt h2, body .anfrage-form h2, body .rechner-eingaben h2,
body .rechner-mehr h2, body .regionen h2 { font-size: 24px; line-height: 1.25; }

body .objekt h3, body .schritt h3, body .karte-liste h3 { font-size: 18px; line-height: 1.3; }

body .objekt-haupt h3, body .objekt-haupt h3.zwischentitel {
  font-family: var(--schrift-text);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--ueberschrift);
  margin: 24px 0 6px;
}

@media (max-width: 640px) {
  body .start-text h1 { font-size: 34px; }
  body .seitenkopf h1 { font-size: 30px; }
  body .abschnitt h2, body .paket h2, body .beratung h2, body .graz h2, body .fragen h2,
  body .rechner-teaser h2, body .projekt-ueberschrift { font-size: 26px; }
  body .inhalt h2, body .cta-box h2, body .objekt-haupt h2, body .anfrage-form h2, body .rechner-eingaben h2,
  body .rechner-mehr h2, body .regionen h2 { font-size: 21px; }
  body .objekt h3, body .schritt h3, body .karte-liste h3 { font-size: 17px; }
  body .objekt-haupt h3, body .objekt-haupt h3.zwischentitel { font-size: 16px; }
}

/* ---------- Startseite: Logo-Kachel und Portal-Überschrift (nur Blautöne) ---------- */
.hero-kopf { display: grid; grid-template-columns: 72px 1fr; column-gap: 24px; align-items: center; max-width: 760px; }
.hero-logo { width: 72px; height: 72px; border-radius: 18px; background: var(--weiss); border: 1px solid var(--linie); box-shadow: 0 8px 22px rgba(11, 36, 71, 0.08); display: grid; place-items: center; }
.hero-logo .logo-zeichen { width: 44px; height: 44px; }
.hero-logo .lb-pfeil { stroke: var(--blau); }
body .start-text .hero-titel h1 { font-size: 36px; line-height: 1.15; letter-spacing: -0.025em; margin: 0; max-width: none; }
.hero-titel h1 .nb { white-space: nowrap; }
.hero-kopf .start-unterzeile { margin: 8px 0 0; font-family: var(--schrift-text); font-size: 18px; font-weight: 600; color: var(--text-gedaempft); letter-spacing: 0; }
body .start-text .hero-kopf .einleitung { grid-column: 2; margin: 18px 0 0; font-size: 16px; max-width: 560px; color: var(--text-gedaempft); }
@media (max-width: 640px) {
  .hero-kopf { grid-template-columns: 52px 1fr; column-gap: 14px; }
  .hero-logo { width: 52px; height: 52px; border-radius: 14px; }
  .hero-logo .logo-zeichen { width: 32px; height: 32px; }
  body .start-text .hero-titel h1 { font-size: 24px; }
  .hero-kopf .start-unterzeile { font-size: 15px; margin-top: 6px; }
  body .start-text .hero-kopf .einleitung { grid-column: 1 / -1; font-size: 15px; margin-top: 16px; }
}

/* ---------- Wohnungsliste: Schnellauswahl „7 % Rendite“ (nur Blautöne) ---------- */
.schnellfilter { margin: -4px 0 18px; }
.schnellfilter[hidden] { display: none; }
.filter-chip { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 10px 8px 16px; border: 1.5px solid var(--blau); border-radius: 999px; background: var(--weiss); color: var(--blau); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: background 0.15s ease, color 0.15s ease; }
.filter-chip:hover { background: #E8EFFA; }
.filter-chip .chip-zahl { min-width: 28px; padding: 2px 8px; border-radius: 999px; background: #E8EFFA; color: var(--blau); font-size: 13px; text-align: center; }
.filter-chip[aria-pressed="true"] { background: var(--blau); color: var(--weiss); }
.filter-chip[aria-pressed="true"] .chip-zahl { background: rgba(255, 255, 255, 0.2); color: var(--weiss); }
.filter-chip:focus-visible { outline: 3px solid var(--hellblau); outline-offset: 2px; }
@media (max-width: 640px) { .filter-chip { width: 100%; justify-content: center; font-size: 14px; } }
