/* Dienste – Entwurf A „sachlich“: Liste offener Plätze + Wochenplan. Statusfarben bewusst getrennt vom Vereinsrot (Knöpfe). */
.fc-dst {
  --dst-fg: #2b2b2b; --dst-muted: #6b6566; --dst-line: #e7e2e2; --dst-ink: #1f1c1c; --dst-red: #cf1c1f; --dst-red-dark: #b91b07; --dst-today: #fbf3e2; --dst-gold: #e5c17c;
  --dst-done: #2e7d32; --dst-done-bg: #e6f2e7; --dst-staffed: #2f5d8a; --dst-staffed-bg: #e7eef6;
  --dst-open: #c77700; --dst-open-bg: #fff1dc; --dst-missed: #8e1b3a; --dst-missed-bg: #f8e4ea; --dst-none: #b9b3b4;
  max-width: 1120px; margin: 0 auto; color: var(--dst-fg);
}
/* im Vereinsbereich so breit wie die anderen Seiten (Yves 2026-10-31); öffentlich für Gäste bleibt die schmale Spalte */
.fc-vb-frontend .fc-dst { max-width: none; }
.fc-dst h2 { margin: 0 0 10px; color: var(--dst-red-dark); }
.fc-dst-section { margin-top: 2rem; }
.fc-dst-section:first-child, .fc-dst-msg + .fc-dst-section { margin-top: 1rem; }
.fc-dst-section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 16px; margin-bottom: 10px; }
.fc-dst-section__head h2, .fc-dst-section__head h3 { margin: 0; }

/* Liste „Hier fehlt noch jemand“ */
.fc-dst-open { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--dst-ink); }
.fc-dst-open li { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; margin: 0; border-bottom: 1px solid var(--dst-line); }
.fc-dst-open li[hidden] { display: none; }
.fc-dst-open__date { display: grid; line-height: 1.15; font-variant-numeric: tabular-nums; }
.fc-dst-open__date small { font-size: 12px; color: var(--dst-muted); text-transform: uppercase; letter-spacing: .04em; }
.fc-dst-open__date b { font-size: 17px; }
.fc-dst-open__what { min-width: 0; display: grid; gap: 2px; }
.fc-dst-open__what strong { font-size: 16px; }
.fc-dst-open__what > span { font-size: 14px; color: var(--dst-muted); }
.fc-dst-need { color: var(--dst-open); }
.fc-dst-more { margin-top: 10px; background: none !important; border: 0; color: var(--dst-red) !important; font-weight: 700; cursor: pointer; padding: 4px 0; font-size: 15px; }
@media (max-width: 560px) {
  .fc-dst-open li { grid-template-columns: 70px minmax(0, 1fr); }
  .fc-dst-open__act { grid-column: 1 / -1; }
}

/* Legende */
.fc-dst-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--dst-muted); }
.fc-dst-legend__dot { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 5px; }
.fc-dst-legend__dot--done { background: var(--dst-done); }
.fc-dst-legend__dot--staffed { background: var(--dst-staffed); }
.fc-dst-legend__dot--open { background: var(--dst-open); }
.fc-dst-legend__dot--missed { background: var(--dst-missed); }

