/* 44 – Burger & Bar · Reservierung */
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(assets/montserrat.woff2) format("woff2");
}

:root {
  --oliv: #3D4A23;
  --oliv-dunkel: #262A18;
  --sand: #D4B483;
  --sand-dunkel: #7A5F33;
  --creme: #F3EFE5;
  --creme-2: #E9DFC8;
  --papier: #FBF8F0;
  --tanne: #1F4A3A;
  --text: #4C4A3A;
  --linie: #DDD3BC;
  --rot: #A63A2B;
  --rot-hell: #F4DCD6;
  --blau: #2F5D7C;
  --blau-hell: #D9E6EE;
  --grau: #8B897A;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--text);
  font-family: Montserrat, "Trebuchet MS", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
h1, h2, h3 { color: var(--oliv); margin: 0; line-height: 1.15; }
h1 { font-size: 28px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; }
h2 { font-size: 18px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; }
h3 { font-size: 16px; font-weight: 800; }
p { margin: 0 0 12px; }
a { color: var(--oliv); }
[hidden] { display: none !important; }

.label {
  color: var(--sand-dunkel);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.klein { font-size: 13px; color: var(--grau); }
.fehler { color: var(--rot); font-weight: 600; font-size: 14px; margin: 8px 0 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 24px;
  border: 2px solid var(--oliv); border-radius: 999px;
  background: var(--oliv); color: var(--creme);
  font: inherit; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--oliv-dunkel); border-color: var(--oliv-dunkel); }
.btn.sand { background: var(--sand); border-color: var(--sand); color: var(--oliv-dunkel); }
.btn.sand:hover { background: #C8A66F; border-color: #C8A66F; }
.btn.hohl { background: transparent; color: var(--oliv); }
.btn.hohl:hover { background: var(--creme-2); }
.btn.rot { background: transparent; border-color: var(--rot); color: var(--rot); }
.btn.klein-btn { min-height: 38px; padding: 0 16px; font-size: 12px; letter-spacing: 1.5px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
:focus-visible { outline: 3px solid var(--sand-dunkel); outline-offset: 2px; }

label { display: block; font-size: 13px; font-weight: 700; color: var(--oliv); margin: 0 0 4px; }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=time],
input[type=number], input[type=password], input[type=search], select, textarea {
  width: 100%; min-height: 46px; padding: 10px 14px;
  border: 1.5px solid var(--linie); border-radius: 10px;
  background: #fff; color: var(--oliv-dunkel);
  font: inherit; font-size: 16px;
}
textarea { min-height: 84px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--oliv); outline: none; box-shadow: 0 0 0 3px rgba(61, 74, 35, .15); }
.feld { margin: 0 0 14px; }
.reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.haken { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 14px; color: var(--text); margin: 0 0 10px; }
.haken input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--oliv); }
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; min-width: 52px; padding: 0 16px;
  border: 1.5px solid var(--linie); border-radius: 999px; background: #fff; color: var(--oliv);
  font: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
}
.chip:hover { border-color: var(--oliv); }
.chip[aria-pressed=true] { background: var(--oliv); border-color: var(--oliv); color: var(--creme); }
.chip:disabled { background: transparent; color: #B9B4A2; border-style: dashed; cursor: not-allowed; text-decoration: line-through; }

/* ---------- Gästeseite ---------- */
body.gast { min-height: 100vh; }
.kopf {
  background: var(--oliv); color: var(--creme);
  padding: 28px 20px 70px; text-align: center;
}
.kopf img { width: 74px; height: 81px; }
.kopf .label { color: var(--sand); margin-top: 10px; }
.kopf h1 { color: var(--creme); font-size: 30px; }
.karte {
  max-width: 620px; margin: -44px auto 32px; padding: 28px;
  background: var(--papier); border-radius: 18px; border: 1px solid var(--linie);
}
.karte.schmal { margin-top: 60px; }
.karte h1 { margin-bottom: 12px; }
.schritt { margin: 0 0 24px; }
.schritt > h2 { margin-bottom: 12px; }
.zeiten { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.zeiten .chip { min-width: 0; padding: 0; }
.hinweis { background: var(--creme-2); border-radius: 12px; padding: 14px 16px; font-size: 14px; color: var(--oliv-dunkel); }
.zusammenfassung { background: var(--oliv); color: var(--creme); border-radius: 12px; padding: 16px 18px; margin: 0 0 18px; font-weight: 600; }
.zusammenfassung span { color: var(--sand); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; display: block; }
.fuss { text-align: center; font-size: 13px; color: var(--grau); padding: 0 20px 32px; }
@media (max-width: 520px) {
  .karte { margin-left: 12px; margin-right: 12px; padding: 20px; }
  .reihe { grid-template-columns: 1fr; }
}

/* ---------- Team ---------- */
body.team { background: var(--creme); }
.leiste {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: var(--oliv); color: var(--creme); padding: 10px 16px;
}
.leiste img { width: 34px; height: 37px; }
.leiste .datum { display: flex; align-items: center; gap: 6px; }
.leiste .datum input { min-height: 40px; width: auto; border: 0; font-weight: 700; }
.leiste button.rund {
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--sand);
  background: transparent; color: var(--sand); font-size: 18px; font-weight: 700; cursor: pointer;
}
.leiste .tag { font-weight: 800; letter-spacing: 1px; text-transform: uppercase; font-size: 14px; }
.leiste .frei { margin-left: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.reiter { display: flex; gap: 4px; background: var(--oliv-dunkel); padding: 0 12px; overflow-x: auto; }
.reiter button {
  border: 0; background: transparent; color: var(--creme-2);
  font: inherit; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 12px 14px; cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap;
}
.reiter button[aria-selected=true] { color: var(--sand); border-bottom-color: var(--sand); }
.inhalt { padding: 16px; max-width: 1280px; margin: 0 auto; }
.banner {
  background: var(--sand); color: var(--oliv-dunkel); padding: 12px 16px;
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-weight: 700;
}
.banner ul { margin: 0; padding: 0; list-style: none; flex: 1 1 260px; font-weight: 600; font-size: 14px; }
.banner.zu { background: var(--rot-hell); color: var(--rot); }

.zweispaltig { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 16px; align-items: start; }
@media (max-width: 900px) { .zweispaltig { grid-template-columns: 1fr; } }
.feld-karte { background: var(--papier); border: 1px solid var(--linie); border-radius: 14px; padding: 14px; }
.feld-karte + .feld-karte { margin-top: 16px; }
.kopfzeile { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 10px; }

.uhr { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; }
.uhr input[type=range] { flex: 1 1 200px; accent-color: var(--oliv); min-height: 32px; }
.uhr output { font-weight: 800; font-size: 20px; color: var(--oliv); min-width: 64px; }

svg.plan { width: 100%; height: auto; display: block; background: var(--creme); border-radius: 10px; }
.plan .raum { fill: none; stroke: var(--linie); stroke-width: 2; stroke-dasharray: 8 6; }
.plan .raumname { font-size: 20px; font-weight: 800; letter-spacing: 3px; fill: var(--sand-dunkel); text-transform: uppercase; }
.plan .tisch { cursor: pointer; }
.plan .tisch rect { stroke-width: 3; rx: 10; }
.plan .tisch .nr { font-size: 14px; font-weight: 700; }
.plan .tisch .gross { font-size: 30px; font-weight: 800; }
.plan .tisch .info { font-size: 13px; font-weight: 600; }
.plan .frei rect { fill: #fff; stroke: var(--oliv); }
.plan .frei text { fill: var(--oliv); }
.plan .bald rect { fill: var(--creme-2); stroke: var(--sand-dunkel); stroke-dasharray: 9 5; }
.plan .bald text { fill: var(--sand-dunkel); }
.plan .reserviert rect { fill: var(--sand); stroke: var(--sand-dunkel); }
.plan .reserviert text { fill: var(--oliv-dunkel); }
.plan .besetzt rect { fill: var(--oliv); stroke: var(--oliv-dunkel); }
.plan .besetzt text { fill: var(--creme); }
.plan .aus rect { fill: transparent; stroke: #C9C3B0; stroke-dasharray: 4 6; }
.plan .aus text { fill: #A9A493; }
.plan .gewaehlt rect { stroke: var(--blau); stroke-width: 6; }
.plan .saeule { fill: var(--tanne); }
.legende { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; margin: 10px 0 0; }
.legende i { display: inline-block; width: 16px; height: 16px; border-radius: 4px; border: 2px solid; vertical-align: -3px; margin-right: 6px; }

.liste { list-style: none; margin: 0; padding: 0; }
.liste li {
  display: grid; grid-template-columns: 62px 1fr auto; gap: 10px; align-items: center;
  padding: 10px 4px; border-top: 1px solid var(--linie);
}
.liste li:first-child { border-top: 0; }
.liste .zeit { font-weight: 800; color: var(--oliv); font-size: 17px; }
.liste .wer { font-weight: 700; color: var(--oliv-dunkel); cursor: pointer; background: none; border: 0; padding: 0; font: inherit; font-weight: 700; text-align: left; }
.liste .wer:hover { text-decoration: underline; }
.liste .zusatz { font-size: 13px; color: var(--grau); }
.liste .aktionen { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.liste li.durch .zeit, .liste li.durch .wer { color: #A9A493; text-decoration: line-through; }
.marke {
  display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 800;
  letter-spacing: 1px; text-transform: uppercase; vertical-align: 1px;
  background: var(--creme-2); color: var(--sand-dunkel);
}
.marke.da { background: var(--oliv); color: var(--creme); }
.marke.neu { background: var(--blau-hell); color: var(--blau); }
.marke.weg { background: var(--rot-hell); color: var(--rot); }
.summe { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; font-weight: 600; margin: 0 0 12px; }
.summe b { color: var(--oliv); font-size: 20px; font-weight: 800; }

dialog {
  border: 0; border-radius: 16px; padding: 0; width: min(640px, calc(100vw - 24px));
  max-height: calc(100vh - 24px); background: var(--papier); color: var(--text);
}
dialog::backdrop { background: rgba(38, 42, 24, .55); }
dialog form, dialog .dialog-inhalt { padding: 22px; }
dialog h2 { margin-bottom: 14px; }
.dialog-fuss { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 8px; }
.dialog-fuss .links { margin-right: auto; }

table.tab { width: 100%; border-collapse: collapse; font-size: 14px; }
.tab th { text-align: left; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--sand-dunkel); padding: 6px 8px; }
.tab td { padding: 8px; border-top: 1px solid var(--linie); vertical-align: middle; }
.tab input[type=number], .tab input[type=text] { min-height: 38px; width: 84px; padding: 6px 10px; }
.tab input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--oliv); }
.scroll { overflow-x: auto; }

.anmeldung { max-width: 380px; margin: 12vh auto; padding: 28px; background: var(--papier); border: 1px solid var(--linie); border-radius: 18px; text-align: center; }
.anmeldung img { width: 70px; height: 76px; margin-bottom: 10px; }
.anmeldung h1 { font-size: 22px; margin-bottom: 16px; }
.toast {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 50;
  background: var(--oliv-dunkel); color: var(--creme); padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 14px;
  max-width: calc(100vw - 24px);
}
