/* hotelbutler – ruhige Creme-Palette im Stil der Hotel-Websites */
:root {
  --creme: #faf7f2;
  --papier: #ffffff;
  --tinte: #2a2723;
  --leise: #8a8378;
  --linie: #e6dfd4;
  --akzent: #a8845c;
  --rot: #b0563f;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0; background: var(--creme); color: var(--tinte);
  font-family: var(--sans); font-size: 15px; line-height: 1.5;
}
a { color: var(--akzent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 0 0 18px; }
h2 { font-family: var(--serif); font-weight: 500; font-size: 18px; margin: 0 0 10px; }
h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--leise); margin: 0 0 6px; }
main { max-width: 1080px; margin: 26px auto; padding: 0 22px; }
main.breit { max-width: none; }
.leise-text { color: var(--leise); font-weight: normal; font-size: .92em; }

/* ---------------------------------------------------------------- Topbar */
.topbar {
  display: flex; align-items: center; gap: 22px;
  background: var(--papier); border-bottom: 1px solid var(--linie);
  padding: 10px 22px; position: sticky; top: 0; z-index: 50;
}
.burger {
  display: none; margin-left: auto; font-size: 22px; line-height: 1;
  background: none; border: 1px solid var(--linie); border-radius: 8px;
  padding: 7px 12px; cursor: pointer; color: var(--tinte);
}
.topbar-menue { display: flex; align-items: center; gap: 22px; flex: 1; }
.marke { font-family: var(--serif); font-size: 21px; color: var(--tinte); }
.marke span { color: var(--akzent); }
.marke.gross { font-size: 32px; }
.topbar nav { display: flex; gap: 4px; flex: 1; }
.topbar nav a {
  color: var(--tinte); padding: 6px 12px; border-radius: 6px; font-size: 14px;
}
.topbar nav a:hover { background: var(--creme); text-decoration: none; }
.topbar nav a.aktiv { background: var(--creme); box-shadow: inset 0 -2px 0 var(--hausfarbe, var(--akzent)); }
.topbar-rechts { display: flex; align-items: center; gap: 14px; }
.nutzer { font-size: 13px; color: var(--leise); }
.leise { color: var(--leise); font-size: 14px; }

