/* Hof-Dashboard — ein Design-System für Mobile und Desktop.
   ----------------------------------------------------------------------
   Mobile-first: Basis-Layout ist Topbar + Inhalt + Tabbar (unten), ab
   48rem wechselt die Navigation auf die Sidebar. Die Bausteine (m-*)
   sind an KEINE Breite gebunden — dieselbe Zeile, Kachel oder Karte
   läuft am Handy wie am Schreibtisch, nur die Navigation drumherum
   unterscheidet sich. Quelle der Bausteine: design/mobile/mobile.css
   (dort mit ausführlicher Begründung je Baustein).

   Feld-Kontext, der die Entscheidungen treibt:
   - Bedienung einhändig, oft mit Handschuh  -> Trefferflächen >= 48px,
     Navigation im Daumenbereich (mobil unten).
   - Sonnenlicht / Schlepperkabine           -> hoher Kontrast, Status
     nie nur über Farbe, Dark Mode fürs Display in der dunklen Kabine.
   - "Kurz nachschauen" statt "durchlesen"   -> Antwort zuerst, Details
     in zugeklappten Blöcken darunter — an beiden Enden des Bildschirms. */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #f6faf6;
  --flaeche: #ffffff;
  --flaeche-2: #eff5f0;
  --text: #16201b;
  --text-leise: #5c6b60;
  --text-sehr-leise: #7d8c81;
  --linie: color-mix(in srgb, #1c2b22 11%, transparent);
  --linie-stark: color-mix(in srgb, #1c2b22 20%, transparent);

  /* Erdgrün als Marke/Interaktion — bewusst von --ok abgesetzt (siehe unten),
     vorher fast identischer Farbton für zwei unterschiedliche Bedeutungen. */
  --akzent: #1f7a4d;
  --akzent-weich: #e1f1e6;
  --akzent-stark: #0f5c38;

  /* Erntegold — zweiter Marken-Akzent, bewusst sparsam eingesetzt (nur
     Erntejahr-Auswahl/-Anzeige), kein Status-Farbton. */
  --gold: #a9791b;
  --gold-weich: #f8eed3;
  --gold-stark: #7c591a;

  --ok: #189985;
  --ok-weich: #e3f7f2;
  --ok-stark: #0a7864;
  --warn: #d28a1a;
  --warn-weich: #fff5df;
  --warn-stark: #9a5c08;
  --danger: #f16657;
  --danger-weich: #fff0ed;
  --danger-stark: #c53b2e;
  --info: #428ee5;
  --info-weich: #eaf3fe;
  --info-stark: #2469b7;
  --neutral-weich: #eef2f3;

  --r-lg: 16px;
  --r-md: 12px;
  --r-sm: 8px;
  --r-pill: 999px;

  --schatten: 0 1px 2px rgba(18, 38, 32, .04), 0 14px 34px -26px rgba(18, 38, 32, .32);
  --schatten-weit: 0 2px 4px rgba(18, 38, 32, .05), 0 24px 54px -32px rgba(18, 38, 32, .28);
  --schrift: "Manrope", system-ui, -apple-system, sans-serif;

  --tabbar-h: 60px;
  --topbar-h: 56px;
  --gutter: 16px;
  --sidebar-w: 232px;
}

/* Frühmorgens/abends in der Kabine wird das Display dunkel geschaltet —
   Dark Mode ist hier Betriebsbedingung, kein Zierrat. */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1715;
    --flaeche: #17211f;
    --flaeche-2: #1d2a27;
    --text: #f1f7f5;
    --text-leise: #a6b4b0;
    --text-sehr-leise: #7f918c;
    --linie: color-mix(in srgb, #d9ebe6 14%, transparent);
    --linie-stark: color-mix(in srgb, #d9ebe6 25%, transparent);
    --akzent: #4cc98a;
    --akzent-weich: #163a26;
    --akzent-stark: #a9e9c4;
    --gold: #e0a94a;
    --gold-weich: #3b2c13;
    --gold-stark: #f2cd8c;
    --ok: #55cfb1;
    --ok-weich: #18372f;
    --ok-stark: #98e5d2;
    --warn: #e7b453;
    --warn-weich: #3b2d15;
    --warn-stark: #f2d28e;
    --danger: #ff8476;
    --danger-weich: #40221f;
    --danger-stark: #ffb5ad;
    --info: #79b4f1;
    --info-weich: #1c3045;
    --info-stark: #b4d6f8;
    --neutral-weich: #25312f;
    --schatten: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 24px -18px rgba(0, 0, 0, .8);
    --schatten-weit: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 30px -16px rgba(0, 0, 0, .7);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 16px;
  line-height: 1.5;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}
h1, h2, h3, h4 {
  font-family: var(--schrift);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
  text-wrap: balance;
}
h1 { font-size: 1.625rem; }
h2 { font-size: 1.0625rem; margin-top: 2rem; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--linie-stark); }

a { color: var(--akzent-stark); text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:hover { color: var(--akzent); text-decoration: underline; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--akzent); outline-offset: 2px; border-radius: var(--r-sm); }

.untertitel { color: var(--text-leise); font-size: 0.8125rem; margin: -0.2rem 0 1.75rem; }
.untertitel a { text-decoration: none; font-weight: 700; }
.untertitel a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ============================================================================
   1. Rahmen: mobil Topbar + Inhalt + Tabbar, ab 48rem Sidebar + Inhalt
   ========================================================================= */
/* Mobil (Basis): Topbar/Inhalt/Tabbar sind Geschwister, die untereinander
   stehen sollen. Row-Flex ist erst ab der Sidebar-Breite (48rem) richtig,
   wo Sidebar + Inhalt nebeneinander sitzen -- siehe @media unten. Row-Flex
   hier auf Mobil hätte Topbar/Inhalt/Tabbar horizontal nebeneinandergezwängt
   und die Seite seitlich überlaufen lassen. */
.seiten-rahmen { display: block; min-height: 100vh; }

/* ---- Mobile Navigation (Basis, <48rem) ---- */
.m-top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  height: var(--topbar-h);
  padding: 0 var(--gutter);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--linie);
}
.m-top-zurueck {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-left: -14px;
  flex: none;
  border-radius: var(--r-pill);
  color: var(--text);
}
.m-top-zurueck:hover { background: var(--neutral-weich); text-decoration: none; }
.m-top-zurueck svg { width: 22px; height: 22px; }
.m-top-titel {
  flex: 1;
  min-width: 0;
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.m-top-jahr {
  flex: none;
  height: 48px;
  padding: 0 26px 0 12px;
  border-radius: var(--r-pill);
  background: var(--flaeche) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d8c81' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 8px center;
  background-size: 14px;
  border: 1px solid color-mix(in srgb, var(--gold) 35%, var(--linie));
  font-family: var(--schrift);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text);
  appearance: none;
  cursor: pointer;
}

.m-body { padding: 14px var(--gutter) calc(var(--tabbar-h) + 28px + env(safe-area-inset-bottom)); }

.m-tabs {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: color-mix(in srgb, var(--flaeche) 92%, transparent);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--linie);
}
.m-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  position: relative;
  color: var(--text-sehr-leise);
  font-size: 0.6875rem;
  font-weight: 700;
}
.m-tab:hover { text-decoration: none; color: var(--text-leise); }
.m-tab svg { width: 22px; height: 22px; }
.m-tab.aktiv { color: var(--akzent-stark); }
.m-tab-punkt {
  position: absolute;
  top: 2px;
  right: calc(50% - 20px);
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: var(--r-pill);
  background: var(--danger);
  color: #fff;
  font-size: 0.5625rem;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}
