/* Seite Website: Anordnung 1:1 nach dem Claude-Design-Entwurf (Website.dc.html). Komponenten aus app.css. */
.ws { display: flex; flex-direction: column; gap: 24px; }
.ws > .ph { margin-bottom: 0; }
.ws-live { display: flex; align-items: center; gap: 8px; }
.ws-live .dot { width: 8px; height: 8px; border-radius: 50%; background: #5F7F40; flex: none; }

/* Reiter Speisekarte / Standorte / Giveaways */
.ws-tabs { height: auto; align-self: flex-start; }
.ws-tabs button { height: 38px; gap: 8px; }
.ws-tabs button .ic { font-size: 16px; }
.ws-tabs button .cnt { font-size: 12px; font-weight: 600; color: var(--text-3); }

/* Kategorie */
.ws-cat { display: flex; flex-direction: column; gap: 14px; }
.ws-cat-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ws-cat-h h2 { font: 400 30px/1.15 var(--serif); }
.ws-cat-h .n { font-size: 14px; color: var(--text-3); }
.ws-cat-h .sp { flex: 1; }
.ws-ib { width: 34px; height: 34px; border: 0; border-radius: var(--r-xs); background: transparent; color: var(--text-2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; transition: background-color 150ms ease; }
.ws-ib .ic { font-size: 16px; }
.ws-ib:disabled { opacity: .3; cursor: default; }
.ws-ib:hover:not(:disabled) { background: var(--surface-2); }
.ws-tb { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border: 0; border-radius: var(--r-xs); background: transparent; color: var(--ink); font: 600 13px/1 var(--sans); cursor: pointer; white-space: nowrap; }
.ws-tb .ic { font-size: 14px; }
.ws-tb:hover { background: var(--surface-2); }
.ws-tb.out { padding: 0 12px; border: 1px solid var(--line-2); background: var(--surface); font-weight: 700; }
.ws-tb.out:hover { background: var(--surface-2); }
.ws-tb.del { color: var(--bad); font-weight: 700; padding: 0 12px; }
.ws-tb.del:hover { background: var(--bad-soft); }
.ws-empty { display: flex; align-items: center; gap: 12px; padding: 18px; border: 1.5px dashed var(--line-2); border-radius: 16px; color: var(--text-2); font-size: 14px; }
.ws-empty > span { flex: 1; }

/* Produktkarten */
.ws-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.ws-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.ws-card.off { opacity: .55; }
.ws-ph-img { position: relative; aspect-ratio: 4 / 3; border: 0; padding: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; background: var(--surface-2); width: 100%; overflow: hidden; }
.ws-ph-img img { width: 100%; height: 100%; object-fit: contain; padding: 6%; display: block; }
.ws-ph-img.none { background: repeating-linear-gradient(135deg, #EFE9DF 0 10px, #E9E2D6 10px 20px); }
.ws-ph-lbl { font: 400 11px/1.2 ui-monospace, Menlo, Consolas, monospace; color: var(--text-3); background: var(--bg); padding: 4px 8px; border-radius: 6px; }
.ws-chips { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.ws-rec { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: var(--r-pill); background: var(--ink); color: var(--accent-deep); font: 700 12px/1.2 var(--sans); }
.ws-rec .ic { font-size: 12px; }
.ws-badge { padding: 4px 9px; border-radius: var(--r-pill); background: var(--surface); font: 700 12px/1.2 var(--sans); color: var(--ink); }
.ws-body { padding: 14px 16px 6px; flex: 1; }
.ws-nm { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.ws-nm b { font-weight: 700; font-size: 16px; }
.ws-nm .pr { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ws-nm .pr.none { color: var(--text-3); }
.ws-desc { font-size: 14px; color: var(--text-2); margin-top: 2px; text-wrap: pretty; }
.ws-locs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.ws-locs > .ic { font-size: 13px; color: var(--accent-deep); }
.ws-locs.none > .ic { color: var(--bad); }
.ws-lc { padding: 3px 8px; border-radius: var(--r-pill); background: var(--bg); color: var(--ink); font: 600 12px/1.3 var(--sans); }
.ws-lc.all { background: #EEF3E8; color: #4A6630; }
.ws-lc.no { background: var(--bad-soft); color: var(--bad); }
.ws-foot { display: flex; align-items: center; gap: 4px; padding: 8px 10px 10px 16px; }
.ws-foot .sp { flex: 1; }
.ws-vis { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px 0 6px; border: 0; border-radius: var(--r-pill); background: var(--surface-2); color: var(--text-2); font: 700 12px/1 var(--sans); cursor: pointer; }
.ws-vis .d { width: 18px; height: 18px; border-radius: 50%; background: var(--text-3); display: flex; align-items: center; justify-content: center; color: var(--surface); }
.ws-vis .d .ic { font-size: 11px; }
.ws-vis.on { background: #EEF3E8; color: #4A6630; }
.ws-vis.on .d { background: #5F7F40; }
.ws-recb { width: 34px; height: 34px; border: 0; border-radius: var(--r-xs); background: transparent; color: var(--text-3); cursor: pointer; display: flex; align-items: center; justify-content: center; flex: none; }
.ws-recb .ic { font-size: 16px; }
.ws-recb:hover { box-shadow: inset 0 0 0 1px #C9BBA5; }
.ws-recb.on { background: var(--ink); color: var(--accent); }

/* Gestrichelte Anlege-Flaeche */
.ws-add { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; min-height: 84px; padding: 16px; border: 1.5px dashed var(--line-2); border-radius: 18px; background: transparent; font: 700 16px/1.3 var(--sans); color: var(--text-2); cursor: pointer; text-align: center; transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease; }
.ws-add > .ic { font-size: 20px; color: var(--accent-deep); }
.ws-add .h { font-weight: 500; color: var(--text-3); }
.ws-add:hover { background: var(--bg); border-color: var(--accent-deep); color: var(--ink); }

/* Standorte und Giveaways */
.ws-lgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.ws-loc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; display: flex; flex-direction: column; gap: 14px; cursor: pointer; transition: border-color 150ms ease; text-align: left; }
.ws-loc:hover { border-color: var(--line-2); }
.ws-loc.off { opacity: .7; }
.ws-loc-h { display: flex; align-items: flex-start; gap: 12px; }
.ws-tile { width: 44px; height: 44px; border-radius: var(--r-md); background: var(--surface-2); display: flex; align-items: center; justify-content: center; flex: none; color: var(--accent-deep); overflow: hidden; }
.ws-tile .ic { font-size: 20px; }
.ws-tile img { width: 100%; height: 100%; object-fit: cover; }
.ws-loc-h .t { flex: 1; min-width: 0; }
.ws-loc-h .t b { display: block; font: 400 22px/1.1 var(--serif); }
.ws-loc-h .t span { display: block; font-size: 14px; color: var(--text-2); margin-top: 2px; }
.ws-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--text-2); font: 700 12px/1.3 var(--sans); white-space: nowrap; }
.ws-pill.ok { background: #EEF3E8; color: #4A6630; }
.ws-pill.plan { background: var(--accent-soft); color: #8A5A2B; }
.ws-hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 14px; }
.ws-hours span:nth-child(odd) { color: var(--text-3); }
.ws-hours span:nth-child(even) { font-variant-numeric: tabular-nums; }
.ws-loc-m { margin: -5px -8px 0 -6px; }
.ws-loc-f { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.ws-lgrid .ws-add { min-height: 160px; border-radius: var(--r-card); }
.ws-gempty { background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--r-card); padding: 40px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.ws-gempty .g { width: 56px; height: 56px; border-radius: 16px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; color: var(--accent-deep); }
.ws-gempty .g .ic { font-size: 26px; }
.ws-gempty .tt { font: 400 26px/1.2 var(--serif); }
.ws-gempty .tx { font-size: 14px; color: var(--text-2); max-width: 440px; text-wrap: pretty; }
.ws-gempty .btn { margin-top: 6px; border-radius: var(--r-md); }
.ws-note { font-size: 14px; color: var(--text-3); margin: 0; }

/* Produkt-Dialog: zwei Spalten, rechts Vorschau */
.ws-dlg { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; padding-bottom: 4px; }
.ws-dlg .left { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ws-dlg .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ws-dlg textarea.input { min-height: 72px; }
.ws-dlg .lh { font-weight: 400; color: var(--text-3); font-size: 13px; margin-top: -2px; }
.ws-dlg .affix .sfx { border-left: 0; color: var(--text-3); font-weight: 400; }
.ws-dlg .affix .input:disabled { background: var(--surface-2); }
.ws-avail { display: flex; flex-direction: column; gap: 8px; }
.ws-avail-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 600; }
.ws-link { border: 0; background: transparent; font: 700 13px/1.2 var(--sans); color: var(--accent-deep); cursor: pointer; padding: 0; }
.ws-avail .tgl { height: 40px; padding: 0 14px; border-radius: var(--r-pill); border-width: 1.5px; border-color: var(--line); font-weight: 600; }
.ws-warn { font-size: 13px; color: var(--bad); font-weight: 600; }
.ws-dlg .sw.boxed { padding: 12px 14px; border-radius: var(--r-md); border-color: var(--line); }
.ws-dlg .sw .txt { font-weight: 600; font-size: 14px; }
.ws-dlg .sw .txt small { font-weight: 400; font-size: 13px; color: var(--text-3); }
.ws-pvl { display: flex; align-items: center; gap: 8px; font: 600 12px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
.ws-pvl .ic { font-size: 14px; }
.ws-pv { background: var(--bg); border-radius: 18px; padding: 14px; }
.ws-pv-img { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-md); background: var(--surface-2); display: flex; align-items: center; justify-content: center; overflow: hidden; cursor: pointer; border: 0; padding: 0; width: 100%; transition: box-shadow 150ms ease; }
.ws-pv-img.none { background: repeating-linear-gradient(135deg, #EFE9DF 0 10px, #E9E2D6 10px 20px); }
.ws-pv-img img { width: 100%; height: 100%; object-fit: contain; padding: 6%; display: block; }
.ws-pv-img.over { box-shadow: inset 0 0 0 2px var(--accent-deep); }
.ws-pv-img input[type=file] { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ws-pv-acts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.ws-pv-tags { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.ws-pv-tags:empty { display: none; }
.ws-pv-rec { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: var(--r-pill); background: var(--accent-soft); color: #8A5A2B; font: 700 12px/1.3 var(--sans); }
.ws-pv-rec .ic { font-size: 12px; }
.ws-pv-b { padding: 3px 9px; border-radius: var(--r-pill); background: var(--surface-2); font: 700 12px/1.3 var(--sans); }
.ws-pv-n { font: 400 26px/1.1 var(--serif); margin-top: 8px; overflow-wrap: anywhere; }
.ws-pv-d { font-size: 14px; color: var(--text-2); margin-top: 2px; }
.ws-pv-p { font-weight: 700; margin-top: 8px; }
.ws-cat-hint { font-size: 13px; color: var(--text-3); }

/* Seite ansehen: Speisekarte wie auf der Website */
.ws-site { display: flex; flex-direction: column; gap: 22px; }
.ws-site h3 { font: 400 26px/1.15 var(--serif); margin-bottom: 12px; }
.ws-site-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.ws-site .ws-pv-img { cursor: default; }
.ws-site .ws-pv-n { font-size: 22px; }

/* Teilnehmer-Modal */
.ws-winner { display: flex; align-items: center; gap: var(--s4); padding: var(--s4); margin-bottom: var(--s4); border-radius: var(--r-lg); background: var(--accent-soft); }
.ws-winner > .ic { font-size: 22px; color: var(--accent-deep); }
.ws-winner-n { font: 400 24px/1.15 var(--serif); margin: 2px 0; }
.ws-part td, .ws-part th { white-space: nowrap; }
.ws-hr-head, .ws-hr { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: var(--s2); align-items: center; }
.ws-hr-head { font: 600 var(--fs-xs)/1.2 var(--sans); color: var(--text-3); text-transform: uppercase; letter-spacing: .05em; margin-bottom: var(--s2); }
.ws-hr { margin-bottom: var(--s2); }
.ws-hr-end { display: inline-flex; align-items: center; gap: var(--s2); white-space: nowrap; }

@media (max-width: 767px) {
  .ws-pdlg .dlg-f .btn.left { width: 42px; padding: 0; }
  .ws-pdlg .dlg-f .btn.left span { display: none; }
  .ws-dlg { grid-template-columns: minmax(0, 1fr); }
  .ws-cat-h h2 { font-size: 26px; }
  .ws-hr-head { display: none; }
  .ws-hr { grid-template-columns: 1fr 1fr; padding-bottom: var(--s2); border-bottom: 1px solid var(--line); }
  .ws-hr .ws-hr-days { grid-column: 1 / -1; }
  .ws-hr .ws-hr-end { grid-column: 1 / -1; justify-content: space-between; }
}
