/* Public Sans selbst gehostet (11.09.2026, vor dem Livegang): bis dahin kam sie von Google —
   ein Abruf bei Google je Seitenaufruf, den Datenschutzerklaerung und Zielgruppe nicht
   brauchen. Dieselbe Datei wie in web/schriften/ (Variable Font, 100–900). */
@font-face {
  font-family: "Public Sans"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("schriften/PublicSans-latin.woff2") format("woff2");
}

@import url("tokens-hell.css");

/* Mietbiene — Fassung HELL, Aufsatz auf stil.css
   ================================================
   Bens Alternativkonzept vom 06.09.2026 (entwuerfe/alternativ-2026-09-06/),
   am 09.09.2026 konsequent zu Ende gebaut. Aendert NUR, was sich unterscheidet;
   alles andere kommt unveraendert aus stil.css -- beide Fassungen bleiben eine
   Codebasis. Die Ansichten dazu stehen in app.js unter `if (HELL)`.

   Was diese Fassung anders macht:
   1. Der Kopf ist weiss -- auch am Handy. Das Lila-Band der Grundfassung faellt
      weg (Abweichung von entwuerfe/REGEL-wo-das-lila-sitzt.md, weil Bens Konzept
      am Handy einen weissen Kopf mit Wortmarke zeigt). Lila ist Akzent: aktiver
      Menuepunkt, Knoepfe, Ueberschriften der Marke.
   2. Ueberschriften in der Markenschrift (Roboto Slab 700), wie im Konzept.
   3. Vier Kennzahl-Kacheln mit farbigen Ikon-Flaechen (Token --kachel-*, gemessen).
   4. Cremeton (#FDF4E2) fuer die einladende Flaeche, Honig (#F8D078) als Zweitfarbe
      -- nur auf Flaechen, nie als Schrift (siehe Kontrastnotiz unten).
   5. Karten mit Kontur statt Schatten; Seitenleiste hell mit dunklem aktivem Punkt.

   `.nur-handy` / `.nur-rechner` schalten Bausteine je Geraet -- die Klasse trifft
   nur in dieser Fassung, weil nur app.js unter `if (HELL)` sie vergibt. */

@media (max-width: 999px) { .nur-rechner { display: none !important; } }
@media (min-width: 1000px) { .nur-handy   { display: none !important; } }

/* ---------- Ueberschriften: Markenschrift, wie im Konzept ---------- */
.hero .kopfzeile .gruss, .hero .zurueckzeile .titel, .abschnitt-titel, .h-gruss,
.willkommen-titel, .h-creme-titel, .fertig-hero h2, .jahrkopf, .interview-frage {
  font-family: var(--font-marke); font-weight: 700; letter-spacing: 0;
}
.abschnitt-titel::after { content: none; }