.m-tabs button.m-tab { border: 0; background: none; -webkit-appearance: none; }

/* ---- Mobil: Menü-Drawer (Ersatz für die frühere eigene "Mehr"-Seite) ---- */
.m-drawer-wrap[hidden] { display: none; }
.m-drawer-wrap { position: fixed; inset: 0; z-index: 40; }
.m-drawer-scrim {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(20, 16, 8, .45);
  cursor: pointer;
}
.m-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(85vw, 320px);
  display: flex;
  flex-direction: column;
  background: var(--flaeche);
  box-shadow: var(--schatten-weit);
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
  overflow-y: auto;
}
.m-drawer-kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 12px 10px 18px; }
.m-drawer-kopf h2 { margin: 0; font-size: 0.9375rem; font-weight: 800; }
.m-drawer-schliessen {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: none;
  border: 0;
  background: none;
  border-radius: var(--r-pill);
  color: var(--text);
}
.m-drawer-schliessen:hover { background: var(--flaeche-2); }
.m-drawer-schliessen svg { width: 18px; height: 18px; }
.m-drawer-suche { margin: 0 16px 8px; width: auto; }
.m-drawer-abschnitt {
  margin: 12px 16px 2px;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-sehr-leise);
}
.m-drawer-nav { display: flex; flex-direction: column; padding: 0 8px; }
.m-drawer-item {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 10px;
  margin: 0 8px;
  border-radius: var(--r-md);
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 600;
}
.m-drawer-item:hover { background: var(--flaeche-2); text-decoration: none; }
.m-drawer-item.aktiv { background: var(--akzent-weich); color: var(--akzent-stark); font-weight: 700; }
.m-drawer-abmelden { width: calc(100% - 16px); margin: 10px 8px 0; border: 0; border-top: 1px solid var(--linie); border-radius: 0; padding-top: 14px; cursor: pointer; }

/* ---- Desktop-Sidebar (ab 48rem) ---- */
.sidebar { display: none; }

@media (min-width: 48rem) {
  .seiten-rahmen { display: flex; align-items: flex-start; }
  .m-top, .m-tabs, .m-drawer-wrap { display: none; }
  .m-body { flex: 1; min-width: 0; padding: 30px 32px 48px; max-width: 90rem; margin: 0 auto; }
  .m-body--dashboard { max-width: none; }

  .sidebar {
    display: flex;
    width: var(--sidebar-w);
    flex: none;
    border-right: 1px solid var(--linie);
    position: sticky;
    top: 0;
    height: 100vh;
    flex-direction: column;
    background: var(--flaeche);
    padding: 24px 0 18px;
  }
  .sidebar-kopf { padding: 0 20px 22px; }
  .sidebar-marke { display: flex; align-items: center; gap: 10px; color: var(--text); }
  .sidebar-marke:hover { color: var(--text); text-decoration: none; }
  .sidebar-logo { display: grid; place-items: center; width: 28px; height: 30px; flex: none; color: var(--akzent); }
  .sidebar-logo svg { width: 100%; height: 100%; }
  .sidebar-marke .marke { display: block; font-weight: 700; font-size: 1.125rem; letter-spacing: -0.025em; color: var(--text); line-height: 1.1; }
  .sidebar-marke .marke b { font-weight: 800; }
  .sidebar-untertitel { display: block; font-size: 0.625rem; color: var(--text-sehr-leise); margin-top: 3px; text-transform: uppercase; letter-spacing: .09em; font-weight: 700; }
  .sidebar-inhalt { display: flex; flex-direction: column; flex: 1; min-height: 0; }
  .sidebar-nav { display: flex; flex-direction: column; gap: 4px; padding: 8px 12px; flex: 1; overflow-y: auto; }
  .navitem {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 44px;
    padding: 10px 13px;
    border-radius: var(--r-md);
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 550;
  }
  .navitem:hover { background: var(--flaeche-2); text-decoration: none; }
  .navitem svg { width: 17px; height: 17px; flex: none; }
  .navitem-zahl {
    min-width: 20px;
    height: 20px;
    margin-left: auto;
    padding: 0 6px;
    border-radius: var(--r-pill);
    background: var(--danger);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 800;
    line-height: 20px;
    text-align: center;
  }
  .navitem.aktiv { background: var(--akzent-weich); color: var(--akzent-stark); font-weight: 700; }
  .navitem-gruppe { display: flex; flex-direction: column; }
  .navitem-zeile { display: flex; align-items: center; gap: 2px; }
  .navitem--mit-pfeil { flex: 1; min-width: 0; }
  .navitem-pfeil {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: var(--r-sm);
    background: transparent;
    color: var(--text-leise);
    cursor: pointer;
  }
  .navitem-pfeil:hover { background: var(--flaeche-2); }
  .navitem-pfeil svg { width: 15px; height: 15px; transition: transform .15s ease; }
  .navitem-pfeil[aria-expanded="true"] svg { transform: rotate(180deg); }
  .navitem-untermenu { display: flex; flex-direction: column; gap: 1px; padding: 2px 14px 4px 33px; }
  .navitem-untermenu[hidden] { display: none; }
  .navitem-unter {
    padding: 8px 12px;
    border-radius: var(--r-sm);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-leise);
  }
  .navitem-unter:hover { background: var(--flaeche-2); color: var(--text); text-decoration: none; }
  .navitem-unter.aktiv { background: var(--akzent-weich); color: var(--akzent-stark); font-weight: 700; }
  .sidebar-jahr { padding: 0 22px 18px; margin-bottom: 8px; border-bottom: 1px solid var(--linie); }
  .sidebar-jahr-label { font-size: 0.6875rem; color: var(--gold-stark); text-transform: uppercase; letter-spacing: .07em; font-weight: 700; margin-bottom: 8px; }
  .sidebar-jahr-auswahl {
    width: 100%;
    padding: 7px 30px 7px 12px;
    border: 1px solid color-mix(in srgb, var(--gold) 35%, var(--linie));
    border-radius: var(--r-sm);
    font-family: var(--schrift);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text);
    background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d8c81' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 8px center;
    background-size: 15px;
    appearance: none;
    cursor: pointer;
  }
  .sidebar-jahr-auswahl:hover { background-color: var(--flaeche-2); }
  .sidebar-abmelden { padding: 12px 12px 0; border-top: 1px solid var(--linie); }
  .sidebar-status { display: flex; align-items: center; gap: 7px; padding: 0 13px 8px; color: var(--text-sehr-leise); font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
  .sidebar-status span { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-weich); }
  .sidebar-abmelden button {
    width: 100%;
    text-align: left;
    border: 0;
    background: none;
    cursor: pointer;
  }
}

@media print {
  .sidebar, .m-top, .m-tabs, .m-drawer-wrap { display: none !important; }
  .m-body { padding: 0; }
}

/* ============================================================================
   2. Seiten-Einstieg: Antwortzeile, Detail-Kopf, Abschnitte
   ========================================================================= */
.m-lage { margin: 2px 0 20px; }
.m-lage-datum {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-sehr-leise);
}
.m-lage-satz {
  margin-top: 2px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-wrap: balance;
}
.m-lage-satz em { font-style: normal; color: var(--danger); }
.m-lage-satz b { color: var(--akzent-stark); }
@media (min-width: 48rem) {
  .m-lage-satz { font-size: 1.875rem; }
}

