/* Zeitplan: Ansicht für Teilnehmende und Mitarbeitende */
.zp-tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 6px 0 28px; }
.zp-tab { font: inherit; cursor: pointer; background: #fff; color: var(--ink); border: 3px solid var(--ink); border-radius: 12px 10px 14px 8px / 10px 14px 8px 12px;
  padding: 6px 16px 8px; text-align: center; box-shadow: 3px 3px 0 var(--taupe); min-width: 4.8rem; position: relative; }
.zp-tab b { display: block; font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .06em; font-size: 1.25rem; line-height: 1.2; }
.zp-tab small { display: block; font-weight: 800; font-size: .82rem; color: var(--taupe-text); }
.zp-tab[aria-selected="true"] { background: var(--red); color: #fff; }
.zp-tab[aria-selected="true"] small { color: #fff; }
.zp-tab .today { position: absolute; top: -8px; right: -8px; background: var(--ink); color: #fff; font: 800 .65rem var(--slab); letter-spacing: .08em; text-transform: uppercase; padding: 1px 7px; border-radius: 999px; }
.zp-tab { transition: transform .08s, box-shadow .08s, background .08s; }
.zp-tab:hover { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); }
.zp-tab[aria-selected="false"]:hover { background: var(--cream); }
.zp-tab:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.zp-tab:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.zp { display: grid; gap: 40px; padding-bottom: 20px; }
.zmotto { font-family: var(--display); font-size: clamp(1.15rem, 4.6vw, 1.7rem); line-height: 1.2; margin: 6px 0 4px; }
.zmotto .r { color: var(--red); }
.zdate { color: var(--taupe-text); font-weight: 800; letter-spacing: .04em; margin: 0 0 4px; }

.zslot { display: grid; grid-template-columns: 5.4rem 1fr; gap: 4px 16px; padding: 14px 0; border-bottom: 2px dashed rgba(122,107,93,.35); position: relative; }
.zslot:last-child { border-bottom: 0; }
.ztime { font-family: var(--display); color: var(--red); font-size: 1.55rem; line-height: 1.1; }
.ztime small { display: block; font-family: var(--slab); font-weight: 800; font-size: .82rem; color: var(--taupe-text); letter-spacing: .03em; margin-top: 4px; }
.ztitle { font-weight: 800; font-size: 1.3rem; line-height: 1.15; overflow-wrap: anywhere; }
.znote { color: var(--taupe-text); margin-top: 2px; overflow-wrap: anywhere; }
.zplace { display: inline-flex; gap: .4em; align-items: center; font-weight: 800; font-size: .92rem; margin-top: 5px; }
.zplace svg { width: .95em; height: .95em; flex: none; }
.zslot.past { opacity: .5; }
.zslot.now { margin: 0 -12px; padding: 14px 12px; background: linear-gradient(90deg, rgba(227,16,42,.10), rgba(227,16,42,0) 85%); box-shadow: inset 5px 0 0 var(--red); border-radius: 4px; }
.zpill { display: inline-flex; align-items: center; font-weight: 800; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: 2px 9px; border-radius: 999px; margin-left: 8px; vertical-align: middle; line-height: 1.5; }
.zpill.now { background: var(--red); color: #fff; }
.zpill.now .live-dot { --live: #fff; margin: 0 .5em 0 0; width: .55em; height: .55em; top: 0; }
.zpill.next { background: var(--taupe); color: #fff; }
.zpill.intern { background: var(--ink); color: #fff; }
.zempty { text-align: center; color: var(--taupe-text); font-weight: 800; padding: 22px 0; }
.zfoot { text-align: center; color: var(--taupe-text); padding: 18px 0 44px; line-height: 1.6; }
.zfoot a { color: var(--red-dark); font-weight: 800; }
.zfoot .sep { margin: 0 .6em; opacity: .5; }
.zp-unlock { max-width: 460px; margin: 10px auto 40px; }
.zp-unlock p { margin: 0 0 12px; }
.zp-updated { text-align: center; color: var(--taupe-text); font-size: .92rem; margin: 8px 0 0; }
@media (max-width: 520px) { .zslot { grid-template-columns: 4.6rem 1fr; gap: 4px 12px; } .ztime { font-size: 1.35rem; } .ztitle { font-size: 1.2rem; } }
@media (prefers-reduced-motion: reduce) { .zpill.now .live-dot::after { animation: none; } }

/* ---------- Dashboard: Zeitplan bearbeiten ---------- */
.zday-head { display: grid; gap: 10px 12px; grid-template-columns: 1fr; padding-bottom: 12px; border-bottom: 3px solid var(--red); align-items: end; }
@media (min-width: 760px) { .zday-head { grid-template-columns: 12rem 1fr auto; } }
.zwd { display: block; margin-top: 4px; font-weight: 800; color: var(--taupe-text); }
.zrow { display: grid; gap: 8px 10px; padding: 12px 0; border-bottom: 2px dashed var(--taupe); align-items: end;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "von bis" "titel titel" "ort ort" "notiz notiz" "sicht akt"; }
.zrow > div, .zrow input, .zrow select { min-width: 0; }
.zrow .g-von { grid-area: von; } .zrow .g-bis { grid-area: bis; } .zrow .g-titel { grid-area: titel; } .zrow .g-ort { grid-area: ort; }
.zrow .g-notiz { grid-area: notiz; } .zrow .g-sicht { grid-area: sicht; } .zrow .g-akt { grid-area: akt; justify-content: flex-end; }
@media (min-width: 900px) {
  .zrow { grid-template-columns: 6.6rem 6.6rem minmax(0, 1fr) 11.5rem auto; grid-template-areas: "von bis titel sicht akt" "ort ort notiz notiz notiz"; }
}
.zrow input[type="time"], .zrow input[type="date"], .zday-head input[type="date"] { width: 100%; font: inherit; font-weight: 600; padding: 10px 10px; background: #fff; border: 2px solid var(--taupe); border-radius: 8px; color: var(--ink); }
.zrow.staff { background: rgba(22,20,18,.05); box-shadow: inset 5px 0 0 var(--ink); padding-left: 14px; margin-left: -4px; }
.zday-foot { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 12px; }

/* Seitenwechsel oben (Preisliste / Zeitplan) */
.site-tabs { justify-content: center; margin: 2px 0 14px; }
.zp-tabs[hidden] { display: none; }

/* „Jetzt / Als Nächstes“ oben */
.znow { display: grid; gap: 14px; grid-template-columns: 1fr; margin: 0 0 26px; }
.znow[hidden] { display: none; }
@media (min-width: 640px) { .znow { grid-template-columns: 1.3fr 1fr; } }
.znow-card { background: var(--paper); border: 3px solid var(--ink); border-radius: 14px 11px 15px 10px / 11px 15px 10px 14px; box-shadow: 4px 4px 0 var(--taupe); padding: 14px 16px 16px; }
.znow-card.now { border-color: var(--red); box-shadow: 4px 4px 0 var(--red); }
.znow-label { display: flex; align-items: center; gap: .5em; font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; font-size: .95rem; color: var(--red); margin-bottom: 6px; }
.znow-card.next .znow-label { color: var(--taupe-text); }
.znow-title { font-family: var(--display); font-size: clamp(1.3rem, 5vw, 1.8rem); line-height: 1.15; overflow-wrap: anywhere; }
.znow-title + .znow-sub + .znow-title { margin-top: 10px; }
.znow-sub { font-weight: 800; color: var(--taupe-text); margin-top: 3px; }

/* Live-Steuerung im Dashboard */
.live-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.live-head .card-title { margin: 0; }
.live-seg { display: inline-flex; border: 3px solid var(--ink); border-radius: 12px 10px 14px 8px / 10px 14px 8px 12px; overflow: hidden; background: #fff; box-shadow: 3px 3px 0 var(--taupe); }
.live-seg-btn { appearance: none; border: 0; background: transparent; font: 800 .9rem var(--slab); text-transform: uppercase; letter-spacing: .05em; padding: 9px 14px; cursor: pointer; color: var(--ink); }
.live-seg-btn + .live-seg-btn { border-left: 3px solid var(--ink); }
.live-seg-btn:hover:not(:disabled) { background: var(--cream); }
.live-seg-btn[aria-pressed="true"] { background: var(--red); color: #fff; }
.live-seg-btn:disabled { cursor: default; opacity: .7; }
.live-seg-btn:focus-visible { outline: 3px solid var(--red); outline-offset: -3px; }
.live-body { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 10px; }
@media (min-width: 820px) { .live-body { grid-template-columns: minmax(15rem, 20rem) 1fr; } }

.live-timeline { background: var(--cream); border: 2px dashed var(--taupe); border-radius: 12px; padding: 10px 10px 4px; align-self: start; }
.live-tl-head { font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; font-size: .95rem; margin: 2px 4px 8px; }
.live-tl-all { font-size: .85rem; font-weight: 800; color: var(--taupe-text); margin: 0 4px 6px; }
.live-timeline ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.live-tl-row { appearance: none; width: 100%; display: flex; align-items: center; gap: 10px; text-align: left; font: inherit; cursor: pointer; background: #fff; border: 2px solid transparent; border-radius: 8px; padding: 8px 10px; color: var(--ink); transition: transform .08s, background .08s; }
.live-tl-row:hover:not(:disabled) { transform: translate(1px, 1px); border-color: var(--ink); }
.live-tl-time { font-family: var(--display); color: var(--red); min-width: 3.3rem; font-size: 1.05rem; }
.live-tl-title { flex: 1; font-weight: 800; min-width: 0; overflow-wrap: anywhere; }
.live-tl-next { font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--ink); color: #fff; padding: 1px 8px; border-radius: 999px; white-space: nowrap; }
.live-tl-row.past { opacity: .5; }
.live-tl-row.now { background: rgba(227,16,42,.10); border-color: var(--red); }
.live-tl-row.next { border-color: var(--ink); }
.live-tl-row:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.live-timeline .hint { margin: 8px 4px 6px; font-size: .85rem; }

.live-main { display: grid; gap: 12px; align-content: start; }
.live-now { border: 3px solid var(--red); border-radius: 14px 11px 15px 10px / 11px 15px 10px 14px; box-shadow: 4px 4px 0 var(--red); background: var(--paper); padding: 12px 16px 14px; }
.live-next { border: 3px solid var(--ink); border-radius: 12px 10px 14px 8px / 10px 14px 8px 12px; box-shadow: 3px 3px 0 var(--taupe); background: var(--paper); padding: 10px 16px 12px; }
.live-lab { display: flex; align-items: center; gap: .5em; font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; color: var(--red); margin-bottom: 4px; }
.live-next .live-lab { color: var(--taupe-text); }
.live-big-title { font-family: var(--display); font-size: clamp(1.5rem, 4.5vw, 2.1rem); line-height: 1.1; overflow-wrap: anywhere; }
.live-title { font-family: var(--display); font-size: 1.35rem; line-height: 1.15; overflow-wrap: anywhere; }
.live-sub { font-weight: 800; color: var(--taupe-text); margin-top: 2px; }
.live-controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn.live-big { font-size: 1.15rem; padding: 14px 26px; min-width: 9rem; }
.live-stepper { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 2px solid var(--taupe); border-radius: 12px; padding: 6px 8px; }
.live-stepper .btn { min-width: 3.4rem; }
.live-offset { text-align: center; min-width: 8rem; }
.live-offset b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.35rem; }
.live-offset small { display: block; font-weight: 800; color: var(--taupe-text); font-size: .8rem; }
@media (prefers-reduced-motion: reduce) { .live-tl-row { transition: none; } }


.znow.solo { grid-template-columns: 1fr; }