/* Wochenplan */
.fc-dst-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.fc-dst-board { border-collapse: separate; border-spacing: 0; width: 100%; table-layout: fixed; margin: 0; border: 0; }
.fc-dst-board th, .fc-dst-board td { padding: 0; border: 0; background: none; }
.fc-dst-board col.fc-dst-board__task { width: 170px; }
.fc-dst-board thead th { font-size: 12px; color: var(--dst-muted); font-weight: 600; text-align: left; padding: 4px 6px; }
.fc-dst-board thead th:first-child { position: sticky; left: 0; z-index: 2; background: #fff; }
.fc-dst-board__months th { font-size: 13px !important; color: var(--dst-fg) !important; font-weight: 700 !important; border-bottom: 1px solid var(--dst-line) !important; }
.fc-dst-board__weeks th { font-variant-numeric: tabular-nums; }
.fc-dst-board__weeks th b { display: block; font-size: 14px; color: var(--dst-fg); }
.fc-dst-board__weeks th.is-today { background: var(--dst-today); border-radius: 6px 6px 0 0; box-shadow: inset 0 3px 0 var(--dst-gold); }
.fc-dst-board tbody th { position: sticky; left: 0; z-index: 1; background: #fff; text-align: left; font-size: 14px; line-height: 1.25; padding: 8px 10px 8px 0; border-top: 1px solid var(--dst-line); }
.fc-dst-board tbody th small { display: block; font-weight: 400; color: var(--dst-muted); font-size: 12px; }
.fc-dst-board tbody td { border-top: 1px solid var(--dst-line); padding: 6px 2px; vertical-align: middle; }
.fc-dst-board tbody td.is-today { background: var(--dst-today); }
.fc-dst-stack { display: grid; gap: 4px; }
@media (max-width: 600px) { .fc-dst-board col.fc-dst-board__task { width: 112px; } .fc-dst-board tbody th { font-size: 13px; padding-right: 6px; } }
.fc-dst .fc-dst-cell { width: 100%; min-height: 44px; display: grid; align-content: center; gap: 1px; text-align: left; border: 0; border-left: 3px solid; border-radius: 4px; padding: 4px 5px; font: inherit; font-size: 13px; line-height: 1.2; cursor: pointer; color: var(--dst-fg); box-shadow: none; text-transform: none; letter-spacing: 0; }
.fc-dst-cell small, .fc-dst-cell span { font-size: 12px; color: var(--dst-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc-dst-cell small { font-weight: 700; color: var(--dst-fg); }
.fc-dst-cell b { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc-dst .fc-dst-cell--done { background: var(--dst-done-bg); border-color: var(--dst-done); }
.fc-dst .fc-dst-cell--staffed { background: var(--dst-staffed-bg); border-color: var(--dst-staffed); }
.fc-dst .fc-dst-cell--open { background: var(--dst-open-bg); border-color: var(--dst-open); }
.fc-dst .fc-dst-cell--open b { color: var(--dst-open); }
.fc-dst .fc-dst-cell--missed { background: var(--dst-missed-bg); border-color: var(--dst-missed); }
.fc-dst .fc-dst-cell--none { display: block; min-height: 0; border: 0; background: none; color: var(--dst-none); cursor: default; padding-left: 8px; }
.fc-dst .fc-dst-cell.is-mine { box-shadow: inset 0 0 0 2px var(--dst-gold); }
.fc-dst .fc-dst-cell:hover:not(.fc-dst-cell--none) { filter: brightness(.96); }
.fc-dst .fc-dst-cell:focus-visible { outline: 3px solid var(--dst-gold); outline-offset: 1px; }

/* Details-Dialog */
.fc-dst-dialog { border: 0; border-radius: 12px; padding: 0; width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow: auto; box-shadow: 0 20px 60px rgba(0,0,0,.25); color: var(--dst-fg); background: #fff; }
.fc-dst-dialog::backdrop { background: rgba(31,28,28,.45); }
.fc-dst-dialog__body { padding: 16px 18px 4px; }
.fc-dst-dialog__body .fc-dst-card { border: 0; padding: 0; }
.fc-dst-dialog__foot { padding: 8px 18px 16px; display: flex; justify-content: flex-end; }
.fc-dst-dialog .fc-dst-card__head strong { font-size: 19px; }

/* Karten (Details), Knöpfe, Formulare */
.fc-dst-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fc-dst-card { border: 1px solid #e3e3e3; border-left: 4px solid var(--dst-open); border-radius: 8px; padding: 12px 14px; background: #fff; display: grid; gap: 4px; }
.fc-dst-card--done { border-left-color: var(--dst-done); }
.fc-dst-card--staffed { border-left-color: var(--dst-staffed); }
.fc-dst-card--missed { border-left-color: var(--dst-missed); }
.fc-dst-card__head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.fc-dst-card__when { color: #555; margin: 0 0 4px; }
.fc-dst-badge { font-size: 12px; font-weight: bold; padding: 1px 8px; border-radius: 10px; background: var(--dst-open-bg); color: var(--dst-open); }
.fc-dst-badge--done { background: var(--dst-done-bg); color: var(--dst-done); }
.fc-dst-badge--staffed { background: var(--dst-staffed-bg); color: var(--dst-staffed); }
.fc-dst-badge--missed { background: var(--dst-missed-bg); color: var(--dst-missed); }
.fc-dst-done { color: var(--dst-done); font-weight: bold; }
.fc-dst-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.fc-dst-btn { display: inline-block; background: var(--dst-red); color: #fff !important; border: 1px solid var(--dst-red); border-radius: 6px; padding: 8px 14px; font-weight: bold; text-decoration: none; cursor: pointer; list-style: none; white-space: nowrap; }
.fc-dst-btn:hover { background: var(--dst-red-dark); border-color: var(--dst-red-dark); }
.fc-dst-btn--ghost { background: #fff; color: var(--dst-red) !important; }
.fc-dst-btn--ghost:hover { background: #fdf2f2; }
.fc-dst-btn--small { padding: 5px 10px; font-size: 13px; }
.fc-dst-btn[hidden] { display: none !important; }
.fc-dst-cal { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.fc-dst-guest { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--dst-line); }
.fc-dst-form { display: grid; gap: 10px; max-width: 520px; }
.fc-dst-form label { display: grid; gap: 4px; font-weight: bold; }
.fc-dst-form input[type=text], .fc-dst-form input[type=email], .fc-dst-form textarea { width: 100%; font-weight: normal; }
.fc-dst-check { display: flex !important; gap: 8px; font-weight: normal !important; align-items: flex-start; }
.fc-dst-small { font-size: 13px; color: var(--dst-muted); }
.fc-dst-inline { display: inline; margin: 0; }
.fc-dst-swap { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0; }
.fc-dst-swap label { display: inline-flex !important; gap: 6px; align-items: center; margin: 0; }
.fc-dst-swap select { max-width: 240px; }
.fc-dst-msg { padding: 10px 14px; border-radius: 6px; margin: 12px 0; background: #f0f4f8; }
.fc-dst-msg--ok { background: var(--dst-done-bg); }
.fc-dst-msg--error { background: #fdecea; }
.fc-dst-table { width: 100%; border-collapse: collapse; }
.fc-dst-table td { padding: 6px 8px; border-bottom: 1px solid #eee; }
@media (max-width: 600px) { .fc-dst-actions { flex-direction: column; align-items: stretch; } .fc-dst-actions .fc-dst-btn, .fc-dst-open__act .fc-dst-btn { width: 100%; text-align: center; } }
/* Theme-Linkstile (Unterstreichung, Schriftgröße) für Knöpfe aufheben */
.fc-dst a.fc-dst-btn, .fc-dst summary.fc-dst-btn, .fc-dst button.fc-dst-btn { text-decoration: none !important; font-size: 15px; line-height: 1.3; font-family: inherit; }
.fc-dst a.fc-dst-btn--small, .fc-dst button.fc-dst-btn--small { font-size: 13px; }
.fc-dst-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.fc-dst-table-wrap { overflow-x: auto; }