.m-hero { margin: 2px 0 20px; }
.m-hero-kennung {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-sehr-leise);
}
.m-hero-titel {
  margin: 3px 0 0;
  font-size: 1.625rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.m-hero-unter { margin-top: 4px; font-size: 0.875rem; color: var(--text-leise); }
.m-hero-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.m-pdf-export {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--linie-stark);
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
}
.m-pdf-export:hover { background: var(--neutral-weich); text-decoration: none; }
.m-pdf-export svg { width: 16px; height: 16px; flex: none; }

/* Berichtszentrum: große, feldtaugliche Auswahlkarten mit nativen GET-Forms. */
.m-bericht-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.m-bericht {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px;
  border-radius: var(--r-lg);
  background: var(--flaeche);
  box-shadow: var(--schatten);
}
.m-bericht-kopf { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.m-bericht-kopf h3 { margin: 1px 0 3px; font-size: 1.0625rem; }
.m-bericht-kopf p { margin: 0; color: var(--text-leise); font-size: 0.8125rem; }
.m-bericht-auswahl { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.m-bericht-auswahl legend {
  width: 100%;
  margin-bottom: 5px;
  color: var(--text-leise);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.m-bericht-check {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 9px 12px;
  border: 1px solid var(--linie);
  border-radius: var(--r-md);
  background: var(--flaeche-2);
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
}
.m-bericht-check:hover { border-color: var(--linie-stark); }
.m-bericht-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--akzent); flex: none; }
.m-bericht-check span { min-width: 0; }
.m-bericht-check small { display: block; color: var(--text-leise); font-size: 0.6875rem; font-weight: 500; }
.m-bericht-check--option { margin-top: 14px; background: transparent; }
.m-bericht-hinweis { margin: 7px 0 14px; color: var(--text-leise); font-size: 0.75rem; }
.m-bericht-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  margin-top: auto;
  padding: 10px 16px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--akzent-stark);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 800;
  cursor: pointer;
}
.m-bericht-button:hover { background: var(--akzent); }
.m-bericht-button svg { width: 17px; height: 17px; }
.m-bericht-felder { margin: 0; border: 1px solid var(--linie); border-radius: var(--r-md); overflow: hidden; }
.m-bericht-felder > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 10px 12px;
  list-style: none;
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 800;
}
.m-bericht-felder > summary::-webkit-details-marker { display: none; }
.m-bericht-felder > summary span { color: var(--text-leise); font-size: 0.6875rem; font-weight: 600; }
.m-bericht-felder[open] > summary { border-bottom: 1px solid var(--linie); }
.m-bericht-felder-liste {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  max-height: 18rem;
  padding: 10px;
  overflow-y: auto;
  background: var(--flaeche-2);
}
@media (min-width: 42rem) {
  .m-bericht-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m-bericht-felder-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 48rem) {
  .m-hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
  .m-hero-titel { font-size: 1.875rem; }
}

.m-abschnitt {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 26px 0 10px;
}
.m-abschnitt h2 {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--text-leise);
}
.m-abschnitt-mehr { flex: none; font-size: 0.8125rem; font-weight: 700; }
.m-abschnitt--mit-auswahl { align-items: center; }
.m-jahr-filter { display: flex; align-items: center; gap: 8px; color: var(--text-leise); font-size: 0.75rem; font-weight: 700; }
.m-jahr-filter select {
  min-width: 92px;
  height: 48px;
  padding: 0 30px 0 12px;
  border: 1px solid color-mix(in srgb, var(--gold) 35%, var(--linie));
  border-radius: var(--r-pill);
  background: var(--flaeche) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d8c81' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 9px center;
  background-size: 14px;
  color: var(--text);
  font: inherit;
  appearance: none;
  cursor: pointer;
}
.m-jahr-filter select:hover { background-color: var(--flaeche-2); }
@media (max-width: 24rem) {
  .m-jahr-filter > span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
}

/* ============================================================================
   3. Kennzahlen-Kacheln
   ========================================================================= */
.m-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.m-kpis--drei { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.m-kpi {
  display: block;
  padding: 14px;
  border-radius: var(--r-lg);
  background: var(--flaeche);
  box-shadow: var(--schatten);
  border: 1px solid transparent;
  color: var(--text);
}
a.m-kpi:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--schatten-weit); }
.m-kpi--breit { grid-column: 1 / -1; }
.m-kpi-wert { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.m-kpi-wert small { font-size: 0.8125rem; font-weight: 700; color: var(--text-leise); }
.m-kpi-label { display: block; margin-top: 5px; font-size: 0.75rem; line-height: 1.35; color: var(--text-leise); }
.m-kpi--danger { background: var(--danger-weich); border-color: color-mix(in srgb, var(--danger) 25%, transparent); }
.m-kpi--danger .m-kpi-wert { color: var(--danger-stark); }
.m-kpi--warn { background: var(--warn-weich); border-color: color-mix(in srgb, var(--warn) 25%, transparent); }
.m-kpi--warn .m-kpi-wert { color: var(--warn-stark); }
.m-kpi--ok { background: var(--ok-weich); border-color: color-mix(in srgb, var(--ok) 25%, transparent); }
.m-kpi--ok .m-kpi-wert { color: var(--ok-stark); }
.m-kpi--akzent { background: var(--akzent-weich); border-color: color-mix(in srgb, var(--akzent) 25%, transparent); }
.m-kpi--akzent .m-kpi-wert { color: var(--akzent-stark); }
@media (min-width: 48rem) {
  .m-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .m-kpis--drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .m-kpi-wert { font-size: 1.75rem; }
}
.m-kpis--massnahme { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }

/* ============================================================================
   4. Universelle Listenzeile
   ========================================================================= */
.m-liste { border-radius: var(--r-lg); background: var(--flaeche); box-shadow: var(--schatten); overflow: hidden; }
.m-zeile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--linie);
  color: var(--text);
}
.m-zeile:last-child { border-bottom: 0; }
.m-zeile:hover { background: var(--flaeche-2); text-decoration: none; }
.m-zeile::before {
  content: "";
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: transparent;
}
.m-zeile--danger::before { background: var(--danger); }
.m-zeile--warn::before { background: var(--warn); }
.m-zeile--info::before { background: var(--info); }
.m-zeile--ok::before { background: var(--ok); }

.m-zeile-kern { flex: 1; min-width: 0; }
.m-zeile-domain {
  display: block;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-sehr-leise);
}
.m-zeile-titel {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
  color: var(--text);
}
.m-zeile-meta { display: block; margin-top: 2px; font-size: 0.8125rem; color: var(--text-leise); overflow-wrap: anywhere; }
.m-zeile-meta b { color: var(--text); font-weight: 700; }
.m-zeile-ende { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; text-align: right; }
.m-zeile-wert { font-size: 0.9375rem; font-weight: 800; letter-spacing: -0.02em; }
.m-zeile-wert small { font-size: 0.75rem; font-weight: 700; color: var(--text-leise); }
.m-zeile-sub { font-size: 0.6875rem; color: var(--text-sehr-leise); }
.m-zeile-pfeil { flex: none; width: 18px; height: 18px; color: var(--text-sehr-leise); }
.m-id { color: var(--text-sehr-leise); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.m-typ { text-transform: capitalize; }
td.m-id { font-size: 0.8125rem; }

.m-zeile--stapel { flex-direction: column; align-items: stretch; gap: 11px; }
.m-zeile-oben { display: flex; align-items: center; gap: 12px; }

.m-zeile-datum { flex: none; width: 42px; text-align: center; line-height: 1.05; }
.m-zeile-datum b { display: block; font-size: 1.125rem; font-weight: 800; letter-spacing: -0.02em; }
.m-zeile-datum span { display: block; font-size: 0.625rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-sehr-leise); }

