/* heizkosten.css — „Eine Heizung, 24 Rechnungen.“ Gestaltung „Hausfassade“: heller Grund, Ziegelrot und
   Schiefergrau-Blau als Hausfarben, Hauptbild ist die Fassade aus Fensterfeldern. Schriften lokal: Jost (Text),
   Anybody (Überschriften und Zahlen). */

@font-face { font-family: "Jost"; src: url("../../schrift/muster/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../../schrift/muster/jost-latin-500-normal.woff2") format("woff2"); font-weight: 500 900; font-display: swap; }
@font-face { font-family: "Anybody"; src: url("../../schrift/muster/anybody-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root, :root[data-theme="light"] {
  color-scheme: light;
  --flaeche-0: #f7f9fb;
  --flaeche-1: #ffffff;
  --flaeche-2: #e8eef4;
  --linie: #c9d4de;
  --raster: #e3e9ef;
  --text-1: #15222d;
  --text-2: #3f5466;
  --text-3: #5d7286;
  --ziegel: #b23d27;
  --ziegel-dunkel: #8a2b19;
  --ziegel-hell: #f7dcd3;
  --schiefer: #34536e;
  --schiefer-dunkel: #1f3547;
  --schiefer-hell: #dbe5ee;
  --akzent: var(--ziegel);
  --akzent-text: #9a3220;
  /* Reihen: Heizung nach Zähler, Warmwasser nach Zähler, Heizung nach Fläche, Warmwasser nach Fläche */
  --s1: #b23d27; --s2: #2f6694; --s3: #ec9c84; --s4: #94b9d8; --s5: #d08a1f; --s6: #4b7a3a; --s7: #34536e; --s8: #6c4f8f;
  /* eine Farbe hell → dunkel: Ziegelrot */
  --q1: #fbe6df; --q2: #f6c4b4; --q3: #ee9a80; --q4: #df6c4f; --q5: #c4462d; --q6: #94301e; --q7: #5f1d12;
  --gut-text: #2c6a1f; --kritisch-text: #a32b18;
  --schatten: 0 1px 2px rgb(21 34 45 / .06), 0 10px 26px -14px rgb(21 34 45 / .22);
}

html, body { overflow-x: clip; }
body { font-family: "Jost", system-ui, sans-serif; font-size: 16.5px; background: var(--flaeche-0); }
h1, h2, h3, .hk-zahl-gross, .kz-wert { font-family: "Anybody", "Jost", system-ui, sans-serif; text-wrap: balance; }
.a-kopf { background: color-mix(in srgb, var(--flaeche-0) 94%, transparent); border-bottom: 3px solid var(--ziegel); }
.a-kopf .a-name { font-family: "Anybody", sans-serif; font-weight: 700; letter-spacing: .01em; color: var(--schiefer-dunkel); }
.hk-druck-knopf { min-height: 40px; }
@media (max-width: 520px) { .hk-druck-knopf { display: none; } .a-kopf .a-name { font-size: 14px; } }
:focus-visible { outline: 3px solid var(--schiefer); outline-offset: 2px; }
.knopf { border-radius: 4px; background: var(--ziegel); }
.knopf:hover { background: var(--ziegel-dunkel); filter: none; }
.knopf.leise { background: var(--flaeche-1); color: var(--schiefer-dunkel); border-color: var(--schiefer); }
.knopf.leise:hover { background: var(--schiefer-hell); }
.knopf { white-space: nowrap; }
.knopf:active, .hk-feld:active, .wahl button:active, .hk-fall button:active { transform: translateY(1px); }

/* ---------- Kopf ---------- */
.hk-titel { padding: 44px 0 22px; }
.hk-titel h1 { font-weight: 800; font-size: clamp(32px, 5vw, 64px); letter-spacing: -.025em; line-height: 1; color: var(--schiefer-dunkel); max-width: 16ch; }
.hk-titel h1 span { color: var(--ziegel); }
.hk-titel > p { font-size: 18px; color: var(--text-2); max-width: 58ch; }
.a-schild { background: var(--schiefer-hell); color: var(--schiefer-dunkel); border-radius: 4px; }
.a-schild i { background: var(--ziegel); }
.ablage { border-radius: 6px; border-color: var(--schiefer); border-width: 1.5px; background: var(--flaeche-1); }
.ablage svg { color: var(--ziegel); }
.vorlage-satz { display: block; margin-top: 4px; }
.hk-hinweis { margin: -14px 0 24px; padding: 10px 14px; border-left: 4px solid var(--schiefer); background: var(--schiefer-hell); color: var(--schiefer-dunkel); font-size: 14.5px; border-radius: 0 4px 4px 0; }

/* ---------- Abschnitte und Karten ---------- */
.abschnitt { margin-top: 56px; }
.abschnitt > h2, .hk-haus-kopf h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 760; letter-spacing: -.015em; color: var(--schiefer-dunkel); margin: 0 0 4px; }
.unter { color: var(--text-2); }
.karte { border-radius: 6px; border-color: var(--linie); }
.karte-kopf h2 { font-family: "Anybody", sans-serif; font-weight: 700; font-size: 16.5px; color: var(--schiefer-dunkel); }
.karte-kopf .tabelle-knopf { border-radius: 4px; }
.einsicht b { color: var(--schiefer-dunkel); }
.legende i { border-radius: 2px; }

