/* LSG Reservierung – Gästeportal. Farben und Schriften folgen dem Theme der Vereinsseite. */

.lsgr {
	--l-licht: var(--licht, #f5f8f3);
	--l-leise: var(--leise, rgba(245, 248, 243, .74));
	--l-hauch: var(--hauch, rgba(245, 248, 243, .07));
	--l-rampe: var(--rampe, #ecc97a);
	--l-tann: var(--tann, #0a2218);
	--l-moos: var(--moos, #1d5540);
	--l-display: var(--display, 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif);
	--l-rand: rgba(245, 248, 243, .18);
	color: var(--l-licht);
	line-height: 1.65;
}
.lsgr *, .lsgr *::before, .lsgr *::after { box-sizing: border-box; }
.lsgr--kasten { background: #071a12; border-radius: 26px; padding: clamp(20px, 5vw, 48px); }

.lsgr a { color: var(--l-licht); text-decoration-color: rgba(236, 201, 122, .6); text-underline-offset: 3px; }
.lsgr a:hover { color: var(--l-rampe); }
.lsgr :focus-visible { outline: 2px solid var(--l-rampe); outline-offset: 3px; border-radius: 8px; }

/* Kopf */
.lsgr-kopf { margin-bottom: 34px; }
.lsgr-zeile { margin: 0 0 10px; font-size: .8rem; letter-spacing: .3em; text-transform: uppercase; color: var(--l-rampe); }
.lsgr h1 { font-family: var(--l-display); font-weight: 340; font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.08; letter-spacing: -.01em; margin: 0; text-wrap: balance; color: var(--l-licht); }
.lsgr h1 em { font-style: italic; font-weight: 300; color: var(--l-rampe); }
.lsgr-intro { color: var(--l-leise); max-width: 62ch; margin: 18px 0 0; }

/* Navigation (nur ohne passendes Theme) */
.lsgr-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 30px; font-size: .9rem; }
.lsgr-nav a { text-decoration: none; color: var(--l-leise); }
.lsgr-nav a[aria-current] { color: var(--l-rampe); }

/* Hinweise */
.lsgr-hinweis { border-radius: 20px; padding: 16px 22px; margin: 0 0 26px; background: var(--l-hauch); border-left: 3px solid var(--l-rampe); }
.lsgr-hinweis p { margin: 0 0 6px; }
.lsgr-hinweis p:last-child { margin-bottom: 0; }
.lsgr-hinweis--ok { border-left-color: #8fd3a8; }
.lsgr-hinweis--fehler { border-left-color: #f08a7c; background: rgba(240, 138, 124, .1); }

/* Terminliste */
.lsgr-termine { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lsgr-termine li {
	display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr) auto; gap: 8px 28px; align-items: center;
	padding: 22px 30px; border-radius: 26px; background: linear-gradient(90deg, var(--l-hauch), rgba(245, 248, 243, .02));
}
.lsgr-tag { font-family: var(--l-display); font-size: 1.5rem; line-height: 1.2; font-variant-numeric: tabular-nums; }
.lsgr-tag small { display: block; font-family: var(--text, inherit); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--l-rampe); margin-bottom: 2px; }
.lsgr-was strong { display: block; font-weight: 600; }
.lsgr-was span { color: var(--l-leise); font-size: .95rem; }
.lsgr-was span + span::before { content: " · "; }
.lsgr-stand--knapp { color: var(--l-rampe) !important; }
.lsgr-stand--voll, .lsgr-stand--zu { color: #f0a79c !important; }

/* Knöpfe */
.lsgr-pille {
	display: inline-block; text-decoration: none; font: inherit; font-size: .95rem; font-weight: 500; line-height: 1.5;
	padding: 12px 26px; border: 0; border-radius: 99px; cursor: pointer; text-align: center;
	color: var(--l-licht); background: rgba(245, 248, 243, .12);
	transition: background .35s, transform .35s, box-shadow .35s;
}
.lsgr-pille:hover { background: rgba(245, 248, 243, .2); color: var(--l-licht); transform: translateY(-2px); }
.lsgr-pille--hell { background: var(--l-licht); color: var(--l-tann); box-shadow: 0 0 44px rgba(245, 248, 243, .18); }
.lsgr-pille--hell:hover { background: #fff; color: var(--l-tann); box-shadow: 0 0 60px rgba(245, 248, 243, .32); }

/* Formulare */
.lsgr-form { max-width: 620px; padding: 30px; border-radius: 26px; background: var(--l-hauch); }
.lsgr-form--klein { margin-top: 16px; padding: 20px 30px; }
.lsgr-zwei { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 20px; }
.lsgr-feld { margin: 0 0 18px; }
.lsgr-feld label { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--l-rampe); margin-bottom: 6px; }
.lsgr-feld input, .lsgr-feld textarea {
	width: 100%; font: inherit; color: var(--l-licht); background: rgba(4, 13, 9, .45);
	border: 1px solid var(--l-rand); border-radius: 14px; padding: 12px 16px;
}
.lsgr-feld input::placeholder, .lsgr-feld textarea::placeholder { color: rgba(245, 248, 243, .4); }
.lsgr-feld input:focus, .lsgr-feld textarea:focus { outline: none; border-color: var(--l-rampe); box-shadow: 0 0 0 1px var(--l-rampe); }
.lsgr-feld small { display: block; margin-top: 6px; color: var(--l-leise); font-size: .85rem; }
.lsgr-haken { margin: 0 0 18px; color: var(--l-leise); font-size: .95rem; }
.lsgr-haken input { accent-color: var(--l-rampe); width: 17px; height: 17px; vertical-align: -3px; margin-right: 6px; }
.lsgr-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin: 6px 0 0; }
.lsgr-honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lsgr-wer { color: var(--l-leise); margin: 0 0 20px; }
.lsgr-wer strong { color: var(--l-licht); }
.lsgr-notiz { color: var(--l-leise); border-left: 2px solid var(--l-rampe); padding-left: 14px; margin: 0 0 20px; }
.lsgr-fussnote, .lsgr-leer { color: var(--l-leise); margin-top: 26px; }

/* Meine Reservierungen */
.lsgr-karten { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.lsgr-karte { padding: 26px 30px; border-radius: 26px; background: var(--l-hauch); }
.lsgr-karte--vorbei { opacity: .55; }
.lsgr-karte-kopf { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px 20px; }
.lsgr-karte h2 { font-family: var(--l-display); font-weight: 340; font-size: 1.55rem; line-height: 1.15; margin: 10px 0 14px; color: var(--l-licht); }
.lsgr-karte dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 22px; margin: 0; }
.lsgr-karte dt { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--l-rampe); padding-top: 4px; }
.lsgr-karte dd { margin: 0; }
.lsgr-plaetze { font-weight: 600; }
.lsgr-erklaer { color: var(--l-leise); margin: 14px 0 0; }
.lsgr-status { display: inline-block; padding: 5px 16px; border-radius: 99px; font-size: .85rem; font-weight: 500; background: rgba(245, 248, 243, .12); white-space: nowrap; }
.lsgr-status--confirmed { background: var(--l-licht); color: var(--l-tann); }
.lsgr-status--open { background: rgba(236, 201, 122, .2); color: var(--l-rampe); }
.lsgr-status--review { background: rgba(170, 160, 240, .2); color: #cfc8ff; }
.lsgr-status--declined, .lsgr-status--cancelled { color: var(--l-leise); }

.lsgr details { margin-top: 16px; }
.lsgr summary { cursor: pointer; color: var(--l-leise); width: fit-content; }
.lsgr summary:hover { color: var(--l-rampe); }
.lsgr-storno form { margin-top: 12px; }
.lsgr-storno p { color: var(--l-leise); margin: 0 0 12px; }
.lsgr-loeschen { margin-top: 30px; }

/* Sitzplan mit den eigenen Plätzen */
.lsgr-miniplan { margin-top: 14px; padding: 14px; border-radius: 18px; background: rgba(4, 13, 9, .4); overflow-x: auto; text-align: center; }
.lsgr-miniplan svg { max-width: 100%; height: auto; min-width: 280px; }
.lsgr-miniplan .lsgr-stage { fill: rgba(245, 248, 243, .12); }
.lsgr-miniplan .lsgr-stage-label { fill: var(--l-licht); font: 600 13px/1 system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.lsgr-miniplan .lsgr-row-label { fill: rgba(245, 248, 243, .6); font: 600 11px/1 system-ui, sans-serif; }
.lsgr-miniplan .lsgr-seat-rect { fill: rgba(245, 248, 243, .06); stroke: rgba(245, 248, 243, .28); stroke-width: 1; }
.lsgr-miniplan .lsgr-seat-num { fill: var(--l-tann); font: 700 10px/1 system-ui, sans-serif; }
.lsgr-miniplan .lsgr-seat.is-mine .lsgr-seat-rect { fill: var(--l-rampe); stroke: var(--l-rampe); }

@media (max-width: 860px) {
	.lsgr-termine li { grid-template-columns: minmax(0, 1fr); padding: 20px 22px; }
	.lsgr-termine .lsgr-pille { justify-self: start; }
	.lsgr-form, .lsgr-karte { padding: 22px 20px; }
}
@media (hover: none) {
	.lsgr-pille:hover { transform: none; }
}

/* Sitzwünsche zum Ankreuzen */
.lsgr-wahl { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.lsgr-wahl legend { padding: 0; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--l-rampe); margin-bottom: 10px; }
.lsgr-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lsgr-chip { position: relative; cursor: pointer; }
.lsgr-chip input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.lsgr-chip span { display: inline-block; padding: 9px 18px; border-radius: 99px; border: 1px solid var(--l-rand); background: rgba(4, 13, 9, .45); color: var(--l-leise); font-size: .95rem; transition: background .25s, color .25s, border-color .25s; }
.lsgr-chip:hover span { border-color: var(--l-rampe); color: var(--l-licht); }
.lsgr-chip input:checked + span { background: var(--l-rampe); border-color: var(--l-rampe); color: var(--l-tann); font-weight: 500; }
.lsgr-chip input:focus-visible + span { outline: 2px solid var(--l-rampe); outline-offset: 3px; }
.lsgr-teilen small { display: block; margin: 6px 0 0 27px; font-size: .85rem; color: var(--l-leise); }

/* Eingang und Toiletten im Sitzplan */
.lsgr-miniplan .lsgr-place rect { fill: rgba(236, 201, 122, .16); stroke: rgba(236, 201, 122, .5); stroke-width: 1; }
.lsgr-miniplan .lsgr-place text { fill: var(--l-rampe); font: 600 10.5px/1 system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