.m-zeile-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-md);
  background: var(--neutral-weich);
  color: var(--text-leise);
}
.m-zeile-icon svg { width: 19px; height: 19px; }
.m-zeile-icon--akzent { background: var(--akzent-weich); color: var(--akzent-stark); }
.m-zeile-icon--ok { background: var(--ok-weich); color: var(--ok-stark); }
.m-zeile-icon--info { background: var(--info-weich); color: var(--info-stark); }
.m-zeile-icon--warn { background: var(--warn-weich); color: var(--warn-stark); }

/* ============================================================================
   5. Badges
   ========================================================================= */
.m-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: .01em;
  white-space: nowrap;
}
.m-badge--ueberfaellig, .m-badge--faellig { background: var(--danger); color: #fff; }
.m-badge--bald { background: var(--warn-weich); color: var(--warn-stark); }
.m-badge--offen, .m-badge--geplant { background: var(--info-weich); color: var(--info-stark); }
.m-badge--ok, .m-badge--erledigt, .m-badge--aktiv, .m-badge--erfuellt, .m-badge--completed { background: var(--ok-weich); color: var(--ok-stark); }
.m-badge--inaktiv, .m-badge--storniert, .m-badge--unbestimmt { background: var(--neutral-weich); color: var(--text-leise); }
.m-badge--akzent { background: var(--akzent-weich); color: var(--akzent-stark); }
.m-badge--rand { background: transparent; border: 1px solid var(--linie-stark); color: var(--text-leise); }

/* ============================================================================
   6. Füllstands-/Fortschrittskarte
   ========================================================================= */
.m-fuell { display: block; padding: 14px; border-radius: var(--r-lg); background: var(--flaeche); box-shadow: var(--schatten); color: var(--text); }
.m-fuell:hover { text-decoration: none; }
.m-fuell + .m-fuell { margin-top: 10px; }
.m-fuell-kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.m-fuell-titel { font-size: 0.9375rem; font-weight: 800; letter-spacing: -0.01em; }
.m-fuell-zahl { display: flex; align-items: baseline; gap: 6px; font-size: 1.75rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.m-fuell-zahl small { font-size: 0.9375rem; font-weight: 700; color: var(--text-leise); letter-spacing: 0; }
.m-fuell-von { margin-left: auto; font-size: 0.8125rem; font-weight: 700; color: var(--text-leise); }
.m-fuell-bar { display: block; position: relative; height: 10px; margin-top: 10px; border-radius: var(--r-pill); background: var(--neutral-weich); overflow: hidden; }
.m-fuell-bar i { display: block; height: 100%; width: var(--p, 0%); border-radius: var(--r-pill); background: var(--akzent); }
.m-fuell--ok .m-fuell-bar i { background: var(--ok); }
.m-fuell--warn .m-fuell-bar i { background: var(--warn); }
.m-fuell--danger .m-fuell-bar i { background: var(--danger); }
.m-fuell--danger .m-fuell-zahl { color: var(--danger-stark); }
.m-fuell-fuss { display: flex; justify-content: space-between; gap: 10px; margin-top: 7px; font-size: 0.75rem; color: var(--text-leise); }
.m-fuell-bar--schmal { height: 6px; margin-top: 8px; }

.m-fuell-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 40rem) {
  .m-fuell-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .m-fuell + .m-fuell { margin-top: 0; }
}

/* ============================================================================
   8. Zeitstrahl
   ========================================================================= */
.m-strahl { padding: 4px 14px; border-radius: var(--r-lg); background: var(--flaeche); box-shadow: var(--schatten); }
.m-strahl-eintrag { position: relative; display: flex; gap: 12px; padding: 12px 0; color: var(--text); }
a.m-strahl-eintrag:hover { text-decoration: none; background: var(--flaeche-2); margin: 0 -14px; padding-left: 14px; padding-right: 14px; width: calc(100% + 28px); }
.m-strahl-eintrag + .m-strahl-eintrag { border-top: 1px solid var(--linie); }
.m-strahl-datum { flex: none; width: 42px; text-align: center; line-height: 1.05; padding-top: 1px; }
.m-strahl-datum b { display: block; font-size: 1.0625rem; font-weight: 800; letter-spacing: -0.02em; }
.m-strahl-datum span { display: block; font-size: 0.625rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-sehr-leise); }
.m-strahl-jahr { display: block; font-size: 0.625rem; color: var(--text-sehr-leise); }
.m-strahl-kern { flex: 1; min-width: 0; }
.m-strahl-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.m-strahl-titel { font-size: 0.9375rem; font-weight: 700; letter-spacing: -0.01em; }
.m-strahl-wert { flex: none; font-size: 0.875rem; font-weight: 800; }
.m-strahl-meta { display: block; margin-top: 2px; font-size: 0.8125rem; color: var(--text-leise); }
.m-strahl-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }

/* ============================================================================
   9. Datenliste (Label/Wert) + Messwert-Kacheln
   ========================================================================= */
.m-daten { margin: 0; }
.m-daten > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--linie); }
.m-daten > div:last-child { border-bottom: 0; padding-bottom: 2px; }
.m-daten dt { flex: none; font-size: 0.8125rem; color: var(--text-leise); }
.m-daten dd { margin: 0; text-align: right; font-size: 0.875rem; font-weight: 700; overflow-wrap: anywhere; }
.m-daten dd a { color: var(--akzent-stark); text-decoration: underline; text-underline-offset: 2px; }
.m-daten--spalten { display: grid; grid-template-columns: 1fr; column-gap: 28px; }
@media (min-width: 34rem) {
  .m-daten--spalten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m-daten--spalten > div:nth-last-child(2) { border-bottom: 0; padding-bottom: 2px; }
}

.m-werte { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.m-werte > div { padding: 10px 6px; border-radius: var(--r-md); background: var(--flaeche); box-shadow: var(--schatten); text-align: center; }
.m-werte b { display: block; font-size: 1rem; font-weight: 800; letter-spacing: -0.02em; }
.m-werte span { display: block; margin-top: 2px; font-size: 0.625rem; color: var(--text-leise); }

/* ============================================================================
   10. Karte + aufklappbarer Block
   ========================================================================= */
.m-karte { padding: 14px; border-radius: var(--r-lg); background: var(--flaeche); box-shadow: var(--schatten); }
.m-karte + .m-karte { margin-top: 10px; }
.m-karte-titel { margin: 0 0 8px; font-size: 0.6875rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--text-leise); }
.m-karte p:last-child { margin-bottom: 0; }

.m-block { border-radius: var(--r-lg); background: var(--flaeche); box-shadow: var(--schatten); overflow: hidden; }
.m-block + .m-block { margin-top: 10px; }
.m-block > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
  font-size: 0.9375rem;
  font-weight: 700;
}
.m-block > summary::-webkit-details-marker { display: none; }
.m-block > summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin-left: auto;
  border: solid var(--text-sehr-leise);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .18s ease;
}
.m-block[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.m-block[open] > summary { border-bottom: 1px solid var(--linie); }
.m-block-zahl { padding: 2px 8px; border-radius: var(--r-pill); background: var(--neutral-weich); font-size: 0.6875rem; font-weight: 800; color: var(--text-leise); }
.m-block-inhalt { padding: 12px 14px 14px; }
.m-block-inhalt--flach { padding: 0 14px; }
.m-block-inhalt--flach .m-liste, .m-block-inhalt--flach .m-strahl { box-shadow: none; border-radius: 0; background: transparent; padding: 0; }

/* Grid für Detail-Karten nebeneinander (Stammdaten/Metadaten etc.) */
.m-karten-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 18px 0; }
@media (min-width: 42rem) {
  .m-karten-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m-karten-grid--breit { grid-column: 1 / -1; }
}

