/* Öffentliche Festseiten: Festkalender, Festseite, Helfer-Anmeldung */
.fest-wrap { max-width: 860px; }
.fest-wrap section { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 22px; margin: 0 0 18px; }
.fest-wrap h2 { font: 800 1.3rem var(--head); color: var(--primary); margin: 0 0 12px; }
.fest-wrap h3 { font: 700 1.02rem var(--head); margin: 0 0 8px; }
.fest-date { display: inline-block; font: 700 .86rem var(--font); color: #2f6b2a; background: #F1F8E6; border-radius: 999px; padding: 3px 12px; margin: 0 0 6px; }
.fest-note { background: #FFF8E8; border: 1px solid #F3DFAE; border-radius: var(--radius-sm); padding: 10px 14px; margin: 12px 0; }
.fest-note.err { background: #FDEDED; border-color: #F2C2C2; color: #8a2a2a; }
.fest-small { font-size: .84rem; margin: 10px 0 0; }
.fest-foot { text-align: center; margin: 26px 0 0; }
.fest-foot a, .fest-small a { color: #2f6b2a; font-weight: 600; }

/* Kalender */
.fest-search { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; }
.fest-search input { flex: 1 1 220px; min-width: 0; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; font: inherit; background: #fff; }
.fest-search select { width: auto; flex: none; padding: 11px 10px; border: 1px solid var(--line); border-radius: 12px; font: inherit; background: #fff; }
.fest-list { display: grid; gap: 10px; }
.fest-card { display: flex; flex-direction: column; gap: 2px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform .12s, box-shadow .12s; }
.fest-card:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.fest-card .fest-date { align-self: flex-start; }
.fest-card b { font: 800 1.1rem var(--head); color: var(--primary); }

/* Festseite */
.fest-hero { padding: 0 !important; overflow: hidden; }
.fest-hero > p, .fest-hero .fest-actions { margin-left: 22px; margin-right: 22px; }
.fest-hero > p:last-of-type { margin-bottom: 4px; }
.fest-cover { display: block; width: 100%; max-height: 340px; object-fit: cover; }
.fest-head { display: flex; gap: 16px; align-items: center; padding: 20px 22px 6px; }
.fest-head h1 { margin: 2px 0 4px; }
.fest-logo { width: 72px; height: 72px; object-fit: contain; border-radius: 14px; background: #fff; border: 1px solid var(--line); flex: none; }
.fest-actions { display: flex; gap: 8px; flex-wrap: wrap; padding: 8px 0 20px; }
.fest-weather { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.fest-wday { display: flex; flex-direction: column; align-items: center; gap: 2px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 6px; font-size: .9rem; }
.fest-wicon { font-size: 1.9rem; line-height: 1.2; }
.fest-prog { list-style: none; margin: 0; padding: 0; }
.fest-prog li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.fest-prog li:last-child { border-bottom: 0; }
.fest-prog li.fest-day { display: block; font: 800 .95rem var(--head); color: var(--primary); padding-top: 14px; border-bottom: 0; }
.fest-time { font-weight: 700; color: #2f6b2a; white-space: nowrap; }
.fest-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px 28px; }
.fest-menu { list-style: none; margin: 0; padding: 0; }
.fest-menu li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dotted var(--line); }
.fest-menu sup { color: var(--muted); font-size: .7em; margin-left: 2px; }
.fest-menu b { white-space: nowrap; }
.fest-sponsors { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.fest-sponsor { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 96px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-decoration: none; color: var(--ink); text-align: center; }
.fest-sponsor img { max-width: 100%; max-height: 64px; object-fit: contain; }
.fest-sponsor span { font-size: .74rem; color: var(--muted); }
.fest-sponsor.main { grid-column: span 2; min-height: 130px; border-color: #F3DFAE; background: #FFFBF1; }
.fest-sponsor.main img { max-height: 92px; }
.fest-help { background: #F1F8E6 !important; border-color: #cfe6a8 !important; text-align: center; }

/* Helfer-Anmeldung */
.help-form { display: grid; gap: 18px; }
.help-shifts { display: grid; gap: 8px; }
.help-day { font: 800 1rem var(--head); color: var(--primary); margin: 10px 0 2px; }
.help-shift { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; }
.help-shift input { margin-top: 4px; width: 20px; height: 20px; flex: none; accent-color: var(--primary); }
.help-shift span { display: flex; flex-direction: column; gap: 2px; }
.help-shift small { color: var(--muted); }
.help-shift em { font-style: normal; font-size: .82rem; color: #8a5a00; }
.help-shift:has(input:checked) { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(31,77,74,.15); }
.help-shift.full { opacity: .5; cursor: not-allowed; }
.help-fields { display: grid; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.help-fields > label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: .92rem; }
.help-fields input:not([type=checkbox]) { padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.help-fields small { color: var(--muted); font-weight: 400; }
.help-check { flex-direction: row !important; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; }
.help-check input { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.help-ok { background: #F1F8E6; border: 1px solid #cfe6a8; border-radius: var(--radius); padding: 22px; text-align: center; }

@media (max-width: 600px) {
  .fest-wrap section { padding: 16px; }
  .fest-head { padding: 16px 16px 4px; }
  .fest-hero > p, .fest-hero .fest-actions { margin-left: 16px; margin-right: 16px; }
  .fest-logo { width: 56px; height: 56px; }
  .fest-prog li { grid-template-columns: 1fr; gap: 0; }
  .fest-sponsor.main { grid-column: 1 / -1; }
}
/* Hervorgehobene Feste (bezahlt) */
.fest-card.top { position: relative; border: 2px solid var(--warm); background: linear-gradient(135deg, #FFFBF1, #fff 60%); box-shadow: 0 6px 22px rgba(242,180,65,.25); }
.fest-top { position: absolute; top: 12px; right: 14px; background: var(--warm); color: #3b2a00; font: 800 .76rem var(--font); border-radius: 999px; padding: 3px 10px; }
.fest-test { display: inline-block; align-self: flex-start; background: #E8EEF2; color: #3d5566; font: 700 .72rem var(--font); border-radius: 999px; padding: 2px 9px; margin-bottom: 4px; }

/* Werbung: beworbene Feste (blau markiert, „Anzeige“) und der Anzeigenplatz oben */
.fest-ad { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); margin: 0 0 16px; }
.fest-ad img { width: 100%; height: 100%; aspect-ratio: 2 / 1; object-fit: cover; display: block; }
.fest-ad-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 18px; justify-content: center; }
.fest-ad-body b { font: 800 1.15rem var(--head); color: var(--primary); }
.fest-ad-body .btn { align-self: flex-start; margin-top: 6px; }
.fest-ad-tag { position: absolute; top: 8px; left: 8px; background: rgba(0,0,0,.6); color: #fff; font: 700 .7rem var(--font); border-radius: 999px; padding: 2px 8px; letter-spacing: .03em; }
.fest-ad-banner { display: block; }
.fest-ad-banner img { aspect-ratio: 2 / 1; height: auto; }
@media (max-width: 640px) { .fest-ad { grid-template-columns: 1fr; } }
.fest-ad-art { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; aspect-ratio: 2 / 1; padding: 14px;
  background: linear-gradient(135deg, var(--primary), #2E7D4F); color: #fff; text-align: center; font-size: 2rem; }
.fest-ad-art b { font: 800 1.2rem var(--head); color: #fff; }
.fest-ad-art .fest-ad-logo { width: 56px; height: 56px; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 12px; padding: 4px; }
.fest-sponsored { align-self: flex-end; margin-top: -2px; font-size: .7rem; color: #8a6a1f; letter-spacing: .02em; }
/* Kurzanzeige: FEIERgeier-Symbol und die Fakten aus der Festseite – kein großes Bild */
.fest-ad-short { display: flex; align-items: center; gap: 16px; padding: 14px 18px; grid-template-columns: none; color: inherit; text-decoration: none; }
.fest-ad-short .fest-ad-sym { flex: none; width: 96px; height: 96px; aspect-ratio: 1; border-radius: 50%; }
.fest-ad-short .fest-ad-body { flex: 1; min-width: 0; padding: 0; gap: 3px; align-items: flex-start; }
.fest-ad-short .fest-ad-body b { font-size: 1.15rem; line-height: 1.2; overflow-wrap: anywhere; }
.fest-ad-line { font-size: .88rem; color: var(--muted); line-height: 1.3; }
.fest-ad-short .fest-ad-tag { position: static; display: inline-block; background: #EDEAE1; color: #555; }
.fest-ad-cta { margin-top: 4px; background: var(--primary); color: #fff; border-radius: 999px; padding: 4px 12px; font-size: .82rem; font-weight: 700; }
/* Orts- und Kreisseiten */
.fest-wrap .fest-list + h2, .fest-wrap .fest-note + h2 { margin-top: 30px; }
.fest-list.past .fest-card { opacity: .72; }
.fest-places { line-height: 1.9; }
.fest-places h2 { margin-top: 30px; }
/* Sichtbarkeit (Privat / Mit Einladung) und „Ich komme!“ */
.fest-vis { background: #FFF8E6; border: 1px solid #F2D58A; border-radius: 12px; padding: 10px 14px; margin: 0 0 14px; }
.fest-rsvp { text-align: center; }
.fest-rsvp-n { font: 600 1.05rem var(--font); margin: 0 0 12px; }
.fest-rsvp-n b { font: 800 2.2rem var(--head); color: var(--primary); display: block; line-height: 1.1; }
.fest-rsvp-form { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; align-items: center; }
.fest-rsvp-form p { margin: 0; width: 100%; }
.fest-rsvp-form input:not(.hp) { flex: 1 1 200px; max-width: 280px; padding: 12px 14px; border: 1px solid var(--line, #E7E3D8); border-radius: 12px; font: inherit; font-size: 16px; }
.fest-rsvp-feed { list-style: none; padding: 0; margin: 16px auto 0; max-width: 420px; text-align: left; }
.fest-rsvp-feed li { padding: 8px 0; border-top: 1px solid var(--line, #E7E3D8); }
/* Reservierungen */
.res-sum { list-style: none; padding: 0; margin: 8px 0; }
.res-sum li { padding: 4px 0; }
.res-change { margin-top: 14px; }
.res-change summary { cursor: pointer; font-weight: 700; color: var(--primary); }
.res-change form { margin-top: 10px; }
/* Tickets (Festseite, Bestellung, E-Tickets) */
.tix-list li span:last-child { text-align: right; }
.tix-row { display: flex; gap: 12px; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line, #E7E3D8); }
.tix-row select { width: 84px; font-size: 16px; padding: 8px; border-radius: 10px; }
.tix-holder { border: 1px solid var(--line, #E7E3D8); border-radius: 12px; padding: 10px 12px; margin: 10px 0 0; display: grid; gap: 8px; }
.tix-holder legend { font-weight: 700; padding: 0 6px; }
.tix-total { font-weight: 700; margin: 12px 0 4px; }
.tix-cards { display: grid; gap: 14px; margin-top: 16px; }
.tix-card { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; border: 2px dashed var(--line, #E7E3D8); border-radius: 16px; padding: 14px; background: #fff; }
.tix-card.off { opacity: .5; }
.tix-qr svg { display: block; width: 180px; height: 180px; }
.tix-info { display: grid; gap: 4px; flex: 1 1 160px; }
.tix-code { font-family: ui-monospace, monospace; color: var(--muted, #66737A); font-size: .85rem; }
.tix-perk { background: #FFF6DF; border-color: #F2D38A; }
.tix-code { display: flex; gap: 8px; margin: 10px 0; }
.tix-code input { flex: 1; min-width: 0; font-size: 16px; padding: 10px 12px; border: 1px solid var(--line, #E7E3D8); border-radius: 10px; text-transform: uppercase; }
/* Platzwahl und Abholung */
.tix-row { flex-wrap: wrap; }
.tix-unit { flex: 1 1 100%; display: grid; gap: 4px; font-size: .9rem; }
.tix-row .tix-unit select { width: 100%; }
.tix-how { border: 1px solid var(--line, #E7E3D8); border-radius: 12px; padding: 10px 12px; margin: 12px 0 0; display: grid; gap: 8px; }
.tix-how legend { font-weight: 700; padding: 0 6px; }
.tix-how select, .help-fields [data-slot] select { width: 100%; font-size: 16px; padding: 8px; border-radius: 10px; }
.tix-slots { margin: 0 0 8px; padding-left: 18px; }
.tix-slip .tix-qr { display: flex; justify-content: center; margin: 12px 0 4px; }
.tix-slipcode { text-align: center; font-family: ui-monospace, monospace; font-size: 1.6rem; font-weight: 700; letter-spacing: .15em; margin: 0 0 12px; }
.tix-slip ul { display: inline-block; text-align: left; margin: 0 auto 8px; }
/* Online-Zahlung */
.tix-fee { margin-top: 4px; }
.tix-paylist { display: inline-block; text-align: left; margin: 4px auto 8px; }
[data-slot][hidden], [data-fee][hidden], .tix-unit[hidden] { display: none !important; }
.fest-pro { display: inline-block; background: #E3EEFB; color: #1f5fa8; font: 700 .68rem var(--font); border-radius: 999px; padding: 1px 7px; margin-right: 2px; vertical-align: 1px; }

/* Festkalender nach Zeit (calendar_sections): Kalenderblatt, „in 3 Wochen“, Monatsleiste */
.fest-card.tiled { flex-direction: row; align-items: stretch; gap: 14px; padding: 12px 16px 12px 12px; }
.fest-card.tiled .fest-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; position: relative; }
.fest-card.tiled .fest-date { background: none; padding: 0; margin: 0; color: var(--muted); font-weight: 600; font-size: .82rem; }
.fest-cal { flex: none; width: 62px; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--line); text-align: center;
  display: flex; flex-direction: column; align-self: flex-start; box-shadow: 0 1px 0 rgba(0,0,0,.03); }
.fest-cal .m { background: #2f6b2a; color: #fff; font: 800 .72rem var(--font); letter-spacing: .06em; text-transform: uppercase; padding: 3px 0; }
.fest-cal .d { font: 800 1.6rem/1.1 var(--head); color: var(--ink); padding-top: 4px; }
.fest-cal .w { font: 600 .74rem var(--font); color: var(--muted); padding-bottom: 5px; }
.fest-cal .u { font: 600 .66rem var(--font); color: #2f6b2a; background: #F1F8E6; padding: 2px 0; }
.fest-when { align-self: flex-start; font: 800 .74rem var(--font); border-radius: 999px; padding: 2px 9px; margin-bottom: 2px; background: #EEF2F4; color: #3d5566; }
.fest-when.soon { background: #FFF1D6; color: #8a5a00; }
.fest-when.now { background: #2f6b2a; color: #fff; }
.fest-when.far { background: none; color: var(--muted); padding-left: 0; font-weight: 600; }
.fest-card.live { border-color: #9cc78f; box-shadow: 0 4px 16px rgba(47,107,42,.15); }
.fest-card.tiled .fest-top { top: 0; right: 0; }
.fest-card.tiled.top .fest-body b { padding-right: 64px; }
.fest-group { display: flex; align-items: baseline; gap: 10px; margin: 26px 0 10px !important; scroll-margin-top: 80px; }
.fest-group small { font: 600 .82rem var(--font); color: var(--muted); }
.fest-group.tips { color: #8a6a1f !important; }
.fest-months { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; margin: 6px 0 0; scrollbar-width: thin; position: sticky; top: 0; z-index: 3;
  background: var(--bg, #F7F5EE); }
.fest-months a { flex: none; display: flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 12px; font: 700 .86rem var(--font); min-height: 40px; }
.fest-months a small { background: #F1F8E6; color: #2f6b2a; border-radius: 999px; padding: 1px 7px; font-size: .74rem; }
.fest-months a.on { border-color: #2f6b2a; }
@media (max-width: 420px) {
  .fest-cal { width: 52px; } .fest-cal .d { font-size: 1.35rem; }
  .fest-card.tiled { gap: 10px; padding: 10px 12px 10px 10px; }
}

/* Monatsraster (month_grid) und Umschalter Liste/Monat */
.fk-toggle { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px; margin: 4px 0 12px; }
.fk-toggle a { text-decoration: none; color: var(--ink); font: 700 .9rem var(--font); padding: 8px 16px; border-radius: 999px; min-height: 40px; display: flex; align-items: center; }
.fk-toggle a.on { background: #2f6b2a; color: #fff; }
.fk { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; }
.fk-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.fk-head h2 { margin: 0 !important; font-size: 1.25rem !important; text-align: center; }
.fk-head h2 small { display: block; font: 600 .8rem var(--font); color: var(--muted); }
.fk-nav { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); text-decoration: none;
  color: var(--ink); font: 700 1.5rem/1 var(--font); }
.fk-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.fk-wd { display: contents; }
.fk-wd span { text-align: center; font: 700 .74rem var(--font); color: var(--muted); padding: 4px 0; text-transform: uppercase; }
.fk-day { min-height: 92px; border-radius: 10px; padding: 5px 6px; background: #FAF9F4; text-decoration: none; color: var(--ink); display: flex;
  flex-direction: column; gap: 3px; border: 1px solid transparent; min-width: 0; }
.fk-day.out { background: none; color: #c4c0b4; }
.fk-day.past:not(.out) { opacity: .55; }
.fk-day.has { background: #F1F8E6; }
.fk-day.today .fk-num { background: #2f6b2a; color: #fff; }
.fk-day.sel { border-color: #2f6b2a; box-shadow: inset 0 0 0 1px #2f6b2a; }
.fk-num { font: 700 .86rem var(--font); width: 26px; height: 26px; display: grid; place-items: center; border-radius: 999px; flex: none; }
.fk-ev { display: block; font: 600 .74rem/1.25 var(--font); background: #fff; border-left: 3px solid #2f6b2a; border-radius: 4px; padding: 2px 5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fk-ev.tip { border-left-color: var(--warm); }
.fk-more { font: 700 .72rem var(--font); color: #2f6b2a; }
.fk-dots { display: none; gap: 3px; justify-content: center; }
.fk-dots i { width: 6px; height: 6px; border-radius: 999px; background: #2f6b2a; }
@media (max-width: 640px) {
  .fk { padding: 10px 6px; }
  .fk-grid { gap: 2px; }
  .fk-day { min-height: 54px; align-items: center; padding: 4px 2px; }
  .fk-evs { display: none; }
  .fk-dots { display: flex; }
}
/* Saalplan: Vorab-Reservierung (hall.py) */
.saal-svg { width: 100%; height: auto; max-height: 60vh; display: block; margin: 12px 0; }
.saal-rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; margin: 10px 0 16px; }
.saal-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border: 1px solid var(--line, #E7E3D8); border-radius: 12px; background: #fff; }
.saal-row small { color: #777; }
.saal-row input { width: 64px; padding: 8px; border: 1px solid var(--line, #E7E3D8); border-radius: 10px; font: inherit; font-size: 16px; text-align: center; }
.saal-list { padding-left: 0; list-style: none; line-height: 1.9; }

/* Saalplan für Gäste (saal-pick.js): wie der Saalplan in der App – helle Fläche, weiße Tische, Plätze rundum */
.saal-pick { margin: 14px 0 18px; }
.sp-hint { margin: 0 0 8px; }
.sp-plans { display: grid; gap: 12px; }
.sp-plan { overflow-x: auto; -webkit-overflow-scrolling: touch; background: #fff; border: 1px solid var(--line, #E7E3D8); border-radius: 16px; padding: 8px; }
.sp-zname { margin: 2px 6px 4px; font-weight: 700; }
.sp-svg { width: 100%; height: auto; max-height: 70vh; display: block; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.sp-zone { fill: url(#spDots); stroke: #D9D3C4; stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
.sp-other > * { fill: #EFEBE2; }
.sp-unit .sp-body > * { fill: #fff; stroke: #6BBF59; stroke-width: 2.5px; vector-effect: non-scaling-stroke; filter: drop-shadow(0 2px 3px rgba(31, 77, 74, .12)); }
.sp-unit.full .sp-body > * { stroke: #E0645A; fill: #FFF6F5; }
.sp-unit.on .sp-body > * { stroke: #1F4D4A; stroke-width: 4px; fill: #E2F1EC; }
.sp-unit.on.wish .sp-body > * { stroke: #8E4FC4; fill: #F2E9FA; }
.sp-unit { cursor: pointer; }
.sp-svg text { stroke: none; pointer-events: none; }
.sp-no { font-weight: 800; text-anchor: middle; fill: #1F4D4A; }
.sp-sub { text-anchor: middle; fill: #7A8580; font-weight: 600; }
.sp-st { cursor: pointer; }
.sp-st circle { fill: #fff; stroke: #C9C2B3; stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
.sp-st text { text-anchor: middle; dominant-baseline: central; fill: #8A8F8C; font-weight: 700; }
.sp-st.taken { cursor: not-allowed; }
.sp-st.taken circle { fill: #D8D4CB; stroke: #D8D4CB; }
.sp-st.taken text { fill: #fff; }
.sp-st.mine circle { fill: #2E7D6B; stroke: #fff; stroke-width: 2px; }
.sp-st.mine.wish circle { fill: #8E4FC4; }
.sp-st.mine text { fill: #fff; }
.sp-st.free:hover circle { stroke: #2E7D6B; stroke-width: 3px; }
.sp-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .85rem; color: #666; margin: 8px 2px; }
.sp-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; border: 1.5px solid #C9C2B3; background: #fff; }
.sp-legend i.mine { background: #2E7D6B; border-color: #2E7D6B; } .sp-legend i.mine.wish { background: #8E4FC4; border-color: #8E4FC4; }
.sp-legend i.taken { background: #D8D4CB; border-color: #D8D4CB; }
.sp-list { display: grid; gap: 8px; }
.sp-sum { margin: 4px 0 0; }
.sp-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border: 1px solid var(--line, #E7E3D8); border-radius: 12px; background: #fff; }
.sp-row small { color: #777; }
.sp-x { border: 0; background: #F1ECE2; width: 30px; height: 30px; border-radius: 50%; font-size: 1.1rem; cursor: pointer; }
.sp-step { display: inline-flex; align-items: center; gap: 10px; }
.sp-step button { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line, #E7E3D8); background: #fff; font-size: 1.1rem; cursor: pointer; }
.sp-msg { color: #B4413A; font-weight: 600; min-height: 1.2em; margin: 6px 0 0; }
.tix-q-hall { display: none; }
.tix-hall-n { margin-left: auto; }

/* Saalplan für Gäste: am PC ganz sichtbar, am Handy groß genug zum Tippen (dann seitlich wischen) */
@media (max-width: 700px) { .sp-svg { min-width: var(--minw, 0); max-height: none; } .sp-plan::after { content: "← wischen →"; display: block; text-align: center; font-size: .75rem; color: #888; margin-top: 4px; } }
/* Ticketauswahl: Anzahl immer rechts oben, auch wenn die Kategorie eine Beschreibung hat */
.tix-row { align-items: flex-start; }
.tix-row > span { flex: 1 1 0; min-width: 0; }
.tix-row > select { flex: none; }
.tix-row > .tix-unit, .tix-row > label { flex-basis: 100%; }
.tix-total { text-wrap: balance; }
/* Rückmeldung per Link: Bewertung mit Sternen (alles freiwillig) */
.fb-rating { border: 1px solid var(--line, #E7E3D8); border-radius: 16px; padding: 14px 16px 6px; background: #FBFAF6; }
.fb-rating h2 { font-size: 1.15rem; margin: 0 0 4px; }
.fb-rating > .fest-small { margin: 0 0 8px; }
.fb-rate { border: 0; padding: 8px 0; margin: 0; border-top: 1px solid var(--line, #E7E3D8); display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; }
.fb-rate:first-of-type { border-top: 0; }
.fb-rate[hidden] { display: none; }
.fb-rate legend { float: left; flex: 1 1 200px; font-weight: 600; padding: 0; }
.fb-stars { display: inline-flex; flex-direction: row-reverse; }
.fb-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fb-stars label { font-size: 2rem; line-height: 1; padding: 2px 3px; color: #D5D9DB; cursor: pointer; transition: color .1s, transform .1s; }
.fb-stars input:checked ~ label, .fb-stars label:hover, .fb-stars label:hover ~ label { color: #F2B441; }
.fb-stars input:focus-visible + label { outline: 2px solid #2F7DD1; border-radius: 6px; }
.fb-stars label:active { transform: scale(1.15); }
.fb-clear { border: 0; background: none; color: #66737A; font: inherit; font-size: .8rem; text-decoration: underline; cursor: pointer; padding: 0; }

/* Eigene Karte des Vereins (Bilder/PDF) */
.fest-karten { display: grid; gap: 12px; }
.fest-karte { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.fest-karte-pdf { display: inline-block; padding: 10px 14px; border: 1px solid #ddd; border-radius: 10px; text-decoration: none; }
