/* Burger Factory Zentrale – Farben laut Branding: Fresh Veggie #ACE900, Soft Bun #F8FBEF, Grill #0E0E0E */
:root { --gruen: #ACE900; --creme: #F8FBEF; --grill: #0E0E0E; --grau: #5c5f55; --linie: #dfe3d3; --warn: #b3261e; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--creme); color: var(--grill); font: 16px/1.5 "Gantari", system-ui, sans-serif; }
a { color: var(--grill); }
h1, h2, h3 { font-weight: 800; text-transform: uppercase; letter-spacing: .02em; line-height: 1.15; }
h1 { font-size: 1.7rem; margin: .4rem 0 1rem; display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
h2 { font-size: 1.05rem; margin: 0 0 .8rem; }
h3 { font-size: .9rem; margin: 1.2rem 0 .4rem; color: var(--grau); }
pre { white-space: pre-wrap; word-break: break-word; font: inherit; margin: 0; }
.kopf { background: var(--grill); color: #fff; padding: .7rem 16px; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; }
.marke { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--gruen); font-weight: 800; text-transform: uppercase; }
.marke img { height: 26px; width: auto; }
nav { display: flex; flex-wrap: wrap; gap: .2rem; }
nav a { color: #fff; text-decoration: none; padding: .35rem .7rem; border-radius: 999px; font-weight: 600; font-size: .95rem; }
nav a:hover { background: #222; }
nav a.aktiv { background: var(--gruen); color: var(--grill); }
.zahl { background: var(--gruen); color: var(--grill); border-radius: 999px; padding: 0 .45rem; font-size: .8rem; }
nav a.aktiv .zahl { background: var(--grill); color: var(--gruen); }
main { max-width: 980px; margin: 0 auto; padding: 1rem 16px 3rem; }
footer { max-width: 980px; margin: 0 auto; padding: 1rem 16px 2rem; display: flex; justify-content: space-between; align-items: center; color: var(--grau); font-weight: 800; font-size: .8rem; }
.karte { background: #fff; border: 1px solid var(--linie); border-radius: 14px; padding: 1.1rem 1.2rem; margin: 0 0 1rem; }
.schmal { max-width: 420px; } .mitte { margin: 3rem auto; text-align: center; }
.pandy { width: 84px; height: auto; }
.meta { color: var(--grau); margin: -.4rem 0 1rem; }
.leer { color: var(--grau); }
.hinweis { background: var(--gruen); padding: .7rem 1rem; border-radius: 10px; margin-bottom: 1rem; font-weight: 600; }
.hinweis.warn { background: #fde8e6; color: var(--warn); }
.kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .8rem; margin-bottom: 1rem; }
.kachel { background: #fff; border: 1px solid var(--linie); border-radius: 14px; padding: 1rem; text-decoration: none; color: var(--grau); font-weight: 600; }
.kachel b { display: block; font-size: 2rem; color: var(--grill); font-weight: 800; }
.kachel.warn { background: var(--grill); color: #ddd; } .kachel.warn b { color: var(--gruen); }
.zeile { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "nr text status" "nr text zeit"; gap: 0 .8rem;
  padding: .65rem 0; border-top: 1px solid var(--linie); text-decoration: none; color: inherit; align-items: center; }
.zeile:first-of-type { border-top: 0; }
.zeile:hover .text { text-decoration: underline; }
.zeile .nr { grid-area: nr; font-weight: 800; color: var(--grau); }
.zeile .text { grid-area: text; min-width: 0; }
.zeile .status { grid-area: status; justify-self: end; }
.zeile time { grid-area: zeit; justify-self: end; color: var(--grau); font-size: .8rem; }
.status { font-size: .78rem; font-weight: 800; text-transform: uppercase; padding: .15rem .55rem; border-radius: 999px; background: var(--linie); white-space: nowrap; }
.s-wartet_auf_freigabe { background: var(--gruen); }
.s-in_ausfuehrung, .s-in_vorbereitung { background: var(--grill); color: var(--gruen); }
.s-angehalten, .s-fehlgeschlagen { background: #fde8e6; color: var(--warn); }
.s-erledigt { background: #e8f3d0; } .s-abgelehnt { background: #eee; color: var(--grau); }
.filter { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.filter a { text-decoration: none; padding: .3rem .75rem; border-radius: 999px; border: 1px solid var(--linie); background: #fff; font-size: .9rem; }
.filter a.aktiv { background: var(--grill); color: #fff; border-color: var(--grill); }
dl { margin: 0; } dt { font-weight: 800; font-size: .8rem; text-transform: uppercase; color: var(--grau); margin-top: .8rem; }
dd { margin: .15rem 0 0; } dd ul { margin: 0; padding-left: 1.2rem; }
.entwurf { background: var(--creme); padding: .8rem 1rem; border-radius: 10px; }
.knoepfe { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: .6rem; }
button { font: inherit; font-weight: 800; border-radius: 999px; padding: .6rem 1.15rem; cursor: pointer; border: 2px solid var(--grill); }
button.haupt { background: var(--gruen); color: var(--grill); }
button.zweit { background: var(--grill); color: #fff; }
button.leise { background: transparent; color: var(--grill); }
button.klein { padding: .2rem .7rem; font-size: .82rem; }
button:hover { filter: brightness(.95); }
.block { display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; }
.block label { font-weight: 600; }
.block button { align-self: flex-start; }
textarea, input, select { font: inherit; width: 100%; padding: .6rem .75rem; border: 1px solid #c9cdbd; border-radius: 10px; background: #fff; color: var(--grill); }
textarea:focus, input:focus, select:focus { outline: 3px solid var(--gruen); border-color: var(--grill); }
.neu { border-top: 1px dashed var(--linie); padding-top: 1rem; }
.haken { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.haken label { display: flex; gap: .4rem; align-items: center; font-weight: 600; }
.haken input { width: auto; }
.eintrag { border-top: 1px solid var(--linie); padding: .55rem 0; }
.eintrag summary { cursor: pointer; } .eintrag summary em { color: var(--grau); }
.eintrag time, .alt time, .meldung time { color: var(--grau); font-size: .8rem; margin-left: .4rem; }
.eintrag form { margin-top: .6rem; }
.alt { color: var(--grau); text-decoration: line-through; margin: .3rem 0; }
.zeile2 { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--linie); }
.zeile2.gesperrt { opacity: .5; }
.meldung { border-top: 1px solid var(--linie); padding: .7rem 0; }
.meldung time { display: block; margin: 0 0 .25rem; }
.meldung pre { font-size: .92rem; max-height: 22rem; overflow: auto; }
.verlauf { padding-left: 1.2rem; margin: 0; } .verlauf li { margin-bottom: .5rem; }
.verlauf pre { color: var(--grau); font-size: .85rem; }
.tab { width: 100%; border-collapse: collapse; font-size: .88rem; }
.tab th, .tab td { text-align: left; padding: .4rem .5rem; border-top: 1px solid var(--linie); vertical-align: top; }
.tab .det { color: var(--grau); word-break: break-word; }
.dok { font-family: ui-monospace, Menlo, monospace; font-size: .85rem; }
@media (max-width: 640px) {
  h1 { font-size: 1.35rem; }
  .karte { padding: 1rem; }
  .tab th:nth-child(5), .tab td:nth-child(5) { display: none; }
  .zeile2 { flex-direction: column; align-items: flex-start; gap: .3rem; }
  .zeile { grid-template-columns: auto 1fr; grid-template-areas: "nr text" "nr status" "nr zeit"; gap: .25rem .7rem; }
  .zeile .status, .zeile time { justify-self: start; }
  .status { white-space: normal; }
}
.befehl { font-size: 1.8rem; font-weight: 800; background: var(--grill); color: var(--gruen); display: inline-block; padding: .3rem 1.2rem; border-radius: 12px; }
a.knopf { display: inline-block; text-decoration: none; font-weight: 800; border-radius: 999px; padding: .6rem 1.15rem; border: 2px solid var(--grill); }
a.knopf.haupt { background: var(--gruen); color: var(--grill); }
input[type=file] { padding: .5rem; }
.hervor { border: 2px solid var(--gruen); }
.eintrag.offen p { margin: .2rem 0; }
.abteilung { border-top: 1px solid var(--linie); padding: .6rem 0; }
.abteilung p { margin: .2rem 0; }
.st-aktiv { background: var(--gruen); } .st-teilweise { background: #e8f3d0; } .st-wartet { background: #eee; color: var(--grau); }
.raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .6rem; }
.raster label { display: flex; flex-direction: column; gap: .2rem; font-size: .85rem; font-weight: 600; }
.raster button { grid-column: 1 / -1; }
small.meta { margin: 0; font-weight: 400; text-transform: none; letter-spacing: 0; }