/* ============================================================================
   11. Steuerelemente: Segment, Chips, Suche
   ========================================================================= */
.m-segment { display: flex; gap: 3px; padding: 3px; margin-bottom: 14px; border-radius: var(--r-pill); background: var(--neutral-weich); max-width: 26rem; }
.m-segment a { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: var(--r-pill); font-size: 0.8125rem; font-weight: 700; color: var(--text-leise); }
.m-segment a:hover { text-decoration: none; }
.m-segment a.aktiv { background: var(--flaeche); color: var(--text); box-shadow: 0 1px 3px rgba(35, 28, 18, .16); }

.m-chips { display: flex; gap: 8px; margin-bottom: 12px; padding-bottom: 2px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.m-chips::-webkit-scrollbar { display: none; }
.m-chip { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--linie); background: var(--flaeche); font-family: var(--schrift); font-size: 0.8125rem; font-weight: 700; color: var(--text); cursor: pointer; scroll-snap-align: start; }
.m-chip:hover { text-decoration: none; background: var(--flaeche-2); }
.m-chip.aktiv { background: var(--text); border-color: var(--text); color: var(--bg); }
.m-chip.aktiv:hover { background: var(--text); }
.m-chip-zahl { font-size: 0.75rem; opacity: .65; }

.m-suche {
  display: block;
  width: 100%;
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  background: var(--flaeche);
  border: 1px solid var(--linie);
  color: var(--text);
  font-family: var(--schrift);
  font-size: 0.875rem;
  height: 44px;
}
.m-sichtbar-nur-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.m-suche::placeholder { color: var(--text-sehr-leise); }
.m-suche:focus { border-color: var(--akzent); }
.m-suche:focus-visible { outline: 2px solid var(--akzent); outline-offset: 2px; }

/* ============================================================================
   12. Anteilsbalken (Kulturverteilung)
   ========================================================================= */
.m-anteil { display: flex; height: 14px; border-radius: var(--r-pill); overflow: hidden; gap: 2px; }
.m-anteil > i { display: block; height: 100%; }
.m-legende { margin-top: 12px; display: grid; gap: 8px; }
.m-legende > div { display: flex; align-items: center; gap: 9px; font-size: 0.875rem; }
.m-legende .sw { flex: none; width: 11px; height: 11px; border-radius: 3px; }
.m-legende .nm { flex: 1; min-width: 0; font-weight: 700; }
.m-legende .zl { font-weight: 800; }
.m-legende .pz { width: 42px; text-align: right; color: var(--text-leise); font-size: 0.8125rem; }

/* ============================================================================
   13. Echte Tabellen — nur wo der Vergleich über Spalten der Zweck ist
   ========================================================================= */
.m-tabelle { border-radius: var(--r-lg); background: var(--flaeche); box-shadow: var(--schatten); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.m-tabelle table { border-collapse: collapse; width: 100%; font-size: 0.8125rem; }
.m-tabelle th, .m-tabelle td { padding: 10px 12px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--linie); }
.m-tabelle th { font-size: 0.625rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--text-sehr-leise); }
.m-sort-th {
  display: inline-flex;
  align-items: center;
  width: 100%;
  justify-content: flex-end;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: inherit;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}
.m-checkbox-zelle .m-sort-th { justify-content: center; }
.m-text-spalte .m-sort-th { justify-content: flex-start; }
.m-sort-indikator { display: inline-block; min-width: 1.35rem; margin-left: 6px; color: var(--text-leise); font-size: 0.75rem; font-weight: 800; letter-spacing: 0; text-align: left; }
.m-tabelle th[data-sort-richtung] .m-sort-indikator { color: var(--akzent-stark); }
.m-tabelle .m-checkbox-zelle { text-align: center; }
.m-tabelle td.m-text-spalte, .m-tabelle th.m-text-spalte { text-align: left; white-space: normal; }
.m-tabelle td.m-text-spalte { max-width: 28rem; overflow-wrap: anywhere; }
.m-nur-lesen-checkbox { width: 16px; height: 16px; margin: 0; opacity: 1; accent-color: var(--akzent); vertical-align: middle; }
.m-tabelle tr:last-child td { border-bottom: 0; }
.m-tabelle tr:hover td { background: var(--flaeche-2); }
.m-tabelle th:first-child, .m-tabelle td:first-child { position: sticky; left: 0; text-align: left; font-weight: 700; background: var(--flaeche); box-shadow: 1px 0 0 var(--linie); }
.m-tabelle tr:hover td:first-child { background: var(--flaeche-2); }
.m-tabelle tr[data-kulturfarbe] td,
.m-tabelle tr[data-kulturfarbe] td:first-child { background: color-mix(in srgb, var(--zeilenfarbe) 16%, var(--flaeche)); }
.m-tabelle tr[data-kulturfarbe]:hover td,
.m-tabelle tr[data-kulturfarbe]:hover td:first-child { background: color-mix(in srgb, var(--zeilenfarbe) 26%, var(--flaeche)); }
.m-tabelle td[data-kulturfarbe] { background: color-mix(in srgb, var(--zeilenfarbe) 16%, var(--flaeche)); }
.m-tabelle tr:hover td[data-kulturfarbe] { background: color-mix(in srgb, var(--zeilenfarbe) 26%, var(--flaeche)); }
.m-tabelle-hinweis { margin: 6px 2px 0; font-size: 0.6875rem; color: var(--text-sehr-leise); }
[data-href] { cursor: pointer; }

/* Diagramm-Rahmen für die serverseitig gerenderten SVG-Charts
   (charts.py) -- Ertragstrend, Wärme-Verbrauch. */
.m-diagramm { padding: 14px 14px 6px; border-radius: var(--r-lg); background: var(--flaeche); box-shadow: var(--schatten); overflow-x: auto; margin-bottom: 10px; color: var(--text-leise); }
.m-diagramm-titel { margin: 0 0 8px; font-size: 0.8125rem; font-weight: 700; color: var(--text); }
.m-diagramm--ertrag svg { display: block; margin-inline: auto; }

/* ============================================================================
   14. Kleinteile
   ========================================================================= */
.m-leer { padding: 22px 14px; border-radius: var(--r-lg); background: var(--flaeche); box-shadow: var(--schatten); text-align: center; font-size: 0.875rem; color: var(--text-leise); }
.m-hinweis { display: flex; gap: 9px; padding: 11px 13px; border-radius: var(--r-md); background: var(--neutral-weich); font-size: 0.8125rem; line-height: 1.45; color: var(--text-leise); margin: 10px 0; }
.m-hinweis svg { flex: none; width: 16px; height: 16px; margin-top: 2px; }
.m-hinweis code { font-size: 0.75rem; }
.m-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.m-verweise { display: grid; gap: 8px; }
.m-verweis { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 12px; border-radius: var(--r-md); background: var(--flaeche-2); font-size: 0.875rem; font-weight: 700; color: var(--text); }
.m-verweis:hover { text-decoration: none; background: var(--neutral-weich); }
.m-verweis .m-zeile-pfeil { margin-left: auto; }
.m-fuss { margin: 22px 0 0; font-size: 0.75rem; line-height: 1.5; color: var(--text-sehr-leise); }
.m-nur-lesen { display: inline-flex; align-items: center; gap: 5px; font-size: 0.6875rem; font-weight: 700; color: var(--text-sehr-leise); }
.m-prosa { margin: 0; font-size: 0.9375rem; line-height: 1.55; white-space: pre-wrap; }

