/* Seite: Ticketing für Festivals (/ticketing-fuer-festivals)
   Nur Tokens aus styles.css, keine Hex-Werte. */

/* ---- Hero: Shop als Basis, Festivalpass als Layer, ruhig, ohne Animation ---- */
.fest-stage { padding-bottom: 22%; }
.fest-stage .stage__base { width: 88%; margin-left: auto; }
.fest-stage .stage__layer--front-left { width: 56%; bottom: 0; }

/* ---- Ticketarten: vier Karten, je Ticket + Text ---- */
.fest-types__tag { display: flex; align-items: center; gap: var(--s-3); margin: var(--s-10) 0 0; color: var(--muted); font-size: .9rem; }
.fest-types { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--s-6); margin-top: var(--s-5); }
.fest-type { display: flex; flex-direction: column; min-width: 0; }
.fest-types .ticket { height: auto; }
@media (min-width: 1081px) {
  .fest-type { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
  .fest-types .ticket { height: 100%; }
}
.fest-type > h3 { margin: var(--s-6) 0 var(--s-2); font-size: 1.15rem; }
.fest-type > p { margin: 0; padding-bottom: var(--s-8); color: var(--muted); }
.fest-type .ticket__main { padding: var(--s-4); }
.fest-type .ticket__event { font-size: 1rem; }
@media (max-width: 1080px) {
  .fest-types { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-6); }
}
@media (max-width: 560px) {
  .fest-types { grid-template-columns: minmax(0, 1fr); }
}

/* ---- Einlass: Eingänge mit Geräten ---- */
.fest-gates { margin-top: var(--s-10); }
.fest-gates__head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-6); }
.fest-gates__legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-6); font-size: .9rem; color: var(--ink); }
.fest-gates__legend li { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; }
.fest-gates .gates { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--s-5); }
.fest-gates .gate { background: var(--paper); }
.fest-gates .gate__devices li { background: var(--card); }
.fest-gates .gate--offline { border-style: dashed; border-color: var(--muted); }
@media (max-width: 760px) {
  .fest-gates .gates { grid-template-columns: minmax(0, 1fr); }
}
.fest-offline { max-width: 760px; background: var(--paper); }

/* ---- Wirtschaftlichkeit: Kopf zweispaltig, Rechner darunter ---- */
.fest-calc-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--s-6) var(--s-12); align-items: end; }
.fest-calc-head__text p { margin: 0 0 var(--s-4); color: var(--muted); }
.fest-calc-head__text p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .fest-calc-head { grid-template-columns: minmax(0, 1fr); }
}
#rechner { margin-top: var(--s-10); scroll-margin-top: 96px; }

/* ---- Team und Organisation: Text links, Dashboard rechts ---- */
.fest-org { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--s-12); align-items: center; }
.fest-org .section__head p:not(.lede) { color: var(--muted); }
.fest-dash { background: var(--paper); }
.fest-dash .dash__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fest-dash .dash__tile { background: var(--card); }
.fest-dash__roles { margin-top: var(--s-5); }
@media (max-width: 900px) {
  .fest-org { grid-template-columns: minmax(0, 1fr); gap: var(--s-8); }
}
@media (max-width: 420px) {
  .fest-dash .dash__tiles { grid-template-columns: minmax(0, 1fr); }
}

/* Linkzeile im Abschluss-Band: eine Zeile, Label auf Linkhoehe */
.cta-band .cta-band__links { max-width: none; align-items: center; }