/* ---------- Fassade ---------- */
.hk-haus-bereich { margin-top: 8px; }
.hk-haus-kopf { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: flex-end; justify-content: space-between; margin-bottom: 14px; }
.hk-haus-kopf .unter { margin: 0; max-width: 62ch; }
.wahl { border-radius: 6px; background: var(--schiefer-hell); flex-wrap: wrap; }
.wahl button { border-radius: 4px; color: var(--schiefer-dunkel); }
.wahl button[aria-pressed="true"] { background: var(--schiefer); color: #fff; box-shadow: none; }
.hk-fassade-karte { padding: 22px 22px 16px; background: linear-gradient(var(--flaeche-1), var(--flaeche-1)); }
.hk-fassade-karte .karte-kopf { margin-bottom: 4px; }
.hk-fassade-karte .karte-kopf p { font-size: 13.5px; }
.hk-fassade-huelle { position: relative; overflow-x: auto; overflow-y: hidden; padding-bottom: 4px; }
.hk-haus { --feld: minmax(58px, 1fr); --zeile: 74px; --zgap: 10px; --zpad: 12px; --treppe: 16px; position: relative; display: grid; gap: 0; min-width: min-content; margin: 0 auto; max-width: 1100px; }
.hk-dach { grid-column: 2 / -1; height: clamp(34px, 5vw, 64px); background: var(--schiefer); clip-path: polygon(3% 100%, 9% 0, 91% 0, 97% 100%); margin: 0 -10px; position: relative; }
.hk-dach::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: 0; height: 6px; background: var(--schiefer-dunkel); }
.hk-wand { grid-column: 2 / -1; display: grid; gap: 0; background: var(--ziegel-hell); border: 0 solid var(--ziegel); border-width: 0 6px; }
.hk-stiege { display: grid; gap: var(--zgap) 8px; padding: var(--zpad) 10px; position: relative; }
.hk-stiege + .hk-stiege { box-shadow: inset 6px 0 0 var(--ziegel); padding-left: 16px; }
.hk-stiegenhaus { background: var(--schiefer); border-radius: 3px 3px 0 0; position: relative; align-self: stretch; }
.hk-stiegenhaus.tuer::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 0; height: 64%; background: var(--schiefer-dunkel); border-radius: 40% 40% 0 0 / 22% 22% 0 0; }
.hk-gesch { grid-column: 1; display: flex; align-items: center; justify-content: flex-end; padding-right: 10px; font-size: 12.5px; color: var(--text-3); white-space: nowrap; }
.hk-sockel { grid-column: 2 / -1; background: var(--schiefer-dunkel); color: #e6edf3; font-size: 12px; padding: 4px 12px; display: grid; }
.hk-sockel span { text-align: center; font-weight: 500; letter-spacing: .03em; }
.hk-feld {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 2px;
  min-height: 0; padding: 7px 8px 6px; min-width: 0; overflow: hidden; border-radius: 3px; border: 2px solid rgb(21 34 45 / .14);
  font: inherit; text-align: left; cursor: pointer; color: var(--text-1); background: var(--q1);
  box-shadow: inset 0 -5px 0 rgb(21 34 45 / .14);
  transition: transform .15s ease, box-shadow .15s ease;
}
.hk-feld:hover { transform: translateY(-2px); box-shadow: inset 0 -5px 0 rgb(21 34 45 / .14), 0 6px 14px -8px rgb(21 34 45 / .5); }
.hk-feld.dunkel { color: #fff; }
.hk-feld[aria-pressed="true"] { border-color: var(--schiefer-dunkel); outline: 3px solid var(--schiefer-dunkel); outline-offset: 2px; z-index: 1; }
.hk-feld .f-top { font-size: 12px; font-weight: 500; opacity: .85; line-height: 1.1; }
.hk-feld .f-wert { font-family: "Anybody", sans-serif; font-weight: 750; font-size: 20px; line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.hk-feld .f-wert small { font-family: "Jost", sans-serif; font-weight: 500; font-size: 11px; margin-left: 2px; opacity: .8; }
.hk-feld .f-marke { align-self: flex-start; font-size: 10.5px; font-weight: 600; line-height: 1; padding: 3px 5px; border-radius: 2px; background: var(--flaeche-1); color: var(--kritisch-text); border: 1px solid currentColor; white-space: nowrap; }
.hk-feld .f-marke.leise { color: var(--schiefer-dunkel); }
.hk-feld.geschaetzt { background-image: repeating-linear-gradient(135deg, transparent 0 7px, rgb(255 255 255 / .38) 7px 11px); }
.hk-feld.leer-feld { background: var(--flaeche-2); color: var(--text-3); }
.hk-stiege-name { text-align: center; font-size: 12.5px; color: var(--text-2); padding-top: 6px; font-weight: 500; }
.hk-skala { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; font-size: 13px; color: var(--text-2); }
.hk-skala .stufen { display: flex; gap: 2px; }
.hk-skala .stufen i { width: 26px; height: 12px; border-radius: 2px; }
.hk-skala .schraffur { width: 26px; height: 12px; border-radius: 2px; background: var(--q3) repeating-linear-gradient(135deg, transparent 0 4px, rgb(255 255 255 / .5) 4px 7px); display: inline-block; vertical-align: -2px; }
@media (max-width: 720px) {
  .hk-fassade-karte { padding: 14px 10px 12px; }
  .hk-haus { --feld: minmax(38px, 1fr); --zeile: 58px; --zgap: 6px; --zpad: 8px; --treppe: 7px; }
  .hk-stiege { gap: var(--zgap) 3px; padding: var(--zpad) 3px; }
  .hk-stiege + .hk-stiege { padding-left: 8px; box-shadow: inset 4px 0 0 var(--ziegel); }
  .hk-wand { border-width: 0 3px; }
  .hk-gesch { font-size: 10.5px; padding-right: 5px; }
  .hk-feld { padding: 4px 3px 4px; border-width: 1.5px; }
  .hk-feld .f-top { font-size: 9.5px; }
  .hk-feld .f-wert { font-size: 14px; }
  .hk-feld .f-wert small { display: none; }
  .hk-feld .f-marke { font-size: 8px; padding: 1px 2px; letter-spacing: -.02em; max-width: 100%; overflow: hidden; }
  .hk-sockel, .hk-stiege-name { font-size: 10.5px; }
}

/* ---------- Kennzahlen als Leiste ---------- */
.hk-leiste { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 12px 0 0; background: var(--schiefer-dunkel); color: #fff; border-radius: 6px; overflow: hidden; }
.hk-leiste > div { padding: 12px 16px 14px; border-left: 1px solid rgb(255 255 255 / .16); min-width: 0; }
.hk-leiste > div:first-child { border-left: 0; }
.hk-leiste dt { font-size: 12.5px; color: #c4d3e0; margin: 0; }
.hk-leiste dd { margin: 2px 0 0; font-family: "Anybody", sans-serif; font-weight: 750; font-size: clamp(19px, 1.9vw, 25px); line-height: 1.15; font-variant-numeric: tabular-nums; }
.hk-leiste dd small { font-family: "Jost", sans-serif; font-weight: 500; font-size: 12.5px; color: #c4d3e0; margin-left: 3px; }
.hk-leiste .neben { display: block; font-family: "Jost", sans-serif; font-weight: 400; font-size: 12px; color: #c4d3e0; margin-top: 1px; }
@media (max-width: 1020px) { .hk-leiste { grid-template-columns: repeat(3, minmax(0, 1fr)); } .hk-leiste > div:nth-child(4) { border-left: 0; } .hk-leiste > div:nth-child(n+4) { border-top: 1px solid rgb(255 255 255 / .16); } }
@media (max-width: 520px) { .hk-leiste { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hk-leiste > div { padding: 10px 12px 12px; } .hk-leiste > div:nth-child(odd) { border-left: 0; } .hk-leiste > div:nth-child(4) { border-left: 1px solid rgb(255 255 255 / .16); } .hk-leiste > div:nth-child(n+3) { border-top: 1px solid rgb(255 255 255 / .16); } }

/* ---------- Wohnung im Detail ---------- */
.hk-detail { margin-top: 12px; background: var(--flaeche-1); border: 1px solid var(--linie); border-top: 6px solid var(--ziegel); border-radius: 6px; padding: 18px 20px 18px; }
.hk-detail-kopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 14px; }
.hk-detail-kopf h3 { margin: 0; font-size: 24px; font-weight: 780; color: var(--schiefer-dunkel); letter-spacing: -.01em; }
.hk-detail-kopf p { margin: 0; color: var(--text-2); }
.hk-detail-gitter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1.3fr); gap: 20px 28px; }
@media (max-width: 1020px) { .hk-detail-gitter { grid-template-columns: 1fr 1fr; } .hk-detail-gitter > :last-child { grid-column: 1 / -1; } }
@media (max-width: 620px) { .hk-detail-gitter { grid-template-columns: 1fr; } .hk-detail { padding: 14px 14px 16px; } }
.hk-detail h4 { margin: 0 0 8px; font-size: 13px; font-weight: 500; color: var(--text-3); text-transform: none; }
.hk-werte { margin: 0; display: grid; grid-template-columns: auto auto; gap: 5px 14px; font-size: 14.5px; }
.hk-werte dt { color: var(--text-2); }
.hk-werte dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; font-weight: 500; }
.hk-werte dd.stark { font-family: "Anybody", sans-serif; font-weight: 750; color: var(--schiefer-dunkel); }
.hk-stapel { display: flex; height: 18px; border-radius: 3px; overflow: hidden; background: var(--flaeche-2); margin: 2px 0 10px; }
.hk-stapel i { display: block; height: 100%; }
.hk-stapel i + i { box-shadow: inset 2px 0 0 var(--flaeche-1); }
.hk-meldungen { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.hk-meldungen li { font-size: 14px; color: var(--text-2); padding-left: 0; }
.hk-meldungen .status { margin-right: 6px; }
.hk-monat-mini .dia { margin-top: 2px; }

/* ---------- Regler ---------- */
.hk-regler { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 14px; }
.hk-regler-eng { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.hk-regler-eng label { display: grid; gap: 4px; font-size: 13.5px; color: var(--text-2); }
@media (max-width: 820px) { .hk-regler { grid-template-columns: 1fr; } }
.hk-feld-gruppe { margin: 0; border: 1px solid var(--linie); border-radius: 6px; background: var(--flaeche-1); padding: 12px 16px 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; min-width: 0; }
.hk-feld-gruppe legend { font-family: "Anybody", sans-serif; font-weight: 700; font-size: 14px; color: var(--schiefer-dunkel); padding: 0 6px; }
.hk-feld-gruppe label { display: grid; gap: 4px; font-size: 13.5px; color: var(--text-2); min-width: 0; }
@media (max-width: 520px) { .hk-feld-gruppe { grid-template-columns: 1fr; } }
.hk-zahl { min-height: 42px; width: 100%; max-width: 220px; padding: 0 10px; border: 1px solid var(--linie); border-radius: 4px; background: var(--flaeche-0); color: var(--text-1); font: inherit; font-size: 16px; font-variant-numeric: tabular-nums; text-align: right; }
.hk-zahl:hover { border-color: var(--schiefer); }
.hk-schieber b { color: var(--text-1); font-weight: 500; }
.hk-schieber input[type=range] { width: 100%; accent-color: var(--ziegel); min-height: 32px; }
.hk-summe, .hk-klein { grid-column: 1 / -1; margin: 0; font-size: 13.5px; color: var(--text-2); }
.hk-summe b { font-family: "Anybody", sans-serif; font-size: 18px; color: var(--schiefer-dunkel); }
.hk-haken { grid-column: 1 / -1; display: flex !important; align-items: center; gap: 8px; min-height: 40px; cursor: pointer; }
.hk-haken input { width: 20px; height: 20px; accent-color: var(--ziegel); }

/* ---------- Balkenlisten (eigene) ---------- */
.hk-liste { display: grid; gap: 4px; }
.hk-zeile { display: grid; grid-template-columns: var(--nb, 130px) minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 28px; padding: 2px 4px; border: 0; border-radius: 3px; background: none; font: inherit; color: inherit; text-align: left; width: 100%; }
button.hk-zeile { cursor: pointer; }
button.hk-zeile:hover, button.hk-zeile[aria-pressed="true"] { background: var(--schiefer-hell); }
.hk-zeile .z-name { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hk-zeile .z-name small { color: var(--text-3); margin-left: 5px; font-size: 12px; }
.hk-zeile .z-spur { position: relative; height: 16px; display: flex; }
.hk-zeile .z-spur.mitte { background: linear-gradient(90deg, transparent calc(50% - .5px), var(--linie) calc(50% - .5px), var(--linie) calc(50% + .5px), transparent calc(50% + .5px)); }
.hk-zeile .z-spur i { display: block; height: 100%; }
.hk-zeile .z-spur i:first-child { border-radius: 2px 0 0 2px; }
.hk-zeile .z-spur i:last-of-type { border-radius: 0 2px 2px 0; }
.hk-zeile .z-spur i + i { box-shadow: inset 1.5px 0 0 var(--flaeche-1); }
.hk-zeile .z-spur.mitte i { position: absolute; top: 0; border-radius: 2px; }
.hk-zeile .z-strich { position: absolute; top: -3px; bottom: -3px; width: 3px; margin-left: -1.5px; background: var(--schiefer-dunkel); border-radius: 1px; }
.hk-zeile .z-wert { font-size: 13.5px; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.hk-zeile .z-wert small { color: var(--text-3); margin-left: 6px; font-size: 12px; }
.hk-zeile .status { margin-left: 6px; }
@media (max-width: 620px) {
  .hk-zeile { grid-template-columns: minmax(0, 1fr) auto; row-gap: 2px; }
  .hk-zeile .z-name { grid-column: 1; }
  .hk-zeile .z-wert { grid-column: 2; grid-row: 1; }
  .hk-zeile .z-spur { grid-column: 1 / -1; }
}
.hk-leer { color: var(--text-3); font-size: 14px; margin: 8px 0; }

/* ---------- Auffälligkeiten ---------- */
.hk-auff { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.hk-fall { background: var(--flaeche-1); border: 1px solid var(--linie); border-left: 6px solid var(--ziegel); border-radius: 4px 6px 6px 4px; padding: 14px 16px 14px; display: grid; gap: 6px; align-content: start; }
.hk-fall.mittel { border-left-color: #c7801a; }
.hk-fall.leise { border-left-color: var(--schiefer); }
.hk-fall h3 { margin: 0; font-size: 17px; font-weight: 740; color: var(--schiefer-dunkel); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.hk-fall p { margin: 0; font-size: 14.5px; color: var(--text-2); }
.hk-fall .tun { color: var(--text-1); }
.hk-fall button { justify-self: start; min-height: 36px; padding: 0 12px; border-radius: 4px; border: 1px solid var(--schiefer); background: transparent; color: var(--schiefer-dunkel); font: inherit; font-size: 13.5px; cursor: pointer; margin-top: 4px; }
.hk-fall button:hover { background: var(--schiefer-hell); }

/* ---------- Druckliste ---------- */
.hk-druck-kopf { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 6px 24px; font-size: 13.5px; color: var(--text-2); margin-bottom: 12px; }
.hk-druck-kopf b { color: var(--text-1); font-weight: 500; }
.hk-druck-kopf .titel { grid-column: 1 / -1; font-family: "Anybody", sans-serif; font-weight: 750; font-size: 18px; color: var(--schiefer-dunkel); }
.hk-tabelle { position: relative; overflow: auto; border: 1px solid var(--raster); border-radius: 4px; }
.hk-tabelle table { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.hk-tabelle th, .hk-tabelle td { padding: 7px 10px; border-bottom: 1px solid var(--raster); white-space: nowrap; text-align: right; }
.hk-tabelle th:first-child, .hk-tabelle td:first-child, .hk-tabelle .t { text-align: left; }
.hk-tabelle thead th { background: var(--schiefer); color: #fff; font-weight: 500; position: sticky; top: 0; }
.hk-tabelle tbody tr:nth-child(even) td { background: #f4f7fa; }
.hk-tabelle tfoot td { font-weight: 600; border-top: 2px solid var(--schiefer); background: var(--schiefer-hell); }
.hk-tabelle td.summe { font-weight: 600; color: var(--schiefer-dunkel); }
.hk-wisch { display: none; margin: 0 0 6px; font-size: 13px; color: var(--text-3); }
@media (max-width: 900px) { .hk-wisch { display: block; } }
.hk-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }

/* ---------- Tabellen und Tipp im Hausstil ---------- */
table.daten th { background: var(--schiefer-hell); color: var(--schiefer-dunkel); }
.tipp { border-radius: 4px; border-color: var(--schiefer); }
.status.warn { color: #8a5a00; }

/* ---------- Drucken: nur die Liste ---------- */
@media print {
  @page { size: A4 landscape; margin: 12mm; }
  body { background: #fff; font-size: 11px; }
  .a-kopf, .a-fuss, .ablage, .hk-hinweis, .hk-haus-bereich, .hk-selbst, .hk-knoepfe, .hk-wisch, .tipp { display: none !important; }
  body.nur-liste main > :not(#a-druck) { display: none !important; }
  .abschnitt { margin-top: 0; break-inside: avoid; }
  .karte { border: 0; padding: 0; }
  .hk-tabelle { overflow: visible; border: 0; }
  .hk-tabelle th, .hk-tabelle td { padding: 3px 5px; }
  .hk-tabelle thead th { background: #fff !important; color: #000; border-bottom: 1.5px solid #000; position: static; }
  .hk-tabelle tbody tr:nth-child(even) td { background: #fff; }
  .hk-tabelle tfoot td { background: #fff; border-top: 1.5px solid #000; }
}

/* ruhige Fassung: keine Bewegung beim Darüberfahren */
@media (prefers-reduced-motion: reduce) {
  .hk-feld, .hk-feld:hover, .hk-feld:active, .knopf:active { transition: none; transform: none; }
}

/* Bericht drucken (ganze Seite): Fassade bleibt, Knöpfe zum Springen nicht */
html.druckt .hk-haus-bereich { display: block !important; }
html.druckt [data-zeige], html.druckt .hk-druck-knopf, html.druckt .hk-knoepfe { display: none !important; }
html.druckt .hk-fassade-huelle { overflow: visible !important; }

/* Verweis auf „Datei erkennen lassen“ */
.erkennen-satz { display: block; margin-top: 6px; font-size: 14px; color: var(--text-2); }
.erkennen-satz a { color: var(--akzent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