/* ============================================================================
   15. Detailseiten: Geschwisterliste + Detail nebeneinander (Desktop)
   ========================================================================= */
.split-layout { display: block; }
.split-haupt { display: none; }
@media (min-width: 60rem) {
  .split-layout { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: start; }
  .split-haupt { display: block; max-height: calc(100vh - 64px); overflow-y: auto; position: sticky; top: 32px; }
}

/* Zwei gleichrangige Spalten (z.B. Fristen + Notizen) — anders als
   .split-layout bleiben BEIDE Seiten auf allen Breiten sichtbar,
   sie stapeln sich nur untereinander statt eine zu verstecken. */
.zwei-spalten { display: block; }
@media (min-width: 60rem) {
  .zwei-spalten { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
}

/* ============================================================================
   16. Auth-Seiten (Login/Registrieren/Consent) — eigenständig, kein Sidebar
   ========================================================================= */
.auth-rahmen { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.auth-karte { width: 100%; max-width: 23rem; background: var(--flaeche); border-radius: var(--r-lg); box-shadow: var(--schatten-weit); padding: 32px 28px; }
.auth-marke { font-weight: 800; font-size: 1.1875rem; letter-spacing: -0.01em; margin-bottom: 2px; }
.auth-karte h2 { margin: 0 0 20px; font-size: 1.375rem; }
.auth-karte form { display: flex; flex-direction: column; gap: 14px; }
.auth-karte label { display: flex; flex-direction: column; gap: 6px; font-size: 0.8125rem; font-weight: 700; color: var(--text-leise); }
.auth-karte input {
  height: 44px;
  padding: 0 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--linie);
  background: var(--flaeche-2);
  color: var(--text);
  font-family: var(--schrift);
  font-size: 0.9375rem;
}
.auth-karte input:focus { border-color: var(--akzent); background: var(--flaeche); }
.auth-karte input:focus-visible { outline: 2px solid var(--akzent); outline-offset: 2px; }
.auth-karte button[type="submit"] {
  margin-top: 4px;
  height: 46px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
}
.auth-karte button[type="submit"]:hover { background: var(--akzent-stark); }
.auth-karte form button.auth-consent-ablehnen { background: var(--neutral-weich); color: var(--text); }
.auth-karte form button.auth-consent-ablehnen:hover { background: var(--linie-stark); }
.auth-fuss { margin-top: 18px; font-size: 0.8125rem; text-align: center; color: var(--text-leise); }
.hinweis { padding: 10px 13px; border-radius: var(--r-md); background: var(--danger-weich); color: var(--danger-stark); font-size: 0.8125rem; font-weight: 600; margin: 0 0 14px; }
.hinweis--erfolg { background: var(--ok-weich); color: var(--ok-stark); }

/* ============================================================================
   17. Übersicht — Dashboard nach dem NOVA-ERP-Referenzlayout

   Die Referenz liefert Hierarchie und Formensprache. Die Inhalte bleiben die
   echten Hof-Daten: keine Beispielumsätze, Prognosen oder erfundenen Nutzer.
   ========================================================================= */
.dashboard { max-width: 80rem; margin: 0 auto; padding-bottom: 20px; }
.dashboard-kopf {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.dashboard-kopf h1 { margin: 2px 0 2px; font-size: clamp(1.55rem, 2.2vw, 2rem); line-height: 1.15; }
.dashboard-kopf p { margin: 0; color: var(--text-leise); font-size: 0.875rem; }
.dashboard-kopf p strong { color: var(--danger-stark); font-weight: 750; }
.dashboard-kicker,
.dashboard-panel-kicker {
  display: block;
  color: var(--text-sehr-leise);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: .09em;
  line-height: 1.3;
  text-transform: uppercase;
}
.dashboard-zeitraum {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid color-mix(in srgb, var(--gold) 35%, var(--linie));
  border-radius: 10px;
  background: var(--flaeche);
  box-shadow: var(--schatten);
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 650;
  white-space: nowrap;
}
.dashboard-zeitraum svg { width: 17px; height: 17px; color: var(--gold-stark); }

.dashboard-kpis {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.dashboard-kpi {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--linie);
  border-radius: var(--r-lg);
  background: var(--flaeche);
  box-shadow: var(--schatten);
  color: var(--text);
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.dashboard-kpi:hover {
  border-color: color-mix(in srgb, var(--akzent) 35%, var(--linie));
  box-shadow: var(--schatten-weit);
  color: var(--text);
  text-decoration: none;
  transform: translateY(-1px);
}
.dashboard-kpi--kritisch {
  border-color: color-mix(in srgb, var(--danger) 30%, var(--linie));
  background: var(--danger-weich);
}
.dashboard-kpi--kritisch .dashboard-kpi-label,
.dashboard-kpi--kritisch .dashboard-kpi-wert { color: var(--danger-stark); }
.dashboard-kpi--kritisch .dashboard-kpi-icon--rot {
  background: var(--danger);
  color: #fff;
}
.dashboard-kpi-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 15px;
}
.dashboard-kpi-icon svg { width: 23px; height: 23px; }
.dashboard-kpi-icon--gruen { background: var(--akzent-weich); color: var(--akzent-stark); }
.dashboard-kpi-icon--blau { background: var(--info-weich); color: var(--info-stark); }
.dashboard-kpi-icon--rot { background: var(--danger-weich); color: var(--danger); }
.dashboard-kpi-inhalt,
.dashboard-kpi-label,
.dashboard-kpi-wert,
.dashboard-kpi-meta { display: block; min-width: 0; }
.dashboard-kpi-inhalt { flex: 1; }
.dashboard-kpi-label { color: var(--text-leise); font-size: 0.75rem; font-weight: 600; }
.dashboard-kpi-wert {
  margin-top: 3px;
  color: var(--text);
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.15;
}
.dashboard-kpi-wert small { color: inherit; font-size: .62em; font-weight: 750; letter-spacing: -.01em; }
.dashboard-kpi-meta { margin-top: 5px; color: var(--text-sehr-leise); font-size: 0.6875rem; line-height: 1.35; }
.dashboard-kpi-meta--positiv { color: var(--ok-stark); font-weight: 700; }
.dashboard-kpi-meta--kritisch { color: var(--danger-stark); font-weight: 700; }

.dashboard-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 14px; }
.dashboard-stapel { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 14px; }
.dashboard-panel {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--linie);
  border-radius: var(--r-lg);
  background: var(--flaeche);
  box-shadow: var(--schatten);
}
.dashboard-panel--abstand { margin-top: 14px; }
.dashboard-panel-kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.dashboard-panel-kopf h2 { margin: 3px 0 0; color: var(--text); font-size: 1rem; line-height: 1.2; }
.dashboard-panel-link { flex: none; color: var(--info-stark); font-size: 0.75rem; font-weight: 700; }
.dashboard-panel-link:hover { color: var(--akzent-stark); text-decoration: none; }
.dashboard-anzahl {
  display: inline-grid;
  place-items: center;
  min-width: 27px;
  height: 27px;
  padding: 0 8px;
  border-radius: var(--r-pill);
  background: var(--akzent-weich);
  color: var(--akzent-stark);
  font-size: 0.75rem;
  font-weight: 800;
}
.dashboard-leer {
  margin: 0;
  padding: 24px 14px;
  border: 1px dashed var(--linie-stark);
  border-radius: var(--r-md);
  background: var(--flaeche-2);
  color: var(--text-leise);
  font-size: 0.8125rem;
  text-align: center;
}