/* ---------------------------------------------------------------- Knöpfe */
.knopf {
  display: inline-block; background: var(--tinte); color: #fff; border: none;
  padding: 8px 16px; border-radius: 7px; font-size: 14px; cursor: pointer;
  font-family: var(--sans);
}
.knopf:hover { background: #453f38; text-decoration: none; }
.knopf.hell { background: var(--papier); color: var(--tinte); border: 1px solid var(--linie); }
.knopf.hell:hover { background: var(--creme); }
.knopf.rot { background: var(--rot); }
.knopf.klein { padding: 6px 12px; font-size: 13px; }
.knopf.voll { width: 100%; }

/* -------------------------------------------------------------- Meldungen */
.meldung { padding: 10px 14px; border-radius: 8px; margin-bottom: 14px; font-size: 14px; }
.meldung.ok { background: #e6efe2; border: 1px solid #c4d8bc; }
.meldung.fehler { background: #f6e3dd; border: 1px solid #e4bdb0; }

/* ----------------------------------------------------------------- Karten */
.karte {
  background: var(--papier); border: 1px solid var(--linie); border-radius: 12px;
  padding: 18px 20px; box-shadow: 0 1px 2px rgba(42, 39, 35, .04);
}
.karten-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }
.haus-karte { border-top: 3px solid var(--hausfarbe, var(--akzent)); display: flex; flex-direction: column; gap: 12px; }
.haus-karte header { display: flex; align-items: baseline; justify-content: space-between; }
.haus-karte h2 { margin: 0; }
.haus-karte footer { display: flex; gap: 10px; margin-top: auto; }
.auslastung { display: flex; flex-direction: column; gap: 5px; font-size: 13px; }
.auslastung .balken { height: 8px; background: var(--creme); border-radius: 4px; overflow: hidden; }
.auslastung .balken div { height: 100%; background: var(--hausfarbe, var(--akzent)); border-radius: 4px; }
.tageslisten { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tageslisten ul { list-style: none; margin: 0; padding: 0; font-size: 13.5px; display: flex; flex-direction: column; gap: 3px; }

/* ----------------------------------------------------------------- Badges */
.status-badge, .kanal-badge, .typ-badge {
  display: inline-block; font-size: 11.5px; padding: 2px 8px; border-radius: 10px;
  vertical-align: 2px;
}
.kanal-badge { background: var(--creme); border: 1px solid var(--linie); color: var(--leise); }
.typ-badge { background: #efe7f5; border: 1px solid #d8c8e6; color: #6b5384; }
.status-badge.option { background: #f5ecd2; color: #8a6d1f; }
.status-badge.bestaetigt { background: #e2eddc; color: #47663c; }
.status-badge.eingecheckt { background: #dde9f2; color: #33566e; }
.status-badge.ausgecheckt { background: #eceae6; color: var(--leise); }
.status-badge.storniert { background: #f6e3dd; color: var(--rot); }

/* ---------------------------------------------------------- Belegungsplan */
.plan-kopf { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.plan-kopf h1 { margin: 0; border-left: 4px solid var(--hausfarbe, var(--akzent)); padding-left: 12px; }
.plan-nav { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.fenster-wahl { display: inline-flex; }
.fenster-wahl .knopf { border-radius: 0; }
.fenster-wahl .knopf:first-child { border-radius: 7px 0 0 7px; }
.fenster-wahl .knopf:last-child { border-radius: 0 7px 7px 0; border-left: none; }
.fenster-wahl .knopf.gewaehlt { background: var(--tinte); color: #fff; border-color: var(--tinte); }
.legende { display: flex; gap: 16px; align-items: center; font-size: 13px; margin: 12px 0; color: var(--leise); }
.legende .lg { display: inline-block; width: 14px; height: 10px; border-radius: 3px; margin-right: 5px; }
.lg.option { background: #ecd9a0; }
.lg.bestaetigt { background: #a5c39a; }
.lg.eingecheckt { background: #8fb2cb; }
.lg.ausgecheckt { background: #cfcac2; }
.plan-wrap { overflow: auto; max-height: calc(100vh - 235px); background: var(--papier); border: 1px solid var(--linie); border-radius: 12px; }
table.plan { border-collapse: separate; border-spacing: 0; font-size: 12.5px; width: max-content; min-width: 100%; }
.plan th, .plan td { border-right: 1px solid #f0ebe2; border-bottom: 1px solid #f0ebe2; }
.plan thead th { background: var(--papier); position: sticky; top: 30px; z-index: 5; }
.plan .monate th { font-family: var(--serif); font-weight: 500; font-size: 13px; padding: 0 8px; height: 30px; top: 0; text-align: left; border-bottom: 1px solid var(--linie); }
.plan th.tag { min-width: 38px; height: 46px; padding: 4px 0 5px; font-weight: normal; text-align: center; }
.plan th.tag .wt { display: block; font-size: 10px; color: var(--leise); text-transform: uppercase; }
.plan th.tag .tg { font-size: 13px; }
.plan th.tag.we { background: #f6f1e8; }
.plan th.tag.heute { background: var(--tinte); color: #fff; border-radius: 0; }
.plan th.tag.heute .wt { color: #d8d2c8; }
.zimmer-spalte {
  position: sticky; left: 0; background: var(--papier); z-index: 6;
  min-width: 86px; padding: 3px 10px; text-align: left; font-weight: normal;
  border-right: 1px solid var(--linie) !important;
}
.plan thead .zimmer-spalte { z-index: 7; }
.zimmer-spalte .nr { font-weight: 600; margin-right: 6px; }
.zimmer-spalte .kat { font-size: 10.5px; color: var(--leise); }
.kategorie-zeile td {
  background: #f3eee5; font-family: var(--serif); font-size: 13px;
  padding: 4px 10px; position: sticky; left: 0;
}
.plan td.frei { height: 30px; padding: 0; }
.plan td.frei a { display: block; width: 100%; height: 30px; }
.plan td.frei a:hover { background: #efe9dd; }
.plan td.frei.we { background: #faf6ee; }
.plan td.frei.heute { background: #f2ede3; box-shadow: inset 2px 0 0 var(--tinte); }
.plan td.belegt { padding: 0; height: 30px; }
.plan td.belegt a {
  display: flex; align-items: center; gap: 5px; height: 26px; margin: 2px 2px;
  border-radius: 6px; padding: 0 7px; color: var(--tinte); font-size: 12px;
  white-space: nowrap; overflow: hidden; text-decoration: none;
}
.plan td.belegt.links-offen a { border-top-left-radius: 0; border-bottom-left-radius: 0; margin-left: 0; }
.plan td.belegt.rechts-offen a { border-top-right-radius: 0; border-bottom-right-radius: 0; margin-right: 0; }
.plan td.belegt.option a { background: #ecd9a0; }
.plan td.belegt.bestaetigt a { background: #a5c39a; }
.plan td.belegt.eingecheckt a { background: #8fb2cb; }
.plan td.belegt.ausgecheckt a { background: #cfcac2; color: #6d675e; }
.plan td.belegt a:hover { filter: brightness(.94); }
.firma-punkt { font-size: 9px; opacity: .65; }
.kanal-mini { font-size: 10px; opacity: .7; background: rgba(255, 255, 255, .5); padding: 0 5px; border-radius: 7px; }

/* --------------------------------------------------------------- Formular */
.formular { max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.formular label { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; flex: 1; }
.formular label.schmal { flex: 0 0 130px; }
.formular input, .formular select, .formular textarea {
  font: inherit; padding: 8px 10px; border: 1px solid var(--linie); border-radius: 7px;
  background: var(--creme); color: var(--tinte); width: 100%;
}
.formular input:focus, .formular select:focus, .formular textarea:focus {
  outline: 2px solid var(--akzent); outline-offset: 0; background: #fff;
}
.feld-zeile { display: flex; gap: 14px; }
.feld-gruppe { border: 1px dashed var(--linie); border-radius: 9px; padding: 12px; display: flex; flex-direction: column; gap: 10px; background: var(--creme); }
.typ-wahl { border: none; padding: 0; margin: 0; display: flex; gap: 12px; }
.typ-wahl legend { font-size: 13.5px; margin-bottom: 6px; }
.radio-karte {
  flex: 1; flex-direction: row !important; gap: 10px !important; align-items: flex-start;
  border: 1px solid var(--linie); border-radius: 9px; padding: 11px 13px; cursor: pointer;
}
.radio-karte:has(input:checked) { border-color: var(--akzent); background: #f6efe6; }
.radio-karte input { width: auto; margin-top: 3px; }
.radio-karte small { color: var(--leise); }
.formular-fuss { display: flex; align-items: center; gap: 16px; }

/* ------------------------------------------------------------ Detailseiten */
.detail-kopf { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.detail-kopf h1 { margin: 0; }
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; align-items: start; }
.karte.breit-2 { grid-column: span 2; }
dl { display: grid; grid-template-columns: 130px 1fr; gap: 6px 12px; margin: 0; font-size: 14px; }
dt { color: var(--leise); }
dd { margin: 0; }
.aktions-zeile { display: flex; gap: 10px; align-items: flex-end; margin-bottom: 12px; }
.aktions-zeile label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.aktions-zeile select { font: inherit; padding: 7px 9px; border: 1px solid var(--linie); border-radius: 7px; background: var(--creme); }
section.karte form { margin-bottom: 10px; }

/* ----------------------------------------------------------------- Listen */
table.liste { width: 100%; border-collapse: collapse; background: var(--papier); border: 1px solid var(--linie); border-radius: 12px; overflow: hidden; font-size: 14px; }
.liste th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--leise); font-weight: 600; }
.liste th, .liste td { padding: 9px 14px; border-bottom: 1px solid #f0ebe2; }
.liste tbody tr:hover { background: #fcfaf6; }
.liste .rechts, th.rechts { text-align: right; }
.suchzeile { display: flex; gap: 10px; margin-bottom: 16px; max-width: 480px; }
.suchzeile input { flex: 1; font: inherit; padding: 8px 12px; border: 1px solid var(--linie); border-radius: 7px; background: var(--papier); }
.einfache-liste { margin: 0; padding-left: 18px; font-size: 14px; }
.einfache-liste li { margin-bottom: 3px; }

/* ------------------------------------------------------------- Verwaltung */
.farb-punkt { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 4px; vertical-align: -1px; }
.formular.schlicht { gap: 10px; }
input.mini { width: 90px !important; }
.liste.kompakt input, .liste.kompakt select {
  font: inherit; padding: 5px 8px; border: 1px solid var(--linie); border-radius: 6px;
  background: var(--creme); width: 100%;
}
.liste.kompakt td { padding: 6px 8px; }
.neu-zeile td { background: #fcf9f3; }
.zimmer-neu { display: flex; gap: 10px; margin-bottom: 14px; }
.zimmer-neu input, .zimmer-neu select {
  font: inherit; padding: 7px 10px; border: 1px solid var(--linie); border-radius: 7px; background: var(--creme);
}
.zimmer-neu input { flex: 1; }
.zimmer-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 8px; margin-bottom: 12px; }
.zimmer-kachel { display: flex; gap: 5px; align-items: center; border: 1px solid var(--linie); border-radius: 8px; padding: 5px 6px; background: #fcfaf6; }
.zimmer-kachel input { width: 52px; font: inherit; padding: 4px 6px; border: 1px solid var(--linie); border-radius: 5px; background: #fff; }
.zimmer-kachel select { flex: 1; min-width: 0; font-size: 12px; padding: 4px 4px; border: 1px solid var(--linie); border-radius: 5px; background: #fff; }
.zimmer-loeschen { border: none; background: none; color: var(--leise); font-size: 15px; cursor: pointer; padding: 0 3px; }
.zimmer-loeschen:hover:not(:disabled) { color: var(--rot); }
.zimmer-loeschen:disabled { opacity: .3; cursor: not-allowed; }

/* -------------------------------------------------------------- Drag&Drop */
.plan td.belegt a[draggable] { cursor: grab; }
.plan td.belegt a.wird-gezogen { opacity: .45; }
.plan td.frei.drop-ziel { background: #e6dcc4 !important; box-shadow: inset 0 0 0 2px var(--akzent); }

/* ------------------------------------------------------------ Housekeeping */
.hk-kopf { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.hk-kopf h1 { margin: 0; border-left: 4px solid var(--hausfarbe, var(--akzent)); padding-left: 12px; }
.hk-haeuser { display: flex; gap: 8px; }
.hk-stand { font-size: 16px; margin: 14px 0; }
.hk-abschnitt { margin-bottom: 22px; }
.hk-abschnitt h2 { margin-bottom: 10px; }
.hk-zimmer {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--papier); border: 1px solid var(--linie); border-radius: 12px;
  padding: 12px 16px; margin-bottom: 8px;
}
.hk-zimmer.dringend { border-color: #d9a05b; background: #fdf6ec; box-shadow: inset 3px 0 0 #d9a05b; }
.hk-info { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.hk-nummer { font-size: 22px; font-weight: 700; font-family: var(--serif); min-width: 52px; }
.hk-kat { color: var(--leise); font-size: 13.5px; }
.hk-hinweis { font-size: 13.5px; }
.hk-fertig { font-size: 16px; padding: 12px 22px; border-radius: 10px; }
.hk-erledigt { display: flex; flex-wrap: wrap; gap: 6px; }
.hk-chip {
  display: inline-flex; align-items: center; gap: 4px; font-size: 13px;
  background: #e9efe4; border: 1px solid #cfdec6; border-radius: 8px; padding: 3px 8px;
}
.hk-chip.kontrolliert { background: #dde9f2; border-color: #bfd4e4; }
.hk-chip form { display: inline; }
.hk-mini { border: none; background: none; cursor: pointer; font-size: 12px; padding: 0 2px; opacity: .55; }
.hk-mini:hover { opacity: 1; }
@media (max-width: 640px) {
  .hk-zimmer { flex-direction: row; }
  .hk-fertig { padding: 14px 18px; }
}

/* ------------------------------------------------------ Mobil: Menü & Plan */
@media (max-width: 940px) {
  .topbar { flex-wrap: wrap; padding: 10px 14px; gap: 10px; }
  .burger { display: block; }
  .topbar-menue { display: none; }
  .topbar-menue.offen {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    flex-basis: 100%; border-top: 1px solid var(--linie);
    margin-top: 8px; padding-top: 8px;
  }
  .topbar-menue nav { flex-direction: column; gap: 2px; }
  .topbar-menue nav a { font-size: 16px; padding: 12px 10px; border-radius: 8px; }
  .topbar-menue nav a.aktiv { box-shadow: inset 3px 0 0 var(--hausfarbe, var(--akzent)); }
  .topbar-rechts {
    flex-direction: column; align-items: stretch; gap: 8px;
    border-top: 1px solid var(--linie); margin-top: 8px; padding-top: 12px;
  }
  .topbar-rechts .knopf { text-align: center; padding: 12px; font-size: 16px; }
  .topbar-rechts .nutzer, .topbar-rechts .leise { font-size: 15px; padding: 6px 10px; }
}

@media (max-width: 700px) {
  main { margin: 14px auto; padding: 0 12px; }
  h1 { font-size: 22px; }
  /* iOS zoomt bei Feldern unter 16px automatisch – deshalb überall 16px */
  input, select, textarea { font-size: 16px !important; }
  /* Belegungsplan: größere Zellen und Schrift für Touch */
  .plan-wrap { max-height: calc(100vh - 190px); }
  table.plan { font-size: 14px; }
  .plan th.tag { min-width: 48px; height: 50px; }
  .plan th.tag .tg { font-size: 15px; }
  .plan th.tag .wt { font-size: 11px; }
  .auslastung-zeile th { top: 80px; font-size: 12px; height: 24px; }
  .zimmer-spalte { min-width: 74px; padding: 3px 7px; }
  .zimmer-spalte .kat { display: none; }
  .plan td.frei { height: 40px; }
  .plan td.frei a { height: 40px; }
  .plan td.belegt { height: 40px; }
  .plan td.belegt a { height: 36px; font-size: 14px; padding: 0 8px; }
  .kategorie-zeile td { font-size: 14px; padding: 6px 8px; }
  .legende { font-size: 12px; gap: 10px; flex-wrap: wrap; row-gap: 4px; }
  .plan-nav .knopf { padding: 9px 12px; font-size: 14px; }
  .karte { padding: 14px 14px; }
  .karte.breit-2 { grid-column: auto; }
  table.liste { display: block; overflow-x: auto; }
}

/* -------------------------------------------------- Reinigungsstatus im Plan */
.reinigung-punkt { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; }
.reinigung-punkt.sauber { background: #8fbb82; }
.reinigung-punkt.schmutzig { background: #cf6a4d; }
.reinigung-punkt.kontrolliert { background: #6f9cbf; }

/* ------------------------------------------------------------------ Sperren */
.plan td.belegt.gesperrt a {
  background: repeating-linear-gradient(45deg, #e8e2d6, #e8e2d6 6px, #d9d1c1 6px, #d9d1c1 12px);
  color: #6d675e;
}
.sperre-aufklappen { position: relative; }
.sperre-aufklappen summary { list-style: none; cursor: pointer; display: inline-block; }
.sperre-aufklappen summary::-webkit-details-marker { display: none; }
.sperre-formular {
  position: absolute; top: 42px; left: 0; z-index: 40; display: flex; flex-direction: column; gap: 8px;
  background: var(--papier); border: 1px solid var(--linie); border-radius: 10px;
  padding: 12px; box-shadow: 0 8px 24px rgba(42, 39, 35, .12); min-width: 230px;
}
.sperre-formular select, .sperre-formular input {
  font: inherit; padding: 7px 9px; border: 1px solid var(--linie); border-radius: 7px; background: var(--creme);
}

/* ------------------------------------------------------------------ Kanäle */
.kanal-notfall { display: flex; gap: 10px; }
.kanal-tabelle td { padding: 6px 10px; }
.kanal-tabelle form { display: inline; }
.meldung.hinweis { background: #eef2f6; border: 1px solid #d3dde6; }

/* -------------------------------------------------------------- Meldeschein */
.meldeschein { max-width: 720px; }
.melde-tabelle { width: 100%; border-collapse: collapse; margin-top: 12px; }
.melde-tabelle th, .melde-tabelle td { border: 1px solid #b9b1a3; padding: 9px 10px; text-align: left; font-size: 13.5px; }
.melde-tabelle th { width: 22%; background: #f6f2ea; font-weight: 600; }
.melde-tabelle td.handfeld { min-width: 140px; }
.unterschrift { display: flex; gap: 40px; margin-top: 44px; font-size: 12.5px; color: var(--leise); }
.unterschrift > div { flex: 1; }
.unterschrift .linie { display: block; border-bottom: 1px solid var(--tinte); height: 26px; margin-bottom: 4px; }

/* ---------------------------------------------------------------- Rechnung */
.rechnung-blatt { max-width: 820px; padding: 30px 36px; }
.rechnung-briefkopf {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 20px;
  border-bottom: 3px solid var(--hausfarbe, var(--akzent)); padding-bottom: 14px; margin-bottom: 20px;
}
.rechnung-haus { font-family: var(--serif); font-size: 22px; }
.rechnung-meta { text-align: right; font-size: 13.5px; line-height: 1.6; }
.rechnung-empfaenger { font-size: 14.5px; line-height: 1.5; margin-bottom: 20px; min-height: 60px; }
.rechnung-positionen td, .rechnung-positionen th { font-size: 13.5px; }
.rechnung-summen {
  margin-top: 14px; margin-left: auto; max-width: 340px; font-size: 14px;
  display: flex; flex-direction: column; gap: 4px;
}
.rechnung-summen > div { display: flex; justify-content: space-between; gap: 20px; }
.rechnung-summen .gesamt { border-top: 1px solid var(--tinte); margin-top: 4px; padding-top: 6px; font-weight: 700; }
.zahlung-formular { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-top: 12px; }
.zahlung-formular label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.zahlung-formular input, .zahlung-formular select {
  font: inherit; padding: 7px 9px; border: 1px solid var(--linie); border-radius: 7px; background: var(--creme);
}
.zahlung-formular input[name="betrag"] { width: 100px; }
.zahlung-formular input[name="notiz"] { width: 130px; }
.schmal-input { width: 90px; }
#positionen input, #positionen select {
  font: inherit; padding: 6px 8px; border: 1px solid var(--linie); border-radius: 6px;
  background: var(--creme); width: 100%;
}

/* ------------------------------------------------- Auslastungszeile im Plan */
.auslastung-zeile th { top: 76px; font-size: 10.5px; font-weight: 600; height: 20px;
  padding: 2px 0; text-align: center; border-bottom: 1px solid var(--linie); }
.auslastung-zeile .zimmer-spalte { font-size: 10.5px; color: var(--leise); font-weight: normal; }
.auslastung-zeile .ausl-0 { background: #f7f4ee; color: var(--leise); }
.auslastung-zeile .ausl-1 { background: #efe5d2; color: #7a6a4d; }
.auslastung-zeile .ausl-2 { background: #e3cda4; color: #64512f; }
.auslastung-zeile .ausl-3 { background: #cfa96a; color: #fff; }
.auslastung-zeile .ausl-4 { background: #b0834a; color: #fff; }

/* ----------------------------------------------------------- 2FA-Eingaben */
.code-eingabe { letter-spacing: 4px; font-size: 18px; text-align: center; }
.secret-anzeige {
  font-family: ui-monospace, Menlo, monospace; font-size: 17px; letter-spacing: 2px;
  background: var(--creme); border: 1px dashed var(--linie); border-radius: 9px;
  padding: 12px 14px; text-align: center; word-break: break-all;
}
a.nutzer:hover { text-decoration: underline; }

/* ------------------------------------------------------------- Tresor-Codes */
.tresor-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.tresor-raster label { display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; color: var(--leise); }
.tresor-raster input {
  font: inherit; padding: 6px 8px; border: 1px solid var(--linie); border-radius: 6px;
  background: var(--creme); width: 100%; letter-spacing: 2px;
}
.summen-zeile td { border-top: 1px solid var(--tinte); }

/* -------------------------------------------------------------------- Druck */
.nur-druck { display: none; }
@media print {
  .topbar, .keine-druckansicht, .meldung { display: none !important; }
  .nur-druck { display: block; }
  body { background: #fff; }
  main { max-width: none; margin: 0; }
  .karte { border: none; box-shadow: none; padding: 6px 0; }
  .detail-grid { display: block; }
}

/* ------------------------------------------------------------------ Login */
.login-karte {
  max-width: 380px; margin: 9vh auto; background: var(--papier);
  border: 1px solid var(--linie); border-radius: 14px; padding: 34px 36px;
  display: flex; flex-direction: column; gap: 14px; text-align: center;
  box-shadow: 0 8px 30px rgba(42, 39, 35, .07);
}
.login-karte .untertitel { color: var(--leise); font-size: 13.5px; margin: -8px 0 6px; }
.login-karte form { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.login-karte label { font-size: 13px; display: flex; flex-direction: column; gap: 4px; }
.login-karte input { font: inherit; padding: 9px 11px; border: 1px solid var(--linie); border-radius: 7px; background: var(--creme); }
.demo-hinweis { font-size: 12.5px; color: var(--leise); background: var(--creme); border-radius: 9px; padding: 10px 12px; text-align: left; }
.demo-hinweis code { background: #fff; padding: 0 4px; border-radius: 4px; }
