/* Admin-Bereich (Browser am Computer) */
:root { font-size: 17px; }
.rahmen { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.seitenleiste {
  background: #292524; color: #fff; padding: 1.2rem .8rem; position: sticky; top: 0; height: 100vh; overflow: auto;
  display: flex; flex-direction: column; gap: .25rem;
}
.seitenleiste .marke { font-weight: 900; font-size: 1.2rem; padding: 0 .6rem 1rem; }
.seitenleiste a {
  color: #e7e5e4; text-decoration: none; padding: .75rem .8rem; border-radius: 10px; font-weight: 700; display: block;
}
.seitenleiste a:hover { background: #44403c; }
.seitenleiste a.an { background: var(--haupt); color: #fff; }
.seitenleiste .unten { margin-top: auto; }
.seitenleiste button { width: 100%; background: transparent; color: #e7e5e4; border-color: #57534e; }
.seitenleiste button:hover { background: #44403c; }
.hauptteil { padding: 1.5rem 2rem 4rem; max-width: 1300px; width: 100%; }
.seitenkopf { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.seitenkopf h1 { margin: 0; }
.raster2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.raster3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1rem; }
@media (max-width: 900px) {
  .rahmen { grid-template-columns: 1fr; }
  .seitenleiste { position: static; height: auto; flex-direction: row; flex-wrap: wrap; }
  .seitenleiste .unten { margin-top: 0; }
  .hauptteil { padding: 1rem; }
  .raster2, .raster3 { grid-template-columns: 1fr; }
}
.wochen-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 1rem; align-items: start; }
.wochen-admin .tag { margin: 0; }

/* Bestell-Raster */
.raster-tabelle th, .raster-tabelle td { text-align: center; padding: .35em; }
.raster-tabelle th:first-child, .raster-tabelle td:first-child { text-align: left; }
.raster-tabelle input { width: 64px; min-height: 44px; text-align: center; font-size: 1.15rem; font-weight: 800; padding: .2em; }
.raster-tabelle input.voll { background: var(--haupt-hell); border-color: var(--haupt); }
.raster-tabelle tr.summe td { font-size: 1.05rem; }
.bestellung { border: 2px solid var(--linie); border-radius: 12px; padding: .8rem 1rem; margin-bottom: .8rem; background: #fff; }
.bestellung.aktiv { border-color: var(--gruen); }
.bestellung.vorbei { opacity: .6; }
.bestellung .kopfzeile { display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap; }
.mini { font-size: .9rem; }
.mini th, .mini td { padding: .25em .4em; text-align: center; }
.mini td:first-child, .mini th:first-child { text-align: left; }

.anmeldung { max-width: 420px; margin: 10vh auto; }
.schalter { display: inline-flex; border: 2px solid var(--haupt); border-radius: 12px; overflow: hidden; }
.schalter button { border: 0; border-radius: 0; min-height: 44px; }
.schalter button.an { background: var(--haupt); color: #fff; }
.farbe-punkt { display: inline-block; width: 18px; height: 18px; border-radius: 50%; vertical-align: middle; margin-right: .4em; border: 1px solid rgba(0,0,0,.2); }
.link-box { font-family: ui-monospace, Consolas, monospace; font-size: .95rem; word-break: break-all; background: #f5f5f4; padding: .7rem; border-radius: 10px; border: 1px solid var(--linie); }
.eintrag-knopf {
  display: inline-block; margin: .15rem .3rem .15rem 0; padding: .2rem .5rem; border-radius: 8px; background: #f5f5f4;
  border: 1px solid var(--linie); min-height: 0; font-weight: 600; color: var(--text); font-size: .95rem;
}
.eintrag-knopf:hover { background: var(--haupt-hell); }
.monatswahl { display: flex; gap: .4rem; align-items: center; }
.monatswahl select { width: auto; }