.dashboard-kultur-inhalt { display: grid; grid-template-columns: minmax(180px, .85fr) minmax(210px, 1.15fr); align-items: center; gap: 24px; min-height: 224px; }
.dashboard-donut { position: relative; display: grid; place-items: center; width: min(100%, 220px); aspect-ratio: 1; margin: 0 auto; }
.dashboard-donut > svg { width: 100%; max-width: none !important; filter: drop-shadow(0 8px 16px color-mix(in srgb, var(--text) 10%, transparent)); }
.dashboard-donut-mitte { position: absolute; inset: 29%; display: grid; place-content: center; text-align: center; pointer-events: none; }
.dashboard-donut-mitte strong { display: block; color: var(--text); font-size: 1.2rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.dashboard-donut-mitte span { display: block; margin-top: 4px; color: var(--text-sehr-leise); font-size: 0.625rem; }
.dashboard-legende { display: grid; gap: 2px; }
.dashboard-legende-zeile { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 46px; padding: 7px 4px; border-bottom: 1px solid var(--linie); }
.dashboard-legende-zeile:last-child { border-bottom: 0; }
.dashboard-legende-punkt { width: 9px; height: 9px; border-radius: 50%; background: var(--legenden-farbe); }
.dashboard-legende-name,
.dashboard-legende-wert { display: block; min-width: 0; font-size: 0.75rem; }
.dashboard-legende-name { color: var(--text); font-weight: 650; overflow-wrap: anywhere; }
.dashboard-legende-wert { color: var(--text); font-weight: 750; text-align: right; }
.dashboard-legende-name small,
.dashboard-legende-wert small { display: block; margin-top: 1px; color: var(--text-sehr-leise); font-size: 0.625rem; font-weight: 550; }

.dashboard-aktionsliste,
.dashboard-kompaktliste { margin: 0 -8px -8px; }
.dashboard-aktion,
.dashboard-kompaktzeile {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  min-height: 58px;
  padding: 9px 8px;
  border-bottom: 1px solid var(--linie);
  border-radius: 9px;
  color: var(--text);
}
.dashboard-aktion:last-child,
.dashboard-kompaktzeile:last-child { border-bottom-color: transparent; }
.dashboard-aktion:hover,
.dashboard-kompaktzeile:hover { background: var(--flaeche-2); color: var(--text); text-decoration: none; }
.dashboard-aktion-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 11px;
  background: var(--neutral-weich);
  color: var(--text-leise);
  font-size: 0.875rem;
  font-weight: 800;
}
.dashboard-aktion--kritisch .dashboard-aktion-icon { background: var(--danger-weich); color: var(--danger-stark); }
.dashboard-aktion--bald .dashboard-aktion-icon { background: var(--warn-weich); color: var(--warn-stark); }
.dashboard-aktion--offen .dashboard-aktion-icon { background: var(--info-weich); color: var(--info-stark); }
.dashboard-aktion-text,
.dashboard-kompakttext { display: block; flex: 1; min-width: 0; }
.dashboard-aktion-domain { display: block; color: var(--text-sehr-leise); font-size: 0.5625rem; font-weight: 800; letter-spacing: .08em; line-height: 1.25; text-transform: uppercase; }
.dashboard-aktion-text strong,
.dashboard-kompakttext strong { display: block; color: var(--text); font-size: 0.75rem; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.dashboard-aktion-text small,
.dashboard-kompakttext small { display: block; margin-top: 2px; color: var(--text-leise); font-size: 0.625rem; line-height: 1.35; overflow-wrap: anywhere; }
.dashboard-chevron { flex: none; width: 17px; height: 17px; color: var(--text-sehr-leise); }
.dashboard-erledigt { display: flex; align-items: center; gap: 12px; padding: 22px 6px; }
.dashboard-erledigt > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--ok-weich); color: var(--ok-stark); font-weight: 800; }
.dashboard-erledigt strong,
.dashboard-erledigt small { display: block; }
.dashboard-erledigt strong { font-size: 0.8125rem; }
.dashboard-erledigt small { margin-top: 2px; color: var(--text-leise); font-size: 0.6875rem; }

.dashboard-tabelle { margin: 0 -8px -8px; }
.dashboard-tabelle-kopf,
.dashboard-tabelle-zeile { display: grid; grid-template-columns: minmax(150px, 1.65fr) minmax(100px, 1fr) minmax(72px, .65fr) minmax(120px, 1fr); align-items: center; column-gap: 14px; }
.dashboard-tabelle-kopf { padding: 7px 10px 9px; border-bottom: 1px solid var(--linie); color: var(--text-sehr-leise); font-size: 0.5625rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.dashboard-tabelle-kopf span:last-child { text-align: right; }
.dashboard-tabelle-zeile { min-height: 58px; padding: 8px 10px; border-bottom: 1px solid var(--linie); border-radius: 9px; color: var(--text); font-size: 0.75rem; }
.dashboard-tabelle-zeile:last-child { border-bottom-color: transparent; }
.dashboard-tabelle-zeile:hover { background: var(--flaeche-2); color: var(--text); text-decoration: none; }
.dashboard-tabelle-haupt strong,
.dashboard-tabelle-haupt small,
.dashboard-tabelle-menge strong,
.dashboard-tabelle-menge small { display: block; }
.dashboard-tabelle-haupt strong,
.dashboard-tabelle-menge strong { font-weight: 700; }
.dashboard-tabelle-haupt small,
.dashboard-tabelle-menge small { margin-top: 2px; color: var(--text-sehr-leise); font-size: 0.625rem; font-weight: 550; }
.dashboard-tabelle-menge { text-align: right; }

.dashboard-datum {
  display: grid;
  place-content: center;
  width: 38px;
  min-height: 40px;
  flex: none;
  border-radius: 10px;
  background: var(--akzent-weich);
  color: var(--akzent-stark);
  text-align: center;
}
.dashboard-datum strong { display: block; font-size: 0.875rem; font-weight: 800; line-height: 1; }
.dashboard-datum small { display: block; margin-top: 3px; font-size: 0.5rem; font-weight: 800; letter-spacing: .04em; line-height: 1; text-transform: uppercase; }
.dashboard-notiz-icon,
.dashboard-warnsymbol { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 12px; }
.dashboard-notiz-icon { background: var(--akzent-weich); color: var(--akzent-stark); }
.dashboard-notiz-icon svg { width: 17px; height: 17px; }
.dashboard-warnsymbol { background: var(--warn-weich); color: var(--warn-stark); font-size: 0.875rem; font-weight: 800; }

.dashboard-tanks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.dashboard-tank { display: block; min-width: 0; padding: 15px; border: 1px solid var(--linie); border-radius: 12px; background: var(--flaeche-2); color: var(--text); }
.dashboard-tank:hover { border-color: color-mix(in srgb, var(--akzent) 35%, var(--linie)); color: var(--text); text-decoration: none; }
.dashboard-tank-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dashboard-tank-kopf strong { min-width: 0; font-size: 0.75rem; font-weight: 700; overflow-wrap: anywhere; }
.dashboard-tank-kopf > span { flex: none; font-size: 0.75rem; font-weight: 800; }
.dashboard-tank-wert { display: block; margin-top: 12px; font-size: 1.15rem; font-weight: 800; letter-spacing: -.025em; }
.dashboard-tank-wert small { color: var(--text-leise); font-size: 0.625rem; font-weight: 550; letter-spacing: 0; }
.dashboard-fortschritt { display: block; height: 7px; margin-top: 11px; overflow: hidden; border-radius: var(--r-pill); background: var(--neutral-weich); }
.dashboard-fortschritt i { display: block; width: var(--p, 0%); height: 100%; border-radius: inherit; background: var(--ok); }
.dashboard-tank--bald .dashboard-fortschritt i { background: var(--warn); }
.dashboard-tank--kritisch .dashboard-fortschritt i { background: var(--danger); }
.dashboard-tank--bald .dashboard-tank-kopf > span { color: var(--warn-stark); }
.dashboard-tank--kritisch .dashboard-tank-kopf > span { color: var(--danger-stark); }
.dashboard-tank--ok .dashboard-tank-kopf > span { color: var(--ok-stark); }
.dashboard-tank-meta { display: block; margin-top: 7px; color: var(--text-sehr-leise); font-size: 0.625rem; }

.dashboard-kompaktliste--spalten { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 16px; }
.dashboard-luecken { margin-top: 14px; padding: 0; overflow: hidden; }
.dashboard-luecken > summary { display: flex; align-items: center; gap: 12px; min-height: 70px; padding: 14px 20px; cursor: pointer; list-style: none; }
.dashboard-luecken > summary::-webkit-details-marker { display: none; }
.dashboard-luecken > summary > span:first-child { flex: 1; min-width: 0; }
.dashboard-luecken > summary strong { display: block; margin-top: 3px; font-size: 0.875rem; }
.dashboard-luecken > summary::after { content: "⌄"; color: var(--text-sehr-leise); font-size: 1.1rem; transition: transform .16s ease; }
.dashboard-luecken[open] > summary::after { transform: rotate(180deg); }
.dashboard-luecken-inhalt { padding: 4px 20px 18px; border-top: 1px solid var(--linie); }
.dashboard-luecken-inhalt .m-daten dt,
.dashboard-luecken-inhalt .m-daten dd { font-size: 0.75rem; }

@media (min-width: 38rem) {
  .dashboard-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-tanks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 60rem) {
  .dashboard-raster--sekundaer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-kompaktliste--spalten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 68rem) {
  .dashboard-raster--primaer { grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); }
  .dashboard-raster--arbeit { grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr); align-items: start; }
  .dashboard-tanks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dashboard-panel--wichtig .dashboard-aktionsliste { max-height: 322px; padding-right: 4px; overflow-y: auto; overscroll-behavior: contain; }
}

