/* Aufbau angelehnt an moderne Hotel-Buchungsseiten: zentriertes Logo, USP-Leiste, Serifen-Headlines,
   Bildkarten mit einer stark gerundeten Ecke, Buchungspanel rechts, dunkler Fuß. Farben: eigene Grünpalette. */
:root {
  --g50: #f3fbf2; --g100: #e2f6e2; --g200: #c7ecc6; --g300: #99dc99; --g400: #64c464;
  --g500: #4abb4a; --g600: #2f8a2f; --g700: #286d28; --g800: #245725; --g900: #1f4820; --g950: #0c270d;
  --ink: #0c270d; --muted: #4f6450; --line: #d9eed8; --bg: var(--g50); --surface: #ffffff;
  --red: #b42318; --red-bg: #fdeceb; --amber: #8a5300; --amber-bg: #fff3dc;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-s: 8px; --r: 14px;
  --r-sig: 14px 14px 56px 14px;      /* Markenzeichen: eine große Ecke unten rechts */
  --r-sig-s: 10px 10px 32px 10px;
  --head: 73px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font: 16px/1.6 var(--sans); color: var(--ink); background: var(--bg); }
main { flex: 1; width: 100%; }
main { max-width: 1180px; margin: 0 auto; padding: 32px 16px 80px; }
@media (min-width: 720px) { main { padding: 48px 32px 112px; } }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.08; margin: .2rem 0 1rem; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; margin: 3rem 0 1rem; }
h3 { font-size: 1.35rem; line-height: 1.2; margin: 2rem 0 .75rem; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--g400); text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--ink); }
small, .meta { color: var(--muted); }
.meta { margin: .25rem 0; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 52ch; }
.empty { padding: 40px 24px; text-align: center; background: var(--surface); border-radius: var(--r-sig); color: var(--muted); }

