/* Abrechnungen in Excel - Blackfort Technology
   Weißer Grund, Navy für Struktur, Gold nur als Akzent. Systemschrift, Ziffern tabellarisch. */
:root {
  --navy: #0E2246;
  --navy-tief: #07101F;
  --gold: #C49B18;
  --gold-hell: #F6EED3;
  --text: #101828;
  --leise: #475467;
  --linie: #E4E7EC;
  --flaeche: #F8FAFC;
  --weiss: #FFFFFF;
  --rot: #D92D20;      --rot-hell: #FEE4E2;
  --orange: #E87A0C;   --orange-hell: #FFEAD5;
  --gelb: #CA8A04;     --gelb-hell: #FEF7C3;
  --gruen: #079455;    --gruen-hell: #DCFAE6;
  --radius: 10px;
  --schatten: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .06);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text); background: var(--weiss); font-size: 15px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column;
}
.innen { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
main.innen { flex: 1; padding-top: 40px; padding-bottom: 56px; }
a { color: var(--navy); }

.leiste { border-bottom: 1px solid var(--linie); background: var(--weiss); position: sticky; top: 0; z-index: 2; }
.leiste .innen { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.marke img { border-radius: 6px; }
.marke-text { display: flex; flex-direction: column; line-height: 1.2; }
.marke-text strong { font-size: 15px; letter-spacing: .01em; }
.marke-text span { font-size: 13px; color: var(--leise); }

h1 { font-size: 30px; line-height: 1.2; letter-spacing: -.015em; margin: 0 0 10px; font-weight: 650; }
h2 { font-size: 18px; margin: 40px 0 14px; font-weight: 620; }
h3 { font-size: 14px; margin: 0 0 10px; font-weight: 640; color: var(--navy); }
.leise { color: var(--leise); }
.klein { font-size: 13px; }

.raster { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.haupt > p { max-width: 640px; margin: 0 0 24px; }

.ablage-flaeche {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 200px; padding: 28px; text-align: center; cursor: pointer;
  border: 1.5px dashed #C3CAD5; border-radius: 14px; background: var(--flaeche); color: var(--navy);
  transition: border-color .15s, background .15s;
}
.ablage-flaeche:hover, .ablage-flaeche.ueber { border-color: var(--gold); background: var(--gold-hell); }
.ablage-flaeche:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }
.ablage-titel { font-size: 16px; font-weight: 560; color: var(--text); }
.ablage-titel u { text-decoration-color: var(--gold); text-underline-offset: 3px; }
.dateiname { font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; }
.ablage { display: flex; flex-direction: column; gap: 14px; }

.knopf {
  appearance: none; border: 0; border-radius: 8px; background: var(--navy); color: #fff;
  font: inherit; font-weight: 600; padding: 11px 20px; cursor: pointer; align-self: flex-start;
  transition: background .15s, box-shadow .15s;
}
.knopf:hover { background: var(--navy-tief); }
.knopf:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.knopf:disabled { background: #98A2B3; cursor: not-allowed; }
.knopf.gold { background: var(--gold); color: var(--navy-tief); }
.knopf.gold:hover { background: #D9B42A; }
.knopf-leise { appearance: none; border: 1px solid var(--linie); background: #fff; border-radius: 8px; padding: 7px 14px; font: inherit; font-size: 14px; color: var(--text); cursor: pointer; }
.knopf-leise:hover { background: var(--flaeche); }

.meldung { margin: 0; padding: 10px 14px; border-radius: 8px; font-size: 14px; }
.meldung.fehler { background: var(--rot-hell); color: #912018; }

.seite { display: flex; flex-direction: column; gap: 16px; }
.karte { border: 1px solid var(--linie); border-radius: var(--radius); padding: 18px 20px; background: #fff; box-shadow: var(--schatten); }
.karte p { margin: 0; font-size: 14px; color: var(--leise); }
.karte.hinweis { border-left: 3px solid var(--gold); }
.schritte { margin: 0; padding-left: 18px; font-size: 14px; color: var(--leise); display: grid; gap: 10px; }
.schritte strong { color: var(--text); }
.legende { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; color: var(--leise); }
.legende li { display: flex; gap: 10px; align-items: baseline; }
.legende strong { color: var(--text); margin-right: 4px; }
.punkt { width: 10px; height: 10px; border-radius: 3px; flex: none; transform: translateY(1px); }
.punkt.rot { background: var(--rot); } .punkt.orange { background: var(--orange); } .punkt.gelb { background: #EAB308; }

.liste { display: grid; gap: 14px; }
.auftrag { border: 1px solid var(--linie); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--schatten); }
.auftrag-kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.auftrag-name { font-weight: 620; word-break: break-all; }
.marker { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.marker.wartet { background: var(--flaeche); color: var(--leise); border: 1px solid var(--linie); }
.marker.laeuft { background: #EEF4FF; color: var(--navy); }
.marker.fertig { background: var(--gruen-hell); color: #085D3A; }
.marker.fehler { background: var(--rot-hell); color: #912018; }
.balken { height: 6px; border-radius: 999px; background: #EEF0F3; overflow: hidden; margin: 14px 0 8px; }
.balken > span { display: block; height: 100%; background: linear-gradient(90deg, var(--navy), #2B4A85); border-radius: inherit; transition: width .6s ease; }
.auftrag-detail { font-size: 13px; color: var(--leise); display: flex; justify-content: space-between; gap: 12px; }
.auftrag-detail span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.kacheln { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 16px 0; }
.kachel { border-radius: 8px; padding: 10px 12px; background: var(--flaeche); }
.kachel b { display: block; font-size: 22px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.kachel span { font-size: 12px; color: var(--leise); }
.kachel.rot { background: var(--rot-hell); } .kachel.rot b { color: #B42318; }
.kachel.orange { background: var(--orange-hell); } .kachel.orange b { color: #B54708; }
.kachel.gelb { background: var(--gelb-hell); } .kachel.gelb b { color: #A15C07; }
.kachel.gruen { background: var(--gruen-hell); } .kachel.gruen b { color: #067647; }
.auftrag-fuss { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--leise); }

.anmeldung { max-width: 420px; margin: 48px auto 0; }
.formular { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.formular label { font-size: 14px; font-weight: 560; }
.formular input {
  font: inherit; padding: 11px 13px; border: 1px solid #D0D5DD; border-radius: 8px; letter-spacing: .04em;
}
.formular input:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.formular .knopf { margin-top: 6px; }

.fuss { border-top: 1px solid var(--linie); font-size: 12.5px; color: var(--leise); }
.fuss-innen { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 28px; }
.fuss a { color: var(--leise); }

@media (max-width: 900px) {
  .raster { grid-template-columns: 1fr; gap: 32px; }
  .kacheln { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  h1 { font-size: 25px; }
}
@media (max-width: 520px) {
  .innen { padding: 0 16px; }
  .kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .marke-text span { display: none; }
}