@media (min-width: 76rem) {
  .dashboard-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 47.99rem) {
  .dashboard { padding-top: 2px; }
  .dashboard-kopf { align-items: center; margin-bottom: 18px; }
  .dashboard-kopf h1 { font-size: 1.5rem; }
  .dashboard-zeitraum { min-height: 38px; padding: 0 11px; font-size: 0.75rem; }
  .dashboard-panel { padding: 16px; }
}

@media (max-width: 41.99rem) {
  .dashboard-kultur-inhalt { grid-template-columns: 1fr; gap: 10px; }
  .dashboard-donut { width: min(72vw, 210px); }
  .dashboard-tabelle-kopf { display: none; }
  .dashboard-tabelle-zeile { grid-template-columns: minmax(0, 1fr) auto; gap: 7px 16px; padding: 12px 10px; }
  .dashboard-tabelle-haupt { grid-column: 1 / -1; padding-bottom: 4px; }
  .dashboard-tabelle-zeile > span:not(:first-child) { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; grid-column: 1 / -1; }
  .dashboard-tabelle-zeile > span:not(:first-child)::before { content: attr(data-label); color: var(--text-sehr-leise); font-size: 0.625rem; font-weight: 650; }
  .dashboard-tabelle-menge { text-align: left; }
  .dashboard-tabelle-menge small { display: none; }
}

@media (max-width: 25rem) {
  .dashboard-kopf { align-items: flex-start; flex-direction: column; gap: 12px; }
  .dashboard-zeitraum { align-self: stretch; justify-content: center; }
}

/* ============================================================================
   18. Übersicht — Erzähl-Gliederung (Rückblick / Jetzt / Nächste Schritte)
       + Verlaufs-Sparklines. Additiv zu Abschnitt 17: bestehende Kacheln und
       Klassen bleiben unverändert, nur neu gruppiert und ergänzt.
   ========================================================================= */
.dashboard-erzaehl-kopf { display: flex; align-items: center; gap: 10px; margin: 30px 0 4px; }
.dashboard-erzaehl-kopf:first-of-type { margin-top: 22px; }
.dashboard-erzaehl-titel {
  flex: none;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-sehr-leise);
  white-space: nowrap;
}
.dashboard-erzaehl-linie {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right,
    color-mix(in srgb, var(--akzent) 50%, transparent) 0%,
    color-mix(in srgb, var(--gold) 50%, transparent) 65%,
    transparent 100%);
}

.dashboard-kpi-verlauf { display: flex; align-items: center; gap: 7px; margin-top: 8px; }
.dashboard-kpi-verlauf svg { flex: none; display: block; color: var(--akzent); }
.dashboard-kpi-verlauf span { font-size: 0.6875rem; font-weight: 700; color: var(--text-sehr-leise); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dashboard-kpi-verlauf span.positiv { color: var(--ok-stark); }
.dashboard-kpi-verlauf span.negativ { color: var(--danger-stark); }

.dashboard-trendkarte { display: flex; align-items: center; gap: 16px; min-height: 76px; }
.dashboard-trendkarte-zahl { flex: none; }
.dashboard-trendkarte-zahl strong { display: block; font-size: 1.4rem; font-weight: 800; letter-spacing: -.03em; color: var(--text); line-height: 1.1; }
.dashboard-trendkarte-zahl small { display: block; margin-top: 2px; color: var(--text-leise); font-size: .6875rem; }
.dashboard-trendkarte svg { flex: none; color: var(--akzent); }
.dashboard-trendkarte-text { flex: 1; min-width: 0; font-size: .8125rem; line-height: 1.4; color: var(--text-leise); }
.dashboard-trendkarte-text b { color: var(--text); }

/* Einmaliges, dezentes Einblenden beim Laden -- kein Scroll-Retrigger (die
   Seite wird mehrmals täglich kurz aufgerufen, wiederholte Bewegung würde
   dabei stören statt gefallen). prefers-reduced-motion killt das global
   bereits oben (Abschnitt "@media (prefers-reduced-motion: reduce)"). */
@keyframes dashboard-einblenden {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.dashboard-kpi,
.dashboard-panel,
.dashboard-erzaehl-kopf { animation: dashboard-einblenden .5s ease both; }
.dashboard-kpis .dashboard-kpi:nth-child(1) { animation-delay: .02s; }
.dashboard-kpis .dashboard-kpi:nth-child(2) { animation-delay: .07s; }
.dashboard-kpis .dashboard-kpi:nth-child(3) { animation-delay: .12s; }
.dashboard-kpis .dashboard-kpi:nth-child(4) { animation-delay: .17s; }

@media print {
  .dashboard-kpi,
  .dashboard-panel { break-inside: avoid; box-shadow: none; }
  .dashboard-raster--primaer,
  .dashboard-raster--arbeit,
  .dashboard-raster--sekundaer { grid-template-columns: 1fr 1fr; }
  .dashboard-erzaehl-kopf,
  .dashboard-kpi,
  .dashboard-panel { animation: none; }
}