/* Kopf: Navigation links, Logo mittig, Warenkorb rechts */
header.top { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.top-inner { max-width: 1240px; margin: 0 auto; padding: 8px 16px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
@media (min-width: 720px) { .top-inner { padding: 8px 32px; } }
.brand { justify-self: center; display: block; }
.brand img { display: block; height: 52px; width: auto; }
.nav-left, .nav-right { display: flex; align-items: center; gap: 6px 22px; flex-wrap: wrap; }
.nav-right { justify-content: flex-end; }
.nav-staff { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; }
.nav-staff form.inline { display: inline-flex; }
.nav-left a, .nav-staff a, .nav-right button.link { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.nav-left a:hover, .nav-staff a:hover, .nav-right button.link:hover { color: var(--g600); }
.nav-right a.pill { display: inline-flex; align-items: center; gap: 6px; padding: 9px 20px; border-radius: 999px; background: var(--g500); color: var(--ink); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.nav-right a.pill:hover { background: var(--g400); }
.badge { display: inline-block; min-width: 20px; text-align: center; background: var(--ink); color: #fff; border-radius: 999px; padding: 0 6px; font-size: .72rem; letter-spacing: 0; }
/* Schmaler als 1100px: Logo links, Navigation darunter (sonst stößt sie bei eingeloggten Rollen ans Logo) */
@media (max-width: 1099px) {
  .top-inner { grid-template-columns: auto 1fr; grid-template-areas: "brand right" "left left"; }
  .brand { grid-area: brand; justify-self: start; }
  .nav-right { grid-area: right; gap: 14px; }
  .nav-left { grid-area: left; gap: 6px 18px; border-top: 1px solid var(--line); padding-top: 8px; }
}
@media (max-width: 719px) {
  :root { --head: 0px; }
  header.top { position: static; }
  .brand img { height: 44px; }
}

/* USP-Leiste */
.usp { background: var(--g100); display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 36px; padding: 10px 16px; font-size: .82rem; font-weight: 500; }
.usp span { display: inline-flex; align-items: center; gap: 8px; }
.usp svg { color: var(--g700); }
@media (max-width: 719px) { .usp { justify-content: flex-start; gap: 4px 20px; font-size: .78rem; } }

/* Fuß: dunkles Panel */
footer { background: var(--g950); color: var(--g100); border-radius: 56px 0 0 0; margin-top: 24px; }
.foot-inner { max-width: 1180px; margin: 0 auto; padding: 48px 32px 56px; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.foot-brand { display: flex; align-items: center; gap: 14px; font-family: var(--serif); font-size: 1.35rem; }
.foot-brand img { height: 56px; width: auto; filter: invert(1); } /* SVG ist transparent -> weiß auf Dunkel */
footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .9rem; }
footer a { color: var(--g100); text-decoration-color: var(--g500); }
footer a:hover { color: #fff; text-decoration-color: #fff; }

/* Formulare */
form.inline { display: inline; }
form label { display: block; margin: 0 0 16px; font-weight: 600; font-size: .85rem; }
input, select, textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit; font-weight: 400; color: var(--ink); border: 1px solid var(--g200); border-radius: var(--r-s); background: var(--surface); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--g500); outline-offset: 0; border-color: var(--g500); }
input[type=checkbox], input[type=radio] { width: 18px; height: 18px; padding: 0; accent-color: var(--g600); }
label.check { display: block; position: relative; padding-left: 28px; font-weight: 400; font-size: .95rem; }
label.check input { position: absolute; left: 0; top: 3px; margin: 0; }
fieldset { border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px 6px; margin: 0 0 16px; background: var(--surface); }
legend { font-family: var(--serif); font-size: 1.1rem; padding: 0 6px; }
.narrow { max-width: 460px; }
.grid2 { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.tier-row { border-bottom: 1px dashed var(--line); margin-bottom: 10px; }
.final { display: block; color: var(--g700); font-weight: 500; min-height: 1.3em; }
input[type=file]::file-selector-button { margin-right: 12px; padding: 8px 16px; font: inherit; font-size: .8rem; font-weight: 600; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; }

/* Buttons: Pillen; primär = Grün mit dunkler Schrift */
button, .button { display: inline-block; padding: 12px 26px; font: inherit; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1.2; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, color .15s; }
button:hover, .button:hover { background: var(--ink); color: #fff; }
button.primary, .button.primary { background: var(--g500); border-color: var(--g500); color: var(--ink); }
button.primary:hover, .button.primary:hover { background: var(--g400); border-color: var(--g400); color: var(--ink); }
button.danger { color: var(--red); border-color: #e9b5b0; }
button.danger:hover { background: var(--red); border-color: var(--red); color: #fff; }
button.link, button.link:hover { background: none; border: none; padding: 0; color: var(--ink); font-size: inherit; font-weight: inherit; letter-spacing: inherit; text-transform: none; text-decoration: underline; text-decoration-color: var(--g400); border-radius: 0; }
.row { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: flex-end; margin: 10px 0; }
.row label { margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }

/* Meldungen */
.flash, .notice { padding: 12px 18px; border-radius: var(--r-s); margin: 0 0 16px; background: var(--surface); border-left: 4px solid var(--g300); }
.flash.ok, .notice.ok { background: var(--g100); border-left-color: var(--g500); color: var(--g900); }
.flash.error { background: var(--red-bg); border-left-color: var(--red); color: var(--red); }
.notice.warn { background: var(--amber-bg); border-left-color: var(--amber); color: var(--amber); }
.flash ul { margin: 0; padding-left: 18px; }

.tag { display: inline-block; font-size: .75rem; font-weight: 600; padding: 3px 12px; border-radius: 999px; border: 1px solid var(--g300); color: var(--muted); background: var(--surface); white-space: nowrap; }
.tag.ok, .tag.open, .tag.paid { background: var(--g800); border-color: var(--g800); color: #fff; }
.tag.warn, .tag.pending { background: var(--amber-bg); border-color: #f0d9ad; color: var(--amber); }
.tag.cancelled, .tag.expired { background: var(--red-bg); border-color: #f1c4c0; color: var(--red); }

/* Startseite */
.hero { text-align: center; padding: 16px 0 40px; }
.hero h1 { font-size: clamp(2.6rem, 6.5vw, 4.5rem); margin-bottom: .75rem; }
.hero .lead { margin: 0 auto; }
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 40px 28px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card a { display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none; }
.card-media { display: block; aspect-ratio: 1 / 1.414; border-radius: var(--r-sig); overflow: hidden; background: var(--g200); }
.card-media.tone-1 { background: var(--g300); }
.card-media.tone-2 { background: var(--g800); color: var(--g100); }
.card-media img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
.card-media:has(img) { background: var(--surface); border-radius: var(--r-s); } /* Plakat nie beschneiden; DIN-A-Plakate füllen die Karte genau */
.card a:hover .card-media img { transform: scale(1.03); }
.ph { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px 26px; font-family: var(--serif); }
.ph strong { font-size: 5rem; font-weight: 400; line-height: .9; }
.ph span { font-size: 1.4rem; text-transform: uppercase; letter-spacing: .12em; }
.card-body { display: flex; flex-direction: column; gap: 2px; padding: 16px 4px 0; flex: 1; }
.card .date { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.card h2 { margin: 4px 0 2px; font-size: 1.6rem; line-height: 1.15; }
.card a:hover h2 { color: var(--g600); }
.card .place { color: var(--muted); }
.card-foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.card .price { font-weight: 600; }

/* Veranstaltung: Inhalt links, Buchungspanel rechts */
.crumb { font-size: .85rem; margin-bottom: 1.25rem; }
.ev-head { margin-bottom: 2rem; }
.ev-head .meta { font-size: 1.05rem; }
.ev-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .ev-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; align-items: start; } }
.ev-poster { margin: 0 0 2rem; }
.ev-poster a { display: block; }
.ev-poster img { display: block; width: 100%; height: auto; border-radius: var(--r-s); } /* kleine Ecken: Plakat-Ränder bleiben lesbar */
@media (min-width: 900px) { .ev-poster img { width: auto; max-width: 100%; max-height: 720px; } }
.desc { font-size: 1.08rem; max-width: 62ch; }
.prices { list-style: none; padding: 0; margin: 0 0 1rem; max-width: 520px; }
.prices li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.prices li:first-child { border-top: 1px solid var(--line); }
.ev-book { background: var(--surface); border-radius: var(--r-sig); padding: 26px 24px 28px; box-shadow: 0 1px 2px rgba(12, 39, 13, .05), 0 12px 32px -12px rgba(12, 39, 13, .14); }
@media (min-width: 900px) { .ev-book { position: sticky; top: calc(var(--head) + 24px); } }
.ev-book h2 { margin-top: .5rem; font-size: 1.7rem; }
/* Buchungsbox: bewusst schlicht – Text, Haarlinien, Felder nur mit Unterstrich */
.avail { margin: 0; font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; }
.book-form { margin-top: 20px; }
.book-incart { margin: 12px 0 0; font-size: .9rem; color: var(--muted); }
.book-line { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.stepper { display: inline-flex; align-items: center; gap: 14px; }
.stepper .step { padding: 0 4px; border: none; border-radius: 0; background: none; color: var(--ink); font-size: 1.2rem; font-weight: 400; letter-spacing: 0; line-height: 1; text-decoration: none; }
.stepper .step:hover { background: none; color: var(--g600); }
.stepper .step:disabled, .stepper .step.off { color: var(--g200); cursor: default; }
.stepper output { min-width: 1.5ch; text-align: center; font-variant-numeric: tabular-nums; }
.seat-list { border-top: 1px solid var(--line); }
.seat-row { display: grid; grid-template-columns: 1fr 1fr; align-items: baseline; column-gap: 12px; padding: 14px 0 12px; border-bottom: 1px solid var(--line); }
.seat-for { grid-column: 1 / -1; font-size: .85rem; font-weight: 600; }
.seat-row input[name=first], .seat-row input[name=last] { min-width: 0; margin: 0; padding: 8px 0 6px; border: none; border-bottom: 1px solid var(--g200); border-radius: 0; background: transparent; }
.seat-row input:focus { outline: none; border-bottom-color: var(--ink); }
.seat-row select { grid-column: 1 / -1; width: 100%; margin: 4px 0 0; padding: 8px 28px 6px 0; border: none; border-bottom: 1px solid var(--g200); border-radius: 0; color: var(--ink); font-weight: 500; cursor: pointer;
  appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%230c270d' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 4px center; }
.seat-row select:hover, .seat-row select:focus { outline: none; border-bottom-color: var(--ink); }
.seat-q { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: baseline; gap: 12px; margin: 2px 0 0; font-size: .9rem; font-weight: 400; color: var(--muted); }
.seat-q small { font-size: .8rem; }
.seat-q input, .seat-row .seat-q select { grid-column: auto; margin: 0; padding: 6px 0; border: none; border-bottom: 1px solid var(--g200); border-radius: 0; background-color: transparent; color: var(--ink); font-weight: 400; }
.seat-q input:focus { outline: none; border-bottom-color: var(--ink); }
.book-total { margin-bottom: 18px; border-top: none; font-weight: 600; }
.ev-book fieldset { background: var(--g50); border-color: transparent; }
.ev-book button.primary { width: 100%; padding: 15px; }
.ev-book .notice:last-child { margin-bottom: 0; }
.poster-edit { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.poster-edit img { width: 96px; border-radius: var(--r-sig-s); }
.seat { margin-bottom: 12px; }
.total { font-family: var(--serif); font-size: 1.6rem; margin: 1.25rem 0; }

/* Tabellen als weiße Karten */
table.list { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border-radius: var(--r); overflow: hidden; margin-bottom: 1rem; }
table.list th, table.list td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.list thead th { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
table.list tbody tr:last-child td, table.list tfoot tr:last-child th { border-bottom: none; }
table.list tfoot th, table.list tbody tr:last-child th { background: var(--g100); font-family: var(--serif); font-weight: 400; font-size: 1.2rem; }
table.list .num { text-align: right; white-space: nowrap; }
tr.inactive { opacity: .55; }

/* Verwaltung */
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin: 16px 0; }
.stats div { background: var(--surface); border-radius: var(--r-sig-s); padding: 14px 16px; }
.stats strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.15; }
.stats div > span { color: var(--muted); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.order { background: var(--surface); border-radius: var(--r); padding: 16px 18px; margin-bottom: 12px; }
.order.expired, .order.cancelled { opacity: .6; }
.order ul { margin: 8px 0; padding-left: 20px; }
.order li.cancelled { text-decoration: line-through; color: var(--muted); }

/* Einlass – kompakte Abhak-Liste */
.ci-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0 12px; }
.ci-summary div { background: var(--surface); border-radius: var(--r-sig-s); padding: 12px 16px; }
.ci-summary div.warn { background: var(--amber-bg); color: var(--amber); }
.ci-summary strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1.1; }
.ci-summary div > span { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.ci-tools { position: sticky; top: var(--head); z-index: 5; background: var(--bg); padding: 10px 0; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.ci-tools input[type=search] { margin: 0; flex: 1 1 220px; width: auto; border-radius: 999px; padding-left: 20px; }
.ci-tools label.check { margin: 0; white-space: nowrap; }
.ci-list { list-style: none; padding: 0; margin: 0; background: var(--surface); border-radius: var(--r); overflow: hidden; }
.ci-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; padding: 8px 14px; border-bottom: 1px solid var(--line); }
.ci-row:last-child { border-bottom: none; }
.ci-row[hidden] { display: none; }
.ci-row.in { background: var(--g100); }
.ci-check { grid-column: 1; margin: 0; }
.ci-check label { display: flex; align-items: center; gap: 12px; margin: 0; cursor: pointer; min-height: 36px; font-size: 1rem; }
.ci-check input[type=checkbox] { width: 26px; height: 26px; margin: 0; flex: none; cursor: pointer; }
.ci-name { font-weight: 600; }
.ci-info { grid-column: 1; font-size: .82rem; color: var(--muted); padding-left: 38px; }
.ci-pay { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
button.small { padding: 5px 12px; font-size: .68rem; background: var(--amber); border-color: var(--amber); color: #fff; }
button.small:hover { background: #6f4300; border-color: #6f4300; }
@media (min-width: 720px) {
  .ci-row { grid-template-columns: minmax(180px, 1.2fr) 1.5fr auto; padding: 6px 16px; }
  .ci-info { grid-column: 2; padding-left: 0; }
  .ci-pay { grid-column: 3; grid-row: 1; flex-direction: row; align-items: center; }
}

/* Mitgliederverwaltung */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r); }
table.members { min-width: 860px; margin-bottom: 0; }
table.members td { font-size: .92rem; }
table.members tr[hidden] { display: none; }
.yes { color: var(--g600); font-weight: 700; }
.members td.ljkn { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.import-list { margin-top: 2rem; }
.import-list summary { cursor: pointer; font-weight: 600; margin-bottom: 12px; }

/* Startseite */
.home-hero { display: grid; gap: 32px; align-items: center; padding: 8px 0 24px; }
@media (min-width: 860px) { .home-hero { grid-template-columns: 1.1fr 1fr; gap: 56px; } }
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--g600); margin: 0 0 .5rem; }
.home-hero h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); }
.home-hero .lead { margin-bottom: 1.75rem; }
.home-hero-media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sig); }
.home-hero.no-image .home-hero-media { display: grid; place-items: center; }
.home-hero.no-image .home-hero-media img.home-logo { width: 78%; max-width: 400px; aspect-ratio: auto; object-fit: contain; border-radius: 0; }
@media (max-width: 859px) { .home-hero.no-image .home-hero-media { display: none; } } /* auf dem Handy steht das Logo schon im Kopf */
.home-tiles { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 20px; }
@media (min-width: 720px) { .home-tiles { grid-template-columns: repeat(3, 1fr); } }
.home-tiles li { background: var(--surface); border-radius: var(--r-sig); padding: 26px 26px 30px; }
.home-tiles svg { width: 30px; height: 30px; color: var(--g600); }
.home-tiles h3 { margin: 12px 0 6px; }
.home-tiles p { margin: 0; color: var(--muted); }
.home-about { max-width: 68ch; }
.home-about p { font-size: 1.05rem; }
.section-head { display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: baseline; justify-content: space-between; margin: 3rem 0 1.25rem; }
.section-head h2 { margin: 0; }
.home-contact { background: var(--g100); border-radius: var(--r-sig); padding: 8px 28px 24px; margin-top: 56px; }
.home-contact h2 { margin-top: 1.5rem; }

/* Foto-Slider (Startseite) */
.slider { position: relative; margin: 48px 0 0; }
.slides { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--r-sig); }
.slides::-webkit-scrollbar { display: none; }
.slides img { flex: 0 0 88%; min-width: 0; height: auto; aspect-ratio: 4 / 3; object-fit: cover; scroll-snap-align: start; border-radius: var(--r-sig); background: var(--g100); }
@media (min-width: 720px) { .slides img { flex-basis: calc((100% - 16px) / 2); } }
@media (min-width: 1100px) { .slides img { flex-basis: calc((100% - 32px) / 3); aspect-ratio: 1 / 1; } }
.slider .slide-prev, .slider .slide-next { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; padding: 0; border: none; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); font-size: 1.6rem; line-height: 1; letter-spacing: 0; box-shadow: 0 2px 10px rgba(12,39,13,.18); }
.slider .slide-prev { left: 12px; }
.slider .slide-next { right: 12px; }
.slider .slide-prev:hover, .slider .slide-next:hover { background: var(--g500); color: var(--ink); }
.photo-admin { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.photo-admin img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sig-s); margin-bottom: 8px; }
.photo-admin .row { gap: 6px; flex-wrap: wrap; }
.photo-admin button { padding: 6px 12px; }
/* Zusatzfragen im Veranstaltungsformular: Frage | Antworten | Pflicht nebeneinander */
.question-row { padding-bottom: 6px; }
.question-row + .question-row { border-top: 1px solid var(--line); padding-top: 10px; }
@media (min-width: 720px) { .question-row { display: grid; grid-template-columns: 1fr 1.6fr 10rem; gap: 12px; align-items: end; } }
/* Liste einer Veranstaltung */
.table-scroll { overflow-x: auto; margin-bottom: 1rem; }
.table-scroll table.list { margin-bottom: 0; }
table.list.compact th, table.list.compact td { padding: 9px 12px; font-size: .9rem; }
table.list.compact td { white-space: nowrap; }
.sum-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; align-items: start; }
.foot-text { margin-top: 6px; font-family: var(--sans); font-size: .88rem; line-height: 1.55; color: var(--g200); }
.foot-text p { margin: 0; }
.foot-text p + p { margin-top: 8px; }

/* Felder, die per Skript ausgeblendet werden (z. B. ohne Anmeldung) */
#event-form [hidden] { display: none !important; }
.walk-in { font-size: 1.15rem; margin: .25rem 0 0; }
