/* Bestellportal – schlicht, hell, groß genug fürs Handy */
:root { --bg: #f5f5f7; --karte: #fff; --text: #1d1d1f; --leise: #6e6e73; --linie: #d2d2d7; --rot: #d9264a; --rot2: #b81d3d; --gruen: #1a7f37; --gelb: #fff4d6; --rotbg: #fde8e6; --gruenbg: #e6f4ea; }
* { box-sizing: border-box; }
body { margin: 0; font: 17px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--text); }
.hidden { display: none !important; }
.kopf { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--linie); }
.kopf .logo { font-size: 24px; } .kopf b { flex: 1; font-size: 18px; }
main { max-width: 640px; margin: 0 auto; padding: 16px; }
.karte { background: var(--karte); border-radius: 18px; padding: 20px; margin-bottom: 16px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
h1 { font-size: 26px; margin: 0 0 8px; } h2 { font-size: 20px; margin: 0 0 12px; }
.leise { color: var(--leise); font-size: 15px; } .hallo { font-weight: 600; margin: 4px 4px 12px; }
label, .feld { display: block; font-weight: 600; font-size: 15px; margin: 16px 0 6px; }
input, select { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid var(--linie); border-radius: 12px; background: #fff; color: var(--text); }
input:focus, select:focus { outline: none; border-color: var(--rot); box-shadow: 0 0 0 3px rgba(217,38,74,.15); }
#pin { font-size: 26px; letter-spacing: .4em; text-align: center; }
.knopf { display: block; width: 100%; margin-top: 18px; padding: 15px; border: 0; border-radius: 14px; background: var(--rot); color: #fff; font-family: inherit; font-weight: 700; font-size: 17px; line-height: 1; cursor: pointer; }
.knopf:hover { background: var(--rot2); } .knopf:disabled { opacity: .5; cursor: default; }
.knopf.zweit { background: #fff; color: var(--text); border: 1px solid var(--linie); margin-top: 10px; }
.link { border: 0; background: none; color: var(--leise); font: inherit; font-size: 15px; text-decoration: underline; cursor: pointer; }
.meldung { margin: 12px 0 0; font-weight: 600; } .meldung.ok { color: var(--gruen); } .meldung.err { color: var(--rot2); }
.umschalter { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--linie); border-radius: 12px; overflow: hidden; }
.umschalter button { padding: 12px 6px; border: 0; background: #fff; font-family: inherit; font-weight: 600; font-size: 15px; cursor: pointer; color: var(--text); }
.umschalter button.an { background: var(--text); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { padding: 9px 13px; border: 1px solid var(--linie); border-radius: 999px; background: #fff; font-family: inherit; font-weight: 600; font-size: 15px; color: var(--text); cursor: pointer; }
.chips button.an { background: var(--rot); border-color: var(--rot); color: #fff; } .chips button small { display: block; font-weight: 400; font-size: 12px; }
.pos { border: 1px solid var(--linie); border-radius: 14px; padding: 10px; margin-bottom: 10px; display: grid; gap: 8px; }
.pos .zeile { display: grid; grid-template-columns: 1.3fr 1fr 44px; gap: 8px; align-items: center; }
.pos .weg { height: 46px; border: 1px solid var(--linie); border-radius: 12px; background: #fff; font-size: 16px; cursor: pointer; }
.pos .preis { font-size: 14px; color: var(--leise); }
.summe { margin: 10px 0 0; font-weight: 600; }
.best { padding: 12px 0; border-top: 1px solid var(--linie); } .best:first-child { border-top: 0; }
.best .st { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.st.wartet { background: var(--gelb); } .st.bestaetigt { background: var(--gruenbg); color: var(--gruen); } .st.abgelehnt, .st.storniert { background: var(--rotbg); color: var(--rot2); } .st.zurueckgezogen { background: #eee; }
dialog { border: 0; border-radius: 18px; padding: 20px; max-width: 420px; width: calc(100% - 32px); }
dialog::backdrop { background: rgba(0,0,0,.35); } dialog p { font-size: 17px; margin: 0 0 6px; }
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .zwei .knopf { margin-top: 12px; }
