/* Heimatmakler Murnau – Gestaltung
   Grundlage: Logo (Berglinien mit Spiegelung im See) und CI-Farben der Anzeigen.
   Schrift: DM Sans (lokal eingebunden, keine Verbindung zu Google). */

@font-face { font-family: "DM Sans"; src: url("../fonts/dmsans-var.woff") format("woff"); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dmsans-var-italic.woff") format("woff"); font-weight: 100 1000; font-style: italic; font-display: swap; }

:root {
  --tief: #09242d;        /* Seetiefe – dunkle Flächen, Kopf der Startseite, Fußbereich */
  --tief-2: #143c48;      /* Bergschatten – Flächen auf Dunkel */
  --tuerkis: #48aec0;     /* Föhnblau – Akzent auf dunklem Grund */
  --petrol: #1e6e73;      /* CI-Petrol – Buttons und Links auf hellem Grund */
  --petrol-2: #165559;
  --nebel: #eef4f5;       /* helle Flächen */
  --nebel-2: #e1ebed;
  --papier: #ffffff;
  --tinte: #13282f;
  --tinte-2: #4a5d63;
  --tinte-3: #6e8085;
  --linie: #d3dfe1;
  --linie-2: #b9cbce;
  --fehler: #a33a2f;
  --ok: #2c6e49;

  --schrift: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --breite: 1180px;
  --text: 42.5rem;        /* Lesebreite ca. 68 Zeichen */
  --rand: clamp(16px, 4vw, 32px);
  --r-klein: 4px;
  --r: 8px;
  --abstand: clamp(56px, 8vw, 104px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
body.hm {
  margin: 0; background: var(--papier); color: var(--tinte);
  font-family: var(--schrift); font-size: 1.0625rem; line-height: 1.65; font-optical-sizing: auto;
  font-variation-settings: "opsz" 14; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
@media (min-width: 900px) { body.hm { font-size: 1.125rem; } }
.hm img, .hm video { max-width: 100%; height: auto; display: block; }
.hm figure { margin: 0; }
.hm a { color: var(--petrol); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.hm a:hover { color: var(--petrol-2); }
.hm :focus-visible { outline: 3px solid var(--tuerkis); outline-offset: 2px; border-radius: 2px; }
:where(.hm) p { margin: 0 0 1em; }
.hm h1, .hm h2, .hm h3, .hm h4 { color: var(--tinte); margin: 0 0 0.5em; line-height: 1.15; font-weight: 700; letter-spacing: -0.015em; font-variation-settings: "opsz" 40; text-wrap: balance; }
.hm h1 { font-size: clamp(2.05rem, 1.4rem + 3vw, 3.5rem); letter-spacing: -0.025em; line-height: 1.06; }
.hm h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem); }
.hm h3 { font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem); letter-spacing: -0.01em; font-variation-settings: "opsz" 24; }
.hm strong { font-weight: 650; }
.hm small { font-size: 0.875rem; }
.hm-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hm-skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--tief); color: #fff !important; padding: 10px 16px; border-radius: var(--r); text-decoration: none; }
.hm-skip:focus { top: 12px; }
.hm-wrap { width: 100%; max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand); }
.hm-schmal { max-width: var(--text); }
@media (prefers-reduced-motion: reduce) { .hm *, .hm *::before, .hm *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Buttons ---------- */
.hm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55em; min-height: 50px; padding: 0.7em 1.35em; border-radius: var(--r); border: 1.5px solid transparent; font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.hm a.hm-btn--primaer, .hm .hm-btn--primaer { background: var(--petrol); color: #fff; }
.hm a.hm-btn--primaer:hover, .hm .hm-btn--primaer:hover { background: var(--petrol-2); color: #fff; }
.hm a.hm-btn--rand, .hm .hm-btn--rand { border-color: var(--linie-2); color: var(--tinte); background: transparent; }
.hm a.hm-btn--rand:hover, .hm .hm-btn--rand:hover { border-color: var(--petrol); color: var(--petrol); }
.hm a.hm-btn--hell, .hm .hm-btn--hell { background: #fff; color: var(--tief); }
.hm a.hm-btn--hell:hover, .hm .hm-btn--hell:hover { background: var(--nebel); color: var(--tief); }
.hm a.hm-btn--dunkelrand, .hm .hm-btn--dunkelrand { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.hm a.hm-btn--dunkelrand:hover, .hm .hm-btn--dunkelrand:hover { border-color: #fff; color: #fff; }
.hm-btn svg { width: 18px; height: 18px; flex: none; }
.hm-aktionen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 520px) { .hm-aktionen .hm-btn { width: 100%; } }

/* ---------- Kopfbereich ---------- */
.hm-kopf { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid transparent; transition: border-color .2s; }
.admin-bar .hm-kopf { top: 32px; }
@media (max-width: 782px) { .admin-bar .hm-kopf { top: 0; } }
.hm-kopf.ist-gescrollt { border-bottom-color: var(--linie); }
.hm-kopf__innen { display: flex; align-items: center; gap: 24px; min-height: 78px; }
.hm-logo { display: block; flex: none; line-height: 0; }
.hm .hm-logo img { height: 60px; width: auto; }
@media (max-width: 899px) { .hm .hm-logo img { height: 48px; } .hm-kopf__innen { min-height: 66px; } }
.hm-nav { margin-left: auto; }
.hm-nav__liste { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; align-items: center; }
.hm-nav__punkt { position: relative; }
.hm-nav__link, .hm-nav__knopf { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: var(--r-klein); color: var(--tinte); text-decoration: none; font: inherit; font-size: 0.98rem; font-weight: 550; background: none; border: 0; cursor: pointer; white-space: nowrap; }
.hm a.hm-nav__link { color: var(--tinte); }
.hm-nav__link:hover, .hm-nav__knopf:hover, .hm-nav__punkt.ist-offen > .hm-nav__knopf { color: var(--petrol); background: var(--nebel); }
.hm-nav__link[aria-current="page"] { color: var(--petrol); }
.hm-nav__knopf svg { width: 12px; height: 12px; transition: transform .15s; }
.hm-nav__punkt.ist-offen > .hm-nav__knopf svg { transform: rotate(180deg); }
.hm-nav__panel { position: absolute; top: calc(100% + 6px); left: -8px; min-width: 300px; background: #fff; border: 1px solid var(--linie); border-radius: var(--r); padding: 10px; box-shadow: 0 14px 34px -14px rgba(9,36,45,.28); display: none; }
.hm-nav__punkt.ist-offen > .hm-nav__panel { display: block; }
.hm-nav__panel ul { list-style: none; margin: 0; padding: 0; }
.hm-nav__panel a { display: block; padding: 9px 12px; border-radius: var(--r-klein); color: var(--tinte); text-decoration: none; font-size: 0.97rem; line-height: 1.35; }
.hm-nav__panel a span { display: block; color: var(--tinte-3); font-size: 0.84rem; margin-top: 2px; }
.hm-nav__panel a:hover { background: var(--nebel); color: var(--petrol); }
.hm-kopf__tel { display: inline-flex; align-items: center; gap: 8px; color: var(--tinte); text-decoration: none; font-weight: 650; font-size: 0.98rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hm a.hm-kopf__tel { color: var(--tinte); }
.hm-kopf__tel svg { width: 18px; height: 18px; color: var(--petrol); }
.hm-kopf .hm-btn { min-height: 44px; padding: 0.55em 1.1em; font-size: 0.95rem; }
.hm-menue-knopf { display: none; margin-left: auto; width: 46px; height: 46px; border: 1.5px solid var(--linie-2); border-radius: var(--r); background: #fff; color: var(--tinte); cursor: pointer; align-items: center; justify-content: center; }
.hm-menue-knopf svg { width: 22px; height: 22px; }
@media (max-width: 1099px) {
  .hm-nav, .hm-kopf .hm-btn--primaer { display: none; }
  .hm-menue-knopf { display: inline-flex; margin-left: 12px; }
  .hm-kopf__tel { margin-left: auto; }
}
@media (max-width: 420px) { .hm-kopf__tel span { display: none; } .hm-kopf__tel { width: 46px; height: 46px; justify-content: center; border: 1.5px solid var(--linie-2); border-radius: var(--r); } }
/* Mobiles Menü */
.hm-schublade { position: fixed; inset: 0; z-index: 100; background: #fff; display: none; flex-direction: column; overflow-y: auto; }
.hm-schublade.ist-offen { display: flex; }
.hm-schublade__kopf { display: flex; align-items: center; justify-content: space-between; padding: 10px var(--rand); border-bottom: 1px solid var(--linie); min-height: 66px; }
.hm-schublade__zu { width: 46px; height: 46px; border: 1.5px solid var(--linie-2); border-radius: var(--r); background: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--tinte); }
.hm-schublade nav { padding: 8px var(--rand) 24px; }
.hm-schublade h2 { font-size: 0.92rem; font-weight: 650; color: var(--tinte-3); margin: 22px 0 6px; letter-spacing: 0; }
.hm-schublade ul { list-style: none; margin: 0; padding: 0; }
.hm-schublade li a { display: block; padding: 11px 0; border-bottom: 1px solid var(--nebel-2); color: var(--tinte); text-decoration: none; font-size: 1.08rem; font-weight: 550; }
.hm-schublade__fuss { margin-top: auto; padding: 18px var(--rand) 28px; background: var(--nebel); display: grid; gap: 10px; }

/* ---------- Panorama (Berglinie mit Spiegelung, aus dem Logo abgeleitet) ---------- */
.hm-panorama { display: block; width: 100%; height: auto; }
.hm-panorama--berg { color: rgba(255,255,255,.55); margin-top: clamp(28px, 5vw, 56px); }
.hm-panorama--spiegel { color: var(--petrol); opacity: .55; margin-bottom: -8px; }
.hm-spiegel { background: var(--papier); line-height: 0; }

/* ---------- Startseite: Kopf ---------- */
.hm-buehne { background: var(--tief); color: #e8f1f3; padding-top: clamp(36px, 6vw, 72px); overflow: hidden; }
.hm-buehne a:not(.hm-btn) { color: #fff; }
.hm-buehne__raster { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.hm-buehne h1 { color: #fff; max-width: 15ch; }
.hm-buehne__lead { font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem); line-height: 1.55; color: #cfe1e5; max-width: 34em; margin-top: 18px; }
.hm-buehne__fakten { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 34px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.16); color: #bcd3d8; font-size: 0.97rem; }
.hm-buehne__fakten div { display: flex; gap: 8px; align-items: baseline; }
.hm-buehne__fakten dt { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.hm-buehne__fakten dd { margin: 0; }
.hm-buehne__hinweis { margin-top: 14px; font-size: 0.95rem; color: #a9c4ca; }
.hm-buehne__bild { position: relative; align-self: end; justify-self: end; width: 100%; max-width: 470px; }
.hm-buehne__bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: var(--r) var(--r) 0 0; }
.hm-buehne__bild figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(9,36,45,.82); color: #fff; font-size: 0.86rem; padding: 6px 10px; border-radius: var(--r-klein); line-height: 1.3; }
.hm-buehne__unten { position: relative; z-index: 0; }
.hm-buehne__unten .hm-panorama--berg { margin-top: 0; }
@media (min-width: 900px) {
  .hm-buehne__bild { z-index: 1; margin-bottom: calc(-10.5vw - 1px); }
  .hm-buehne__bild img { border-radius: var(--r) var(--r) 0 0; }
  .hm-buehne__text { padding-bottom: clamp(24px, 3vw, 48px); }
}
@media (max-width: 899px) {
  .hm-buehne__raster { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hm-buehne__bild { justify-self: center; max-width: 300px; z-index: 1; margin-bottom: calc(-10.5vw - 1px); }
  .hm-buehne__bild img { aspect-ratio: 4 / 5; }
  .hm-buehne__fakten { display: grid; gap: 6px; }
  .hm-buehne__fakten div { display: block; }
  .hm-buehne__fakten dt, .hm-buehne__fakten dd { display: inline; }
  .hm-buehne__fakten dt::after { content: " "; }
}

/* ---------- Abschnitte ---------- */
.hm-abschnitt { padding: var(--abstand) 0; }
.hm-abschnitt--nebel { background: var(--nebel); }
.hm-abschnitt--dunkel { background: var(--tief); color: #dbe8eb; }
.hm-abschnitt--dunkel h2, .hm-abschnitt--dunkel h3 { color: #fff; }
.hm-abschnitt--dunkel a:not(.hm-btn) { color: #fff; }
.hm-abschnitt--eng { padding: clamp(40px, 6vw, 72px) 0; }
.hm-abschnitt__kopf { max-width: 44rem; margin-bottom: clamp(28px, 4vw, 48px); }
.hm-abschnitt__kopf p { color: var(--tinte-2); font-size: 1.08em; margin: 0; }
.hm-abschnitt--dunkel .hm-abschnitt__kopf p { color: #bcd3d8; }
.hm-zweispaltig { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (max-width: 899px) { .hm-zweispaltig { grid-template-columns: minmax(0, 1fr); } }

/* Anlässe (Liste statt Karten) */
.hm-anlaesse { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linie); }
.hm-anlaesse li { border-bottom: 1px solid var(--linie); }
.hm-anlaesse a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 20px; padding: 20px 0; text-decoration: none; color: var(--tinte); }
.hm-anlaesse a strong { font-size: 1.14rem; font-weight: 700; letter-spacing: -0.01em; }
.hm-anlaesse a span { grid-column: 1; color: var(--tinte-2); font-size: 0.98rem; line-height: 1.5; }
.hm-anlaesse a svg { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 22px; height: 22px; color: var(--petrol); transition: transform .15s; }
.hm-anlaesse a:hover strong { color: var(--petrol); }
.hm-anlaesse a:hover svg { transform: translateX(3px); }
.hm-bildtext { margin: 0; }
.hm-bildtext img { width: 100%; border-radius: var(--r); object-fit: cover; }
.hm-bildtext figcaption { font-size: 0.9rem; color: var(--tinte-3); margin-top: 10px; }
.hm-zitat { margin: 28px 0 0; padding: 0 0 0 18px; border-left: 3px solid var(--petrol); color: var(--tinte); font-size: 1.12rem; line-height: 1.5; }
.hm-zitat p { margin: 0 0 6px; }
.hm-zitat footer { color: var(--tinte-3); font-size: 0.92rem; }

/* Ablauf (echte Schrittfolge) */
.hm-ablauf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: schritt; border-top: 2px solid var(--tief); }
.hm-ablauf li { counter-increment: schritt; padding: 22px 22px 8px 0; position: relative; }
.hm-ablauf li::before { content: counter(schritt); display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--tief); color: #fff; font-weight: 700; font-size: 0.95rem; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.hm-ablauf h3 { font-size: 1.12rem; margin-bottom: 6px; }
.hm-ablauf p { color: var(--tinte-2); font-size: 0.97rem; line-height: 1.55; margin: 0; }
@media (max-width: 999px) { .hm-ablauf { grid-template-columns: minmax(0, 1fr); border-top: 0; } .hm-ablauf li { padding: 0 0 26px 52px; } .hm-ablauf li::before { position: absolute; left: 0; top: 0; } .hm-ablauf li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 40px; bottom: 4px; width: 2px; background: var(--linie); } }

/* Tabellen */
.hm-tabelle { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 0.98rem; }
.hm-tabelle caption { text-align: left; color: var(--tinte-3); font-size: 0.9rem; caption-side: bottom; padding-top: 10px; }
.hm-tabelle th, .hm-tabelle td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--linie); vertical-align: top; }
.hm-tabelle thead th { font-size: 0.88rem; font-weight: 650; color: var(--tinte-2); border-bottom: 2px solid var(--tinte); }
.hm-tabelle td.zahl, .hm-tabelle th.zahl { text-align: right; white-space: nowrap; padding-right: 32px; padding-left: 8px; }
.hm-tabelle-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.hm-marktwerte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0 0 32px; border: 1px solid var(--linie); border-radius: var(--r); background: #fff; }
.hm-marktwerte div { padding: 18px 20px; border-right: 1px solid var(--linie); }
.hm-marktwerte div:last-child { border-right: 0; }
.hm-marktwerte dt { font-size: 0.9rem; color: var(--tinte-2); }
.hm-marktwerte dd { margin: 4px 0 0; font-size: 1.5rem; font-weight: 700; color: var(--tinte); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.hm-marktwerte dd small { font-size: 0.9rem; font-weight: 500; color: var(--tinte-2); }
@media (max-width: 640px) { .hm-marktwerte { grid-template-columns: minmax(0, 1fr); } .hm-marktwerte div { border-right: 0; border-bottom: 1px solid var(--linie); } .hm-marktwerte div:last-child { border-bottom: 0; } }
.hm-quelle, .hm p.hm-quelle { font-size: 0.88rem; color: var(--tinte-3); margin: 14px 0 0; }

/* Werkzeuge (Wertrechner, Erbschaftsteuer) */
.hm-werkzeug { background: #fff; border: 1px solid var(--linie); border-radius: var(--r); padding: clamp(20px, 3vw, 32px); }
.hm-werkzeug h3 { margin-bottom: 4px; }
.hm-werkzeug > p { color: var(--tinte-2); font-size: 0.97rem; }
.hm-felder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; margin-top: 18px; }
.hm-felder .ganz { grid-column: 1 / -1; }
@media (max-width: 560px) { .hm-felder { grid-template-columns: minmax(0, 1fr); } }
.hm-feld label, .hm-feld .hm-feld__titel { display: block; font-size: 0.92rem; font-weight: 600; margin-bottom: 6px; color: var(--tinte); }
.hm-feld input[type=text], .hm-feld input[type=email], .hm-feld input[type=tel], .hm-feld input[type=number], .hm-feld select, .hm-feld textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid var(--linie-2); border-radius: var(--r-klein); background: #fff; color: var(--tinte); font: inherit; font-size: 1rem; }
.hm-feld textarea { min-height: 130px; resize: vertical; }
.hm-feld input:focus, .hm-feld select:focus, .hm-feld textarea:focus { border-color: var(--petrol); outline: none; box-shadow: 0 0 0 3px rgba(72,174,192,.35); }
.hm-feld__hilfe { font-size: 0.85rem; color: var(--tinte-3); margin-top: 4px; }
.hm-einwilligung { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--tinte-2); line-height: 1.45; }
.hm-einwilligung input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--petrol); }
.hm-formular__fehler { display: none; color: var(--fehler); font-size: 0.95rem; margin-top: 12px; }
.hm-formular__fehler.ist-sichtbar { display: block; }
.hm-formular__danke { display: none; padding: 22px; border-radius: var(--r); background: var(--nebel); }
.hm-formular__danke.ist-sichtbar { display: block; }
.hm-formular__danke h3 { margin-bottom: 6px; }
.hm-ergebnis { display: none; margin-top: 20px; padding: 20px; border-radius: var(--r); background: var(--tief); color: #dbe8eb; }
.hm-ergebnis.ist-sichtbar { display: block; }
.hm-ergebnis__wert { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; margin: 4px 0 8px; }
.hm-ergebnis p { margin: 0 0 8px; font-size: 0.95rem; }
.hm-ergebnis a { color: #fff; }
.hm-ergebnis dl { display: grid; grid-template-columns: auto auto; gap: 4px 16px; margin: 10px 0 0; font-size: 0.93rem; }
.hm-ergebnis dt { color: #a9c4ca; }
.hm-ergebnis dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; color: #fff; }

/* Referenzen */
.hm-referenzen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
@media (max-width: 999px) { .hm-referenzen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .hm-referenzen { grid-template-columns: minmax(0, 1fr); } }
.hm-referenz { margin: 0; }
.hm-referenz a { color: inherit; text-decoration: none; display: block; }
.hm-referenz__bild { position: relative; }
.hm-referenz img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.hm-referenz__status { position: absolute; top: 10px; left: 10px; background: #fff; color: var(--tinte); font-size: 0.8rem; font-weight: 650; padding: 4px 9px; border-radius: 999px; }
.hm-referenz__status.ist-aktuell { background: var(--tief); color: #fff; }
.hm-referenz figcaption { padding-top: 12px; }
.hm-referenz figcaption strong { display: block; font-size: 1.05rem; line-height: 1.3; }
.hm-referenz figcaption span { color: var(--tinte-2); font-size: 0.93rem; }
.hm-referenz a:hover strong { color: var(--petrol); }

/* Person */
.hm-person { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hm-person__bild img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 25%; border-radius: var(--r); }
.hm-person__liste { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; }
.hm-person__liste li { padding-left: 26px; position: relative; color: var(--tinte-2); }
.hm-person__liste li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 12px; height: 2px; background: var(--petrol); }
@media (max-width: 799px) { .hm-person { grid-template-columns: minmax(0, 1fr); } .hm-person__bild { max-width: 320px; } }

/* Artikel-Listen */
.hm-artikelliste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 40px); }
@media (max-width: 899px) { .hm-artikelliste { grid-template-columns: minmax(0, 1fr); } }
.hm-artikelliste li { border-top: 1px solid var(--linie); }
.hm-artikelliste a { display: block; padding: 18px 0 22px; text-decoration: none; color: var(--tinte); }
.hm-artikelliste a strong { display: block; font-size: 1.1rem; line-height: 1.3; margin-bottom: 6px; letter-spacing: -0.01em; }
.hm-artikelliste a span { display: block; color: var(--tinte-2); font-size: 0.95rem; line-height: 1.5; }
.hm-artikelliste a em { display: block; font-style: normal; color: var(--tinte-3); font-size: 0.85rem; margin-top: 8px; }
.hm-artikelliste a:hover strong { color: var(--petrol); }
.hm-mehr, .hm p.hm-mehr { margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hm-textlink { font-weight: 650; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }

/* FAQ */
.hm-faq { border-top: 1px solid var(--linie); max-width: 50rem; }
.hm-faq details { border-bottom: 1px solid var(--linie); }
.hm-faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-weight: 650; font-size: 1.08rem; line-height: 1.4; }
.hm-faq summary::-webkit-details-marker { display: none; }
.hm-faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--petrol), var(--petrol)) center / 14px 2px no-repeat, linear-gradient(var(--petrol), var(--petrol)) center / 2px 14px no-repeat; transition: transform .15s; }
.hm-faq details[open] summary::after { transform: rotate(45deg); }
.hm-faq details > div { padding: 0 0 20px; color: var(--tinte-2); max-width: 44rem; }
.hm-faq details > div p:last-child { margin-bottom: 0; }

/* Kontakt */
.hm-kontakt { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 899px) { .hm-kontakt { grid-template-columns: minmax(0, 1fr); } }
.hm-kontakt__person { display: flex; gap: 18px; align-items: center; margin: 4px 0 26px; }
.hm-kontakt__person img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: center 20%; flex: none; }
.hm-kontakt__person p { margin: 0; color: var(--tinte-2); font-size: 0.97rem; line-height: 1.45; }
.hm-kontakt__person strong { display: block; color: var(--tinte); font-size: 1.05rem; }
.hm-kontaktwege { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linie); }
.hm-kontaktwege li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--linie); }
.hm-kontaktwege svg { width: 20px; height: 20px; color: var(--petrol); margin-top: 3px; }
.hm-kontaktwege span { display: block; font-size: 0.85rem; color: var(--tinte-3); }
.hm-kontaktwege a { color: var(--tinte); font-weight: 650; text-decoration: none; }
.hm-kontaktwege a:hover { color: var(--petrol); }
.hm-abschnitt--dunkel .hm-kontaktwege, .hm-abschnitt--dunkel .hm-kontaktwege li { border-color: rgba(255,255,255,.14); }
.hm-abschnitt--dunkel .hm-kontaktwege a { color: #fff; }
.hm-abschnitt--dunkel .hm-kontaktwege span { color: #9fbac0; }
.hm-abschnitt--dunkel .hm-kontaktwege svg { color: var(--tuerkis); }

/* ---------- Fußbereich ---------- */
.hm-fuss { background: var(--tief); color: #b8cfd4; font-size: 0.95rem; }
.hm-fuss a { color: #e3eef0; text-decoration: none; }
.hm-fuss a:hover { color: #fff; text-decoration: underline; }
.hm-fuss .hm-panorama--berg { color: rgba(72,174,192,.6); margin-top: 0; }
.hm-fuss__raster { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 36px; padding: 40px 0 44px; }
@media (max-width: 999px) { .hm-fuss__raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .hm-fuss__raster { grid-template-columns: minmax(0, 1fr); } }
.hm-fuss h2 { color: #fff; font-size: 1rem; font-weight: 650; margin: 0 0 12px; letter-spacing: 0; }
.hm-fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.hm .hm-fuss__logo { filter: brightness(0) invert(1); opacity: .92; height: 76px; width: auto; margin-bottom: 18px; }
.hm-fuss address { font-style: normal; line-height: 1.6; }
.hm-fuss__orte { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; font-size: 0.9rem; }
.hm-fuss__orte ul { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.hm-fuss__unten { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0 26px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 0.88rem; color: #8fabb1; }
.hm-fuss__unten ul { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 899px) { .hm-fuss { padding-bottom: 72px; } }

/* Mobile Aktionsleiste */
.hm-mobilleiste { display: none; }
@media (max-width: 899px) {
  .hm-mobilleiste { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--linie); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .hm-mobilleiste .hm-btn { min-height: 46px; font-size: 0.97rem; padding: 0.5em 0.8em; }
}

/* ---------- Unterseiten ---------- */
.hm-pfad { font-size: 0.9rem; color: var(--tinte-3); padding: 18px 0 0; }
.hm-pfad ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.hm-pfad li:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--linie-2); }
.hm-pfad a { color: var(--tinte-2); text-decoration: none; }
.hm-pfad a:hover { color: var(--petrol); text-decoration: underline; }
.hm-seitenkopf { padding: clamp(24px, 4vw, 48px) 0 clamp(28px, 4vw, 52px); }
.hm-seitenkopf--nebel { background: var(--nebel); }
.hm-seitenkopf h1 { max-width: 22ch; }
.hm-seitenkopf__lead { font-size: clamp(1.08rem, 1rem + 0.35vw, 1.25rem); color: var(--tinte-2); max-width: 40em; margin: 14px 0 0; line-height: 1.55; }
.hm-seitenkopf__raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.hm-seitenkopf__raster img { width: 100%; border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 899px) { .hm-seitenkopf__raster { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Artikel ---------- */
.hm-artikel__kopf { padding: clamp(18px, 3vw, 36px) 0 0; }
.hm-artikel__kopf h1 { font-size: clamp(1.95rem, 1.35rem + 2.4vw, 3rem); max-width: 24ch; }
.hm-artikel__meta { color: var(--tinte-3); font-size: 0.93rem; margin: 10px 0 0; }
.hm-artikel__meta a { color: var(--tinte-2); }
.hm-artikel__bild { margin: clamp(22px, 3vw, 36px) 0 0; }
.hm-artikel__bild img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--r); }
.hm-artikel__raster { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); align-items: start; padding-top: clamp(28px, 4vw, 48px); padding-bottom: var(--abstand); }
@media (max-width: 999px) { .hm-artikel__raster { grid-template-columns: minmax(0, 1fr); } }
.hm-artikel__haupt { max-width: var(--text); min-width: 0; }
.hm-kurz { background: var(--nebel); border-radius: var(--r); padding: 20px 22px 8px; margin: 0 0 30px; }
.hm-kurz h2 { font-size: 1.02rem; margin: 0 0 10px; letter-spacing: 0; }
.hm-kurz ul { margin: 0; padding: 0 0 0 0; list-style: none; }
.hm-kurz li { position: relative; padding: 0 0 12px 24px; line-height: 1.5; }
.hm-kurz li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 10px; height: 10px; border: 2px solid var(--petrol); border-radius: 50%; }
.hm-inhalt { margin: 0 0 30px; border: 1px solid var(--linie); border-radius: var(--r); }
.hm-inhalt summary { cursor: pointer; padding: 14px 18px; font-weight: 650; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.hm-inhalt summary::-webkit-details-marker { display: none; }
.hm-inhalt summary::after { content: "+"; font-size: 1.3rem; color: var(--petrol); line-height: 1; }
.hm-inhalt[open] summary::after { content: "–"; }
.hm-inhalt ol { margin: 0; padding: 0 18px 16px 38px; }
.hm-inhalt li { padding: 3px 0; font-size: 0.97rem; }
.hm-inhalt a { color: var(--tinte); text-decoration: none; }
.hm-inhalt a:hover { color: var(--petrol); text-decoration: underline; }

/* Fließtext */
.hm-text > *:first-child { margin-top: 0; }
.hm-text h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); margin: 1.9em 0 0.55em; }
.hm-text h3 { margin: 1.6em 0 0.45em; }
.hm-text ul, .hm-text ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.hm-text li { margin: 0 0 0.45em; padding-left: 0.2em; }
.hm-text li::marker { color: var(--petrol); }
.hm-text blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--petrol); font-size: 1.1em; color: var(--tinte); }
.hm-text table { width: 100%; border-collapse: collapse; margin: 1.4em 0 1.8em; font-size: 0.95rem; font-variant-numeric: tabular-nums; display: block; overflow-x: auto; }
.hm-text thead th { text-align: left; font-weight: 650; border-bottom: 2px solid var(--tinte); padding: 10px 14px 10px 0; vertical-align: bottom; }
.hm-text td { border-bottom: 1px solid var(--linie); padding: 10px 14px 10px 0; vertical-align: top; }
.hm-text aside { margin: 1.6em 0; padding: 18px 20px 4px; border-radius: var(--r); background: var(--nebel); border-left: 4px solid var(--petrol); }
.hm-text aside > strong:first-child { display: block; margin-bottom: 6px; }
.hm-text aside.achtung { border-left-color: #b9852b; background: #fbf5ea; }
.hm-text aside.beispiel { border-left-color: var(--tief); background: #f3f6f7; }
.hm-text a { font-weight: 550; }
.hm-text .hm-werkzeug { margin: 1.8em 0 2em; }
.hm-text .hm-werkzeug a { font-weight: inherit; }
.hm-autor { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; align-items: center; padding: 22px 0; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); margin-top: 40px; }
.hm-autor img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.hm-autor p { margin: 0; font-size: 0.95rem; color: var(--tinte-2); line-height: 1.5; }
.hm-autor strong { color: var(--tinte); }
.hm-seitenleiste { position: sticky; top: 104px; display: grid; gap: 20px; }
.hm-karte { border: 1px solid var(--linie); border-radius: var(--r); padding: 20px; background: #fff; }
.hm-karte--dunkel { background: var(--tief); border-color: var(--tief); color: #cfe1e5; }
.hm-karte--dunkel h2, .hm-karte--dunkel h3 { color: #fff; }
.hm-karte h2 { font-size: 1.1rem; margin-bottom: 8px; letter-spacing: 0; }
.hm-karte p { font-size: 0.95rem; }
.hm-karte .hm-btn { width: 100%; margin-top: 8px; }
.hm-karte__person { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.hm-karte__person img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.hm-karte__person strong { display: block; color: #fff; }
.hm-karte__person span { font-size: 0.88rem; color: #a9c4ca; }
@media (max-width: 999px) { .hm-seitenleiste { position: static; } }

/* Ortsseiten */
.hm-ortkopf { background: var(--nebel); padding: 0 0 clamp(32px, 5vw, 56px); }
.hm-ortkopf__raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 5vw, 64px); align-items: center; padding-top: clamp(20px, 3vw, 40px); }
@media (max-width: 899px) { .hm-ortkopf__raster { grid-template-columns: minmax(0, 1fr); } }
.hm-ortkopf .hm-text { font-size: 1.08em; color: var(--tinte-2); margin-top: 14px; }
.hm-lage { background: #fff; border: 1px solid var(--linie); border-radius: var(--r); padding: 18px; }
.hm-lage svg { width: 100%; height: auto; display: block; }
.hm-lage dl { margin: 14px 0 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; font-size: 0.94rem; }
.hm-lage dt { color: var(--tinte-3); }
.hm-lage dd { margin: 0; color: var(--tinte); font-weight: 550; }
.hm-nachbarn { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.hm-nachbarn a { display: inline-block; padding: 9px 14px; border: 1.5px solid var(--linie-2); border-radius: 999px; text-decoration: none; color: var(--tinte); font-size: 0.95rem; font-weight: 550; }
.hm-nachbarn a:hover { border-color: var(--petrol); color: var(--petrol); }

/* Arbeitsgebiet */
.hm-karte-gebiet { background: #fff; border: 1px solid var(--linie); border-radius: var(--r); padding: 12px; }
.hm-karte-gebiet svg { width: 100%; height: auto; display: block; }
.hm-karte-gebiet a { cursor: pointer; }
.hm-karte-gebiet a:hover circle, .hm-karte-gebiet a:focus circle { fill: var(--petrol); }
.hm-gebiet { columns: 3 15rem; column-gap: 40px; }
.hm-gebiet section { break-inside: avoid; margin: 0 0 28px; }
.hm-gebiet h2 { font-size: 1.12rem; margin: 0 0 8px; letter-spacing: 0; }
.hm-gebiet ul { list-style: none; margin: 0; padding: 0; }
.hm-gebiet li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--nebel-2); font-size: 0.96rem; }
.hm-gebiet li span { color: var(--tinte-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hm-gebiet a { text-decoration: none; color: var(--tinte); }
.hm-gebiet a:hover { color: var(--petrol); text-decoration: underline; }

/* Ratgeber-Übersicht */
.hm-themen { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.hm-themen a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--linie-2); color: var(--tinte); text-decoration: none; font-size: 0.95rem; font-weight: 550; }
.hm-themen a:hover { border-color: var(--petrol); color: var(--petrol); }
.hm-filter { max-width: 34rem; margin-bottom: 8px; }
.hm-filter input { width: 100%; min-height: 50px; padding: 10px 14px 10px 42px; border: 1.5px solid var(--linie-2); border-radius: var(--r); font: inherit; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%234a5d63' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 14px center; }
.hm-filter input:focus { border-color: var(--petrol); outline: none; box-shadow: 0 0 0 3px rgba(72,174,192,.35); }
.hm-thema { margin-top: clamp(36px, 5vw, 60px); }
.hm-thema h2 { font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.75rem); }
.hm-thema__hinweis { color: var(--tinte-2); }
.hm-thema__hinweis[hidden] { display: none; }
.hm-thema[hidden], .hm-artikelliste li[hidden] { display: none; }
.hm-thema:first-of-type { margin-top: 0; }
.hm-artikelliste--thema a em { display: none; }
.hm-anlaesse--zwei { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 56px); border-top: 0; }
.hm-anlaesse--zwei li { border-top: 1px solid var(--linie); border-bottom: 0; }
@media (max-width: 760px) { .hm-anlaesse--zwei { grid-template-columns: minmax(0, 1fr); } }

/* Exposé */
.hm-expose__titelbild img { width: 100%; height: clamp(280px, 52vw, 620px); object-fit: cover; }
.hm-expose__kopf { padding: clamp(24px, 4vw, 44px) 0; border-bottom: 1px solid var(--linie); }
.hm-expose__kopf h1 { max-width: 20ch; }
.hm-expose__kopf p { color: var(--tinte-2); font-size: 1.1rem; max-width: 40em; }
.hm-eckdaten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 24px 0 0; border-top: 2px solid var(--tief); }
.hm-eckdaten div { padding: 14px 16px 0 0; }
.hm-eckdaten dt { color: var(--tinte-3); font-size: 0.88rem; }
.hm-eckdaten dd { margin: 2px 0 0; font-size: 1.45rem; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .hm-eckdaten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hm-galerie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hm-galerie a { display: block; }
.hm-galerie img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-klein); }
.hm-galerie--grundriss img { aspect-ratio: auto; object-fit: contain; background: #fff; border: 1px solid var(--linie); }
@media (max-width: 640px) { .hm-galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hm-wohnung { border-top: 1px solid var(--linie); padding: 26px 0; }
.hm-wohnung__kopf { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; align-items: baseline; margin-bottom: 10px; }
.hm-wohnung__kopf h3 { margin: 0; }
.hm-wohnung__daten { color: var(--tinte-2); font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.hm-wohnung .hm-galerie { margin-top: 16px; }
.hm-video video { width: 100%; border-radius: var(--r); background: #000; }
.hm-kleingedruckt { font-size: 0.88rem; color: var(--tinte-3); }
.hm-lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(9,36,45,.94); display: none; align-items: center; justify-content: center; padding: 24px; }
.hm-lightbox.ist-offen { display: flex; }
.hm-lightbox img { max-height: 88vh; width: auto; max-width: 100%; border-radius: var(--r-klein); }
.hm-lightbox button { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--tief); font-size: 1.4rem; cursor: pointer; }

/* ---------- Feste Seiten ---------- */
/* Zusagen, Punkte mit kurzer Erklärung (zweispaltig, Linien statt Karten) */
.hm-punkte { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); margin: 0; }
.hm-punkte > div { border-top: 1px solid var(--linie); padding: 18px 0 22px; }
.hm-punkte dt { font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; margin-bottom: 4px; color: var(--tinte); }
.hm-punkte dd { margin: 0; color: var(--tinte-2); }
.hm-punkte--eins { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 760px) { .hm-punkte { grid-template-columns: minmax(0, 1fr); } }
.hm-abschnitt--dunkel .hm-punkte > div { border-color: rgba(255,255,255,.16); }
.hm-abschnitt--dunkel .hm-punkte dt { color: #fff; }
.hm-abschnitt--dunkel .hm-punkte dd { color: #bcd3d8; }

/* Leistungen nach Phasen */
.hm-phasen { margin: 0; border-top: 2px solid var(--tief); }
.hm-phase { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 8px clamp(24px, 4vw, 64px); padding: 26px 0 24px; border-bottom: 1px solid var(--linie); }
.hm-phase h3 { margin: 0 0 4px; }
.hm-phase > div > p { margin: 0; color: var(--tinte-2); font-size: 0.97rem; }
.hm-phase ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hm-phase li { position: relative; padding-left: 30px; line-height: 1.5; }
.hm-phase li svg { position: absolute; left: 0; top: 0.2em; width: 18px; height: 18px; color: var(--petrol); }
@media (max-width: 760px) { .hm-phase { grid-template-columns: minmax(0, 1fr); } }

/* Hinweis- und Beispielkasten außerhalb des Fließtexts */
.hm-kasten { border-radius: var(--r); background: var(--nebel); padding: 20px 22px; border-left: 4px solid var(--petrol); }
.hm-kasten > :last-child { margin-bottom: 0; }
.hm-kasten > strong:first-child { display: block; margin-bottom: 6px; }
.hm-abschnitt--nebel .hm-kasten { background: #fff; }

/* Angebote */
.hm-angebote { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
@media (max-width: 799px) { .hm-angebote { grid-template-columns: minmax(0, 1fr); } }
.hm-angebot { margin: 0; }
.hm-angebot a { display: block; color: inherit; text-decoration: none; }
.hm-angebot img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
.hm-angebot__text { padding-top: 16px; }
.hm-angebot__text h3 { margin: 0 0 6px; }
.hm-angebot a:hover h3 { color: var(--petrol); }
.hm-angebot__daten { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0 0 10px; color: var(--tinte-2); font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.hm-angebot__daten div { display: flex; gap: 6px; }
.hm-angebot__daten dt { color: var(--tinte-3); }
.hm-angebot__daten dd { margin: 0; color: var(--tinte); font-weight: 600; }
.hm-angebot__text p { color: var(--tinte-2); margin: 0 0 10px; }
.hm-angebot .hm-textlink { color: var(--petrol); }

/* Vermittelte Objekte als Fallbeschreibung */
.hm-faelle { display: grid; gap: 0; border-top: 1px solid var(--linie); }
.hm-fall { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(20px, 4vw, 56px); padding: 26px 0; border-bottom: 1px solid var(--linie); align-items: start; }
.hm-fall img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.hm-fall h3 { margin: 0 0 8px; }
.hm-fall dl { margin: 0; display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 8px 16px; }
.hm-fall dt { color: var(--tinte-3); font-size: 0.93rem; padding-top: 2px; }
.hm-fall dd { margin: 0; color: var(--tinte-2); }
@media (max-width: 760px) { .hm-fall { grid-template-columns: minmax(0, 1fr); } .hm-fall dl { grid-template-columns: minmax(0, 1fr); gap: 2px; } .hm-fall dd { margin-bottom: 8px; } }

/* Lagen für Käufer */
.hm-lagen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
.hm-lagen li { border-top: 1px solid var(--linie); padding: 16px 0 18px; }
.hm-lagen strong { display: flex; justify-content: space-between; gap: 12px; font-size: 1.08rem; }
.hm-lagen strong span { font-weight: 600; color: var(--petrol); font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 0.98rem; }
.hm-lagen p { margin: 4px 0 0; color: var(--tinte-2); font-size: 0.97rem; }
@media (max-width: 760px) { .hm-lagen { grid-template-columns: minmax(0, 1fr); } }

/* Kontaktseite */
.hm-kontaktseite { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 899px) { .hm-kontaktseite { grid-template-columns: minmax(0, 1fr); } }
.hm-kontaktseite .hm-kontaktwege li { padding: 16px 0; }
.hm-kontaktseite .hm-kontaktwege a { font-size: 1.1rem; }
.hm-kontaktseite .hm-kontaktwege p { margin: 2px 0 0; color: var(--tinte-2); font-size: 0.93rem; }
.hm-ablauf--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 40px); border-top: 0; }
.hm-ablauf--3 li { border-top: 2px solid var(--tief); padding-right: 0; }
@media (max-width: 999px) { .hm-ablauf--3 { grid-template-columns: minmax(0, 1fr); } .hm-ablauf--3 li { border-top: 0; } }
.hm-ablauf--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 999px) { .hm-ablauf--4 { grid-template-columns: minmax(0, 1fr); } }
.hm-punkte--drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 899px) { .hm-punkte--drei { grid-template-columns: minmax(0, 1fr); } }
.hm-referenzen--drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 999px) { .hm-referenzen--drei { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .hm-referenzen--drei { grid-template-columns: minmax(0, 1fr); } }
.hm-tabelle tbody th { font-weight: 650; color: var(--tinte); white-space: nowrap; }

/* Erbschaftsteuer-Tabellen */
.hm-tabelle--kompakt th, .hm-tabelle--kompakt td { padding-top: 9px; padding-bottom: 9px; }

/* Rechtstexte */
.hm-recht h2 { font-size: 1.3rem; margin-top: 1.8em; }
.hm-recht h3 { font-size: 1.08rem; margin-top: 1.4em; }
.hm-recht p, .hm-recht li { color: var(--tinte); }
.hm-recht address { font-style: normal; margin: 0 0 1em; }

/* 404 */
.hm-fehlerseite { padding: var(--abstand) 0; }
.hm-fehlerseite form { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0 30px; }
.hm-fehlerseite input[type=search] { flex: 1 1 260px; min-height: 50px; padding: 10px 14px; border: 1.5px solid var(--linie-2); border-radius: var(--r); font: inherit; }

/* Hinweis zu Statistik und Werbung */
.hm-hinweis { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 560px; margin-left: auto; background: #fff; border: 1px solid var(--linie); border-radius: var(--r); box-shadow: 0 18px 40px -18px rgba(9,36,45,.35); padding: 18px 20px; font-size: 0.95rem; color: var(--tinte); }
.hm-hinweis[hidden] { display: none; }
.hm-hinweis p { margin: 0 0 14px; line-height: 1.5; }
.hm-hinweis__knoepfe { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.hm-hinweis .hm-btn { min-height: 44px; padding: 0.5em 1.1em; font-size: 0.95rem; }
@media (max-width: 899px) { .hm-hinweis { bottom: 78px; left: 10px; right: 10px; } }
.hm-linkknopf { background: none; border: 0; padding: 0; font: inherit; color: #e3eef0; cursor: pointer; text-align: left; }
.hm-linkknopf:hover { color: #fff; text-decoration: underline; }
.hm-fuss li[hidden] { display: none; }

/* Druck */
@media print {
  .hm-kopf, .hm-fuss, .hm-mobilleiste, .hm-seitenleiste, .hm-werkzeug, .hm-panorama, .hm-hinweis { display: none !important; }
  body.hm { font-size: 11pt; }
  .hm a { color: inherit; text-decoration: none; }
}