/* ---------- Kopf: weiss, Tinte, ruhige Knoepfe ---------- */
.hero, .hero.knapp {
  background: var(--blatt); color: var(--tinte);
  padding-bottom: 18px; gap: 14px;
  border-bottom: 1px solid var(--trenner);
}
.hero .label, .hero .unter, .hero .hinweis { color: var(--hero-label); }
.hero .kopfzeile { justify-content: space-between; align-items: center; gap: 12px; }
.hero .rundknopf {
  width: var(--ziel-min); height: var(--ziel-min);
  background: #FFFFFF; color: var(--tinte); border: 1px solid var(--trenner);
  position: relative;
}
.hero .rundknopf:hover { background: var(--akzent-bg); }
/* Der Punkt an der Glocke: Honig als Flaeche, dunkel umrandet, damit er auf Weiss steht. */
.hero .rundknopf.punkt::after {
  content: ""; position: absolute; top: 9px; right: 9px; width: 10px; height: 10px;
  border-radius: 999px; background: var(--honig); border: 2px solid var(--held);
}
.hero .rundknopf.avatar { font-size: var(--t-label); font-weight: 800; background: var(--akzent-bg); color: var(--held); }
.hero .zurueckzeile button { background: #FFFFFF; color: var(--tinte); border: 1px solid var(--trenner); }
.hero .zurueckzeile button:hover { background: var(--akzent-bg); }
.hero .stapel { gap: 6px; }
.h-gruss { font-size: var(--t-seitentitel); line-height: 1.2; color: var(--tinte); }
.h-unter { font-size: var(--t-text); color: var(--gedaempft); font-weight: 600; line-height: 1.45; }
.hero .balken { background: var(--trenner); }
.hero .balken > div { background: var(--verlauf); }
.hero .kopfzeile .knopf.klein { width: auto; padding: 0 var(--space-4); margin: 0; flex: none; }

/* Suchfeld und Werkzeuge rechts im Kopf */
.h-werkzeuge { display: flex; align-items: center; gap: 10px; flex: none; }
.h-suche {
  display: flex; align-items: center; gap: 8px; min-height: var(--ziel-min);
  padding: 0 14px; border: 1px solid var(--trenner); border-radius: var(--radius-pill);
  background: #FFFFFF; color: var(--gedaempft); width: 360px; max-width: 40vw;
}
.h-suche:focus-within { outline: 2px solid var(--held); }
.h-suche input {
  border: none; padding: 0; min-height: 0; background: none; flex: 1; min-width: 0;
  font-size: var(--t-label); font-weight: 600; color: var(--tinte);
}
.h-suche input:focus { outline: none; }
.h-suche input::placeholder { color: var(--leise); }
.h-suche.breit { max-width: none; width: 100%; background: #fff; }   /* Suchseite: Begriff aendern, ohne zurueckzugehen */

/* Der Inhalt schiebt sich nicht mehr in ein Band -- er beginnt einfach darunter. */
.inhalt, .hero + .inhalt, .hero.knapp + .inhalt { margin-top: 0; border-radius: 0; background: var(--bg); }
.karte, .liste { background: #FFFFFF; border: 1px solid var(--trenner); }
.reihe:hover { background: var(--bg); }
.kpi { background: var(--bg); border: 1px solid var(--trenner); }
.kpi-w.warn { color: var(--warn); }

/* ---------- Kennzahl-Kacheln (Start) ----------
   Handy: eine Zeile je Kachel mit farbiger Ikon-Flaeche links (Konzept handy-start).
   Rechner: vier Kacheln nebeneinander ohne Ikon (Konzept dashboard). */
.h-kacheln { display: grid; gap: 10px; }
.h-kachel {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  min-height: 72px; padding: 14px 16px; cursor: pointer; font-family: inherit;
  background: #FFFFFF; border: 1px solid var(--trenner); border-radius: var(--radius-3);
  color: var(--tinte);
}
.h-kachel:hover { border-color: var(--held); }
.h-kachel-ikon {
  width: 44px; height: 44px; border-radius: var(--radius-2); flex: none;
  display: flex; align-items: center; justify-content: center;
}
.h-kachel-ikon.gruen { background: var(--kachel-gruen-bg); color: var(--kachel-gruen); }
.h-kachel-ikon.rot   { background: var(--kachel-rot-bg);   color: var(--kachel-rot); }
.h-kachel-ikon.blau  { background: var(--kachel-blau-bg);  color: var(--kachel-blau); }
.h-kachel-ikon.lila  { background: var(--kachel-lila-bg);  color: var(--kachel-lila); }
.h-kachel-text { display: flex; flex-direction: column; gap: 2px; flex: 0 1 auto; min-width: 116px; }
.h-kachel-label { font-size: var(--t-label); font-weight: 700; color: var(--gedaempft); }
.h-kachel-wert { font-size: var(--t-karte); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; line-height: 1.15; }
.h-delta { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 3px; font-size: var(--t-label); font-weight: 800; flex: 1 1 auto; text-align: right; line-height: 1.25; }
.h-delta.gut { color: var(--gut); }
.h-delta.warn { color: var(--warn); }
.h-delta.leise { color: var(--gedaempft); font-weight: 600; }

/* ---------- Pille „Vermietet" ---------- */
/* GEMESSEN am Konzept dashboard.png: Punkt plus farbiges Wort, keine Flaeche dahinter.
   Wortfarben nur aus Toenen mit >= 4,5:1 auf Weiss: Gruen #1F7A4E, Warnton #B4562B.
   „Teilweise" bekommt den Honig nur als Punkt -- als Schrift waere er unlesbar. */
.pille {
  display: inline-flex; align-items: center; gap: 6px; vertical-align: middle;
  font-family: var(--font-sans); font-size: var(--t-label); font-weight: 700;
  color: var(--gedaempft); line-height: 1.3; white-space: nowrap;
}
.pille i { width: 8px; height: 8px; border-radius: 999px; background: var(--leise); flex: none; }
.pille.ohne { color: var(--gedaempft); }   /* "ohne" statt "leer": .leer ist der Leerzustand in stil.css (Padding 28px, zentriert) */
.pille.gut  { color: var(--gut); }        .pille.gut  i { background: var(--gut); }
.pille.teil { color: var(--warn); }       .pille.teil i { background: var(--honig-dunkel); }
.pille.warn { color: var(--warn); }       .pille.warn i { background: var(--warn); }
.hero .zurueckzeile .titel .pille { margin-left: 4px; }

/* ---------- Objekt-Reihen (Start, Objekte, Suche) ---------- */
.h-mini {
  width: 48px; height: 48px; border-radius: var(--radius-2); flex: none; overflow: hidden;
  background: var(--akzent-bg); color: var(--held); display: flex; align-items: center; justify-content: center;
}
.h-mini img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Handy: Titel und Ort ueber die volle Breite, darunter links die Pille, rechts der Betrag.
   Rechner: alles in einer Zeile. Als Raster, weil flex-wrap die Pille auf volle Breite zog. */
.h-objekt {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; column-gap: 12px; row-gap: 6px;
  grid-template-areas: "mini mitte mitte pfeil" "mini pille rechts pfeil"; align-items: center;
}
.h-objekt .h-mini { grid-area: mini; }
.h-objekt .mitte { grid-area: mitte; }
.h-objekt .pille { grid-area: pille; justify-self: start; }
.h-objekt .h-rechts { grid-area: rechts; display: flex; flex-direction: column; align-items: flex-end; gap: 1px; text-align: right; }
.h-objekt > svg { grid-area: pfeil; }
.h-objekt .h-rechts b { font-size: var(--t-text); font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.h-objekt .h-rechts span { font-size: var(--text-1); color: var(--gedaempft); font-weight: 700; }

/* ---------- Karten auf der Startseite ---------- */
.h-karte { padding: 6px 4px; }
.h-karte-kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px 4px; }
.h-karte-kopf .abschnitt-titel { margin: 0; font-size: var(--t-karte); }
.h-liste { display: flex; flex-direction: column; }
.h-zweispalt, .h-unten { display: grid; gap: 12px; }
.textlink {
  display: inline-flex; align-items: center; justify-content: center; min-height: var(--ziel-min);
  padding: 0 6px; background: none; border: none; cursor: pointer; font-family: inherit;
  font-size: var(--t-label); font-weight: 800; color: var(--held); text-decoration: underline;
  text-underline-offset: 3px; text-decoration-thickness: 1.5px;
}
.textlink:hover { color: #4E1F5E; }
.h-creme { background: var(--creme); border-color: #F3E4C4; display: flex; gap: 18px; align-items: center; padding: 20px; }
.h-creme .h-haus { flex: none; }
.h-creme-titel { font-size: var(--t-karte); line-height: 1.25; margin-bottom: 8px; }
.h-haken { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.h-haken li { display: flex; align-items: center; gap: 8px; font-size: var(--t-label); font-weight: 600; color: var(--tinte); }
.h-haken li svg { flex: none; }
.h-aktionen { display: flex; flex-direction: column; gap: 6px; align-self: start; }
.h-text { font-size: var(--t-text); line-height: 1.5; color: var(--gedaempft); margin: 0 0 12px; font-weight: 500; }
.h-frage > summary { background: var(--bg); }
.h-frage > p { margin: 0; padding: 12px 16px 14px; font-size: var(--t-text); line-height: 1.5; color: var(--tinte); }

/* ---------- Beleg-Werkzeuge: Filter, Tabelle, Seiten ---------- */
.h-filter { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }   /* Handy: Objekt und Jahr nebeneinander, Sortierung darunter */
.h-filter .h-auswahl:last-child { grid-column: 1 / -1; }
.h-auswahl { display: flex; flex-direction: column; gap: 4px; }
.h-auswahl > span { font-size: var(--text-1); font-weight: 700; color: var(--gedaempft); letter-spacing: 0.04em; text-transform: uppercase; }
.h-auswahl select { min-height: var(--ziel-min); padding: 10px 12px; font-size: var(--t-label); font-weight: 700; }
.h-werkzeugzeile { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.h-werkzeugzeile .h-auswahl { flex: 1; min-width: 140px; }
.h-werkzeugzeile .knopf.klein { width: auto; padding: 0 var(--space-4); margin: 0; }
.h-summen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.h-punkt { display: inline-block; width: 8px; height: 8px; border-radius: 999px; margin-right: 6px; vertical-align: 1px; }
.h-punkt.held { background: var(--verlauf); }
.h-punkt.honig { background: var(--honig); border: 1px solid var(--honig-dunkel); box-sizing: border-box; }
.h-tabelle { background: #FFFFFF; border: 1px solid var(--trenner); border-radius: var(--radius-3); overflow: hidden; }
.h-tabelle .h-kopfzeile, .h-tabelle .h-zeile {
  display: grid; grid-template-columns: minmax(0, 1.8fr) 100px minmax(0, 1.6fr) minmax(0, 1.1fr) 120px 24px;
  gap: 12px; align-items: center; padding: 12px 16px;
}
.h-tabelle .h-kopfzeile { font-size: var(--text-1); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gedaempft); border-bottom: 1px solid var(--trenner); background: var(--bg); }
.h-tabelle .h-zeile {
  width: 100%; text-align: left; background: none; border: none; border-bottom: 1px solid var(--trenner);
  font-family: inherit; font-size: var(--t-label); font-weight: 600; color: var(--tinte); cursor: pointer; min-height: 60px;
}
.h-tabelle .h-zeile:last-child { border-bottom: none; }
.h-tabelle .h-zeile:hover { background: var(--bg); }
.h-tabelle .h-zelle-beleg { display: flex; align-items: center; gap: 12px; min-width: 0; }
.h-tabelle .h-zelle-beleg .kachel { width: 36px; height: 36px; border-radius: 10px; }
.h-tabelle .h-zelle-beleg .titel { font-size: var(--t-text); font-weight: 700; line-height: 1.25; }
.h-tabelle .rechts { text-align: right; }
.h-tabelle .betrag { font-size: var(--t-text); font-weight: 800; font-variant-numeric: tabular-nums; }
.h-tabelle .pille { white-space: normal; align-items: flex-start; line-height: 1.25; }
.h-tabelle .pille i { margin-top: 5px; }
.h-seiten { display: flex; align-items: center; justify-content: center; gap: 14px; font-size: var(--t-label); font-weight: 700; color: var(--gedaempft); }
.h-seiten .knopf.klein { width: var(--ziel-min); margin: 0; font-size: 22px; line-height: 1; }
.h-seiten .knopf[disabled] { opacity: .35; cursor: default; }

/* Kachel-Toene der Belegreihen: die Kostenart als Farbe, das Wort steht daneben. */
.kachel.ton-lila  { background: var(--kachel-lila-bg);  color: var(--kachel-lila); }
.kachel.ton-honig { background: #FCF1D6; color: #7A5A12; }
.kachel.ton-blau  { background: var(--kachel-blau-bg);  color: var(--kachel-blau); }
.kachel.ton-rot   { background: var(--kachel-rot-bg);   color: var(--kachel-rot); }
.kachel.ton-grau  { background: var(--trenner);         color: var(--gedaempft); }

/* ---------- Beleg ablegen: Ablagefeld ---------- */
.h-upload, .h-blatt { display: flex; flex-direction: column; gap: 12px; }
.h-blatt .objektfoto { margin-top: 0; }
.h-ablage {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  padding: 24px 18px 18px; border: 2px dashed #CFC6D8; border-radius: var(--radius-3); background: #FFFFFF;
}
.h-ablage.drueber { border-color: var(--held); background: var(--akzent-bg); }
.h-ablage-ikon { width: 56px; height: 56px; border-radius: 999px; background: var(--akzent-bg); color: var(--held); display: flex; align-items: center; justify-content: center; }
.h-ablage-text { display: flex; flex-direction: column; gap: 2px; font-size: var(--t-label); color: var(--gedaempft); font-weight: 600; }
.h-ablage-text b { font-size: var(--t-text); color: var(--tinte); font-weight: 800; }
.h-ablage .knopf { margin-top: 6px; }
.h-lesen { background: var(--creme); border-color: #F3E4C4; }

/* ---------- Knoepfe und alle anderen Lila-Flaechen: der Verlauf ----------
   Bis 10.09.2026 Vollton (Grund damals: Videodestillat vom 28.08., Verlauf als
   Erkennungszeichen maschineller Oberflaechen). Ben, 11.09.2026: „den Verlauf in
   alle lila Flaechen bei der Alternativversion einbauen" — seitdem traegt jede
   dunkle Lila-Flaeche var(--verlauf) (#300C48 → #6B2E96). Kontrast gemessen:
   Weiss 16,5:1 am dunklen und 8,6:1 am hellen Ende.
   Hover: ein Verlauf laesst sich nicht umfaerben, deshalb brightness(1.2) —
   das ist der Schritt, den der alte Vollton-Hover machte (#401850 → #4E1F5E,
   je Kanal ×1,18–1,29). Weisse und helle Knoepfe bleiben davon frei. */
.knopf { background: var(--verlauf); color: #FFFFFF; }
.knopf:not(.zweit):not(.hell):not(.glas):hover { filter: brightness(1.2); }
.knopf.zweit { background: #FFFFFF; color: var(--held); border: 1.5px solid var(--trenner); }
.knopf.zweit:hover { background: var(--akzent-bg); }
a.knopf { display: flex; align-items: center; justify-content: center; text-decoration: none; }
input, select { border-color: var(--trenner); }

/* ---------- Kennzahl-Kacheln der Grundfassung (Finanzen u. a.), Honig als Flaeche ---------- */
.kennzahl { background: #FFFFFF; border: 1px solid var(--trenner); }
.kennzahl:hover { background: var(--creme); border-color: var(--honig); }
.kennzahl .sinnbild { background: var(--creme); color: var(--honig-dunkel); }

/* ---------- Einladende Flaechen: der Cremeton ---------- */
.karte.einladung, .jahrkarte, .fertig-hero { background: var(--creme); }
.jahrkarte { border: 1px solid #F3E4C4; }
.fertig-hero { color: var(--tinte); }
.fertig-hero p { color: var(--gedaempft); }
.fertig-hero .haken { background: var(--honig); color: var(--held); }
.interview-punkte span { background: var(--trenner); }
.interview-punkte span.an { background: var(--verlauf); }
.knopf.glas { background: var(--akzent-bg); color: var(--held); }
/* Aus stil.css geerbte Vollton-Flaechen bekommen ebenfalls den Verlauf (11.09.2026).
   Nicht umgestellt: Diagrammbalken, Ringsegmente und ihre Legendenpunkte — das sind
   Datenfarben, kein Flaechenschmuck; Legende und Balken muessen dieselbe Farbe zeigen. */
.filter.aktiv { background: var(--verlauf); }
.etappe.aktiv .kreis { background: var(--verlauf); }

/* ---------- Honig traegt Flaechen, nicht Text ----------
   GEMESSEN 06.09.2026: Honig #F8D078 auf Weiss ergibt 1,47:1, der dunklere Ton
   #E8B23C nur 1,93:1 -- gefordert sind 4,5:1. Selbst auf #96680A abgedunkelt
   waeren es 4,91:1, aber das ist dann Olivbraun, kein Honig mehr.
   Umgekehrt stimmt es: Tinte auf Honig ergibt 10,9:1.
   Also bleibt der Statustext beim geerbten Warnton (#B4562B, 4,88:1) und Honig
   markiert Flaechen. Mein erster Entwurf hatte hier eine unlesbare Zeile. */
.status.warn { color: var(--warn); }
.reihe.offen .kachel { background: var(--honig); color: var(--held); }

/* ---------- Handy: fuenf Reiter, aktiver als gefuellte Kachel ---------- */
@media (max-width: 999px) {
  .tabs { background: #FFFFFF; border-top: 1px solid var(--trenner); padding: 8px 4px max(12px, env(safe-area-inset-bottom)); }
  .tabs button { color: var(--gedaempft); font-size: var(--text-2); gap: 2px; padding: 2px 0; }
  .tabs .tab-ikon { width: 44px; height: 30px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
  .tabs button.aktiv { color: var(--held); }
  /* GEMESSEN am Konzept handy-start.png: der aktive Reiter ist eine dunkel
     gefuellte Lila-Kachel mit weissem Zeichen, das Wort darunter lila. */
  .tabs button.aktiv .tab-ikon { background: var(--verlauf); color: #FFFFFF; }
  .aktionsleiste { background: var(--bg); }
  .aktionsleiste::after { background: var(--bg); }
  /* Drei Kennzahlen nebeneinander (gemessen 09.09.2026): "NEBENKOSTEN" ist 98 px breit,
     die Kachel hatte innen 87. Mit 8 px Polster und ohne Sperrung passen 97 zu 93 px;
     der Wert "12.550,00 €" (95 px) passt ebenfalls. */
  .h-summen { gap: 6px; }
  .h-summen .kpi { padding: var(--space-3) 8px; }
  .h-summen .kpi-l { letter-spacing: 0; }
}

/* ---------- Rechner: helle Seitenleiste, Zweispalter ---------- */
@media (min-width: 1000px) {
  body { background: var(--bg); }
  .tabs { background: var(--karten-ton); border-right: 1px solid var(--trenner); gap: 2px; }
  .leisten-marke { color: var(--held); }
  .tabs button { color: var(--gedaempft); font-weight: 700; }
  .tabs button:hover { background: var(--akzent-bg); color: var(--held); }
  /* GEMESSEN an der Vorlage: der aktive Punkt ist DUNKEL gefuellt (Median #3F194E)
     mit weisser Schrift -- nicht, wie ich zuerst gebaut hatte, eine helle Flaeche.
     Er ist der einzige lila Block in der hellen Leiste und traegt deshalb allein
     die Orientierung. */
  .tabs button.aktiv { background: var(--verlauf); color: #FFFFFF; }
  .tabs button.aktiv:hover { background: var(--verlauf); color: #FFFFFF; filter: brightness(1.2); }
  .tabs .tab-ikon { display: flex; flex: none; }
  .leisten-luft { flex: 1 1 auto; }
  .leisten-fuss { display: none; }
  .leisten-nutzer {
    display: flex; align-items: center; gap: 10px; margin-top: 6px; padding: 10px 12px;
    border-top: 1px solid var(--trenner); background: none; border-left: none; border-right: none; border-bottom: none;
    cursor: pointer; font-family: inherit; text-align: left; border-radius: 12px; min-height: 56px;
  }
  .leisten-nutzer:hover { background: var(--akzent-bg); }
  .leisten-nutzer .avatar {
    width: 38px; height: 38px; border-radius: 999px; flex: none; background: var(--verlauf); color: #FFFFFF;
    display: flex; align-items: center; justify-content: center; font-size: var(--text-2); font-weight: 800;
  }
  .leisten-nutzer .mitte { display: flex; flex-direction: column; min-width: 0; }
  .leisten-nutzer .titel { font-size: var(--t-label); font-weight: 800; color: var(--tinte); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .leisten-nutzer .unter { font-size: var(--text-1); font-weight: 600; color: var(--gedaempft); }

  #app { background: var(--bg); }
  .hero, .hero.knapp { background: var(--blatt); padding: 22px 40px 20px; }
  .hero .rundknopf { background: #FFFFFF; color: var(--tinte); }
  .hero .rundknopf.avatar { background: var(--verlauf); color: #FFFFFF; border-color: var(--held); }
  .hero .zurueckzeile button { background: #FFFFFF; color: var(--tinte); }
  .h-gruss { font-size: var(--text-7); }
  .inhalt { background: var(--bg); }

  .h-kacheln { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .h-kachel { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 20px; min-height: 120px; background: var(--karten-ton); border-color: transparent; }
  .h-kachel:hover { border-color: var(--held); }
  .h-kopf .kopfzeile { justify-content: flex-end; }
  .h-kachel-ikon { display: none; }
  .h-kachel-wert { font-size: var(--text-6); }
  .h-delta { flex: none; justify-content: flex-start; text-align: left; }
  .h-zweispalt { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; align-items: start; }
  .h-unten { grid-template-columns: minmax(0, 1fr) 260px; gap: 16px; align-items: start; }
  .h-creme { padding: 26px 28px; }
  .h-filter { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .h-filter .h-auswahl:last-child { grid-column: auto; }
  .liste > .h-objekt { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) 160px auto; grid-template-areas: "mini mitte pille rechts pfeil"; }
  .liste > .h-objekt .h-rechts { align-items: flex-start; text-align: left; }
  .aktionsleiste .knopf { box-shadow: none; }
}

@media (min-width: 1200px) {
  .h-karte .h-objekt { grid-template-columns: auto minmax(0, 1.3fr) minmax(0, 1fr) 150px auto; grid-template-areas: "mini mitte pille rechts pfeil"; }
  .h-karte .h-objekt .h-rechts { align-items: flex-start; text-align: left; }
}

/* ---------- Druck: Kopf und Leiste weg, Tabelle bleibt ---------- */
@media print {
  .h-werkzeuge, .h-filter, .h-seiten, .h-werkzeugzeile { display: none !important; }
}
