/* ===========================================================================
   VARIANT C — «Spielplan» (the box office)
   Not a poster — a box office. The schedule IS the home page, reserving happens
   inline, and nothing depends on an image. Teal is the field, not the accent.
   Scoped to .v-c.
   =========================================================================== */

.v-c {
  --teal: #62babb;
  --teal-mid: #3f9b9d;
  --teal-dark: #21656a;
  --teal-deep: #0f3b3f;
  --ink: #101314;
  --ink-60: rgb(16 19 20 / 62%);
  --ink-30: rgb(16 19 20 / 26%);
  --ink-12: rgb(16 19 20 / 12%);
  --paper: #fff;
  --stub: #eeece7;
  --out: #b3372b;
  --ok: #1d7a4c;

  --display: "Archivo", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  font-family: var(--display);
  font-size: 16.5px;
  font-variation-settings: "wdth" 100;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}

.v-c .wrap {
  max-width: 1240px;
  padding: 0 24px;
  margin: 0 auto;
}

.v-c h1,
.v-c h2,
.v-c h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.015em;
}

.v-c .wide {
  font-variation-settings: "wdth" 125;
}

.v-c p {
  margin: 0 0 1em;
}

.v-c a {
  color: inherit;
}

.v-c .mono {
  font-family: var(--mono);
  font-size: 0.92em;
  font-variation-settings: normal;
  letter-spacing: -0.01em;
}

.v-c .tag {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* --- masthead: a teal band, not a hero ----------------------------------- */

.v-c .mast {
  color: var(--teal-deep);
  background: var(--teal);
}

.v-c .mast-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.v-c .mark {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.v-c .mark span {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  opacity: 0.7;
}

.v-c nav.site {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 4px;
}

.v-c nav.site a {
  padding: 7px 13px;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 3px;
}

.v-c nav.site a:hover {
  background: rgb(255 255 255 / 34%);
}

.v-c nav.site a[aria-current] {
  color: var(--teal);
  background: var(--teal-deep);
}

/* --- page head: data, not decoration ------------------------------------- */

.v-c .phead {
  padding: 34px 0 26px;
  border-bottom: 2px solid var(--ink);
}

.v-c .phead h1 {
  font-size: clamp(34px, 5.4vw, 62px);
  font-variation-settings: "wdth" 112;
}

.v-c .phead .sub {
  max-width: 62ch;
  margin: 12px 0 0;
  color: var(--ink-60);
}

.v-c .kv {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 34px;
  margin-top: 18px;
}

.v-c .kv div {
  font-family: var(--mono);
  font-size: 13px;
}

.v-c .kv b {
  display: block;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
}

/* --- the two-column box office ------------------------------------------- */

.v-c .cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 348px;
  gap: 46px;
  align-items: start;
  padding: 30px 0 70px;
}

/* --- schedule rows ------------------------------------------------------- */

.v-c .sched {
  border-top: 1px solid var(--ink-12);
}

.v-c .row {
  border-bottom: 1px solid var(--ink-12);
}

.v-c .row-btn {
  display: grid;
  grid-template-columns: 8.4rem minmax(0, 1fr) 132px auto;
  gap: 4px 20px;
  align-items: center;
  width: 100%;
  padding: 16px 4px;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
}

.v-c .row-btn:hover {
  background: rgb(98 186 187 / 14%);
}

.v-c .row.out .row-btn {
  cursor: default;
}

.v-c .row.out .row-btn:hover {
  background: rgb(179 55 43 / 6%);
}

.v-c .row .when {
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.35;
}

.v-c .row .when b {
  display: block;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  font-variation-settings: "wdth" 118;
  letter-spacing: -0.02em;
}

.v-c .row .where {
  font-size: 15.5px;
}

.v-c .row .where small {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-60);
}

/* the Seat meter — the one piece of data every visitor actually wants */
.v-c .meter {
  display: block;
  height: 8px;
  overflow: hidden;
  background: var(--stub);
  border-radius: 999px;
}

.v-c .meter i {
  display: block;
  height: 100%;
  background: var(--teal-mid);
  transition: width 0.5s ease;
}

.v-c .row.tight .meter i {
  background: #d98336;
}

.v-c .row.out .meter i {
  background: var(--out);
}

.v-c .meter-n {
  display: block;
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-60);
}

.v-c .row.out .meter-n {
  color: var(--out);
}

.v-c .chev {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--teal-dark);
  white-space: nowrap;
}

.v-c .row.out .chev {
  color: var(--out);
}

/* --- inline reservation panel inside the row ----------------------------- */

.v-c .panel {
  padding: 4px 4px 26px;
}

.v-c .panel[hidden] {
  display: none;
}

.v-c .stub {
  position: relative;
  padding: 22px 26px 24px;
  background: var(--stub);
  border-radius: 4px;
}

/* the perforation: punched notches down one side */
.v-c .stub::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 74px;
  width: 2px;
  background-image: linear-gradient(var(--ink-30) 50%, transparent 0);
  background-size: 2px 9px;
  content: "";
}

.v-c .stub::after {
  position: absolute;
  top: -7px;
  left: 68px;
  width: 14px;
  height: 14px;
  background: var(--paper);
  border-radius: 50%;
  content: "";
}

.v-c .stub-in {
  padding-left: 92px;
}

.v-c .stub .side {
  position: absolute;
  top: 22px;
  left: 0;
  width: 74px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.35;
  text-align: center;
  color: var(--ink-60);
}

.v-c .stub .side b {
  display: block;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
}

.v-c .fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.v-c .field.full {
  grid-column: 1 / -1;
}

.v-c label {
  display: block;
  margin-bottom: 4px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-60);
}

.v-c input[type="text"],
.v-c input[type="email"],
.v-c select {
  width: 100%;
  padding: 10px 12px;
  font: inherit;
  font-size: 15.5px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink-30);
  border-radius: 3px;
}

.v-c .seats {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--ink-30);
  border-radius: 3px;
}

.v-c .seats input {
  position: absolute;
  opacity: 0;
}

.v-c .seats label {
  flex: 1;
  padding: 10px 0;
  margin: 0;
  font-family: var(--mono);
  font-size: 15px;
  color: var(--ink);
  text-align: center;
  cursor: pointer;
  background: var(--paper);
  border-right: 1px solid var(--ink-12);
}

.v-c .seats label:last-child {
  border-right: 0;
}

.v-c .seats input:checked + label {
  color: #fff;
  background: var(--teal-dark);
}

.v-c .check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  font-size: 14.5px;
}

.v-c .check input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--teal-dark);
}

.v-c .check label {
  margin: 0;
  font-family: var(--display);
  font-size: 14.5px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

.v-c .btn {
  display: inline-block;
  padding: 12px 22px;
  font: inherit;
  font-size: 15.5px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  background: var(--teal-deep);
  border: 0;
  border-radius: 3px;
}

.v-c .btn:hover {
  background: var(--teal-dark);
}

.v-c .btn.ghost {
  color: var(--teal-deep);
  background: none;
  box-shadow: inset 0 0 0 1.5px var(--teal-deep);
}

.v-c .btn.ghost:hover {
  color: #fff;
  background: var(--teal-deep);
}

.v-c a:focus-visible,
.v-c button:focus-visible,
.v-c input:focus-visible,
.v-c select:focus-visible {
  outline: 2px solid var(--teal-deep);
  outline-offset: 2px;
}

.v-c .fine {
  margin: 12px 0 0;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-60);
}

.v-c .honeypot {
  position: absolute;
  left: -9999px;
}

.v-c .rule-note {
  padding: 11px 14px;
  margin: 0 0 16px;
  font-size: 14.5px;
  background: rgb(217 131 54 / 14%);
  border-radius: 3px;
}

/* --- sticky side panel --------------------------------------------------- */

.v-c aside {
  position: sticky;
  top: 18px;
}

.v-c .card {
  padding: 20px 22px 22px;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
}

.v-c .card + .card {
  margin-top: 16px;
}

.v-c .card h2 {
  font-size: 19px;
}

.v-c .card.teal {
  color: var(--teal-deep);
  background: var(--teal);
  border-color: var(--teal-deep);
}

.v-c .card .next-big {
  margin: 10px 0 2px;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  font-variation-settings: "wdth" 120;
  line-height: 1;
  letter-spacing: -0.03em;
}

.v-c .card ul {
  padding: 0;
  margin: 10px 0 0;
  font-size: 14.5px;
  list-style: none;
}

.v-c .card li {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgb(16 19 20 / 14%);
}

.v-c .card li:last-child {
  border-bottom: 0;
}

.v-c .card li span:last-child {
  font-family: var(--mono);
  font-size: 13px;
  white-space: nowrap;
}

.v-c .steps {
  padding: 0;
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.45;
  list-style: none;
  counter-reset: s;
}

.v-c .steps li {
  padding: 0 0 12px 30px;
  position: relative;
  counter-increment: s;
}

.v-c .steps li::before {
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: #fff;
  background: var(--teal-deep);
  border-radius: 50%;
  content: counter(s);
}

/* --- archive index: 28 rows, no images ----------------------------------- */

.v-c .idx {
  border-top: 1.5px solid var(--ink);
}

.v-c .idx-row {
  display: grid;
  grid-template-columns: 5.4rem minmax(0, 1fr) 7.4rem 4.4rem;
  gap: 4px 20px;
  align-items: baseline;
  padding: 13px 4px;
  border-bottom: 1px solid var(--ink-12);
}

.v-c .idx-row:hover {
  background: rgb(98 186 187 / 12%);
}

.v-c .idx-row .yr,
.v-c .idx-row .n,
.v-c .idx-row .k {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-60);
}

.v-c .idx-row .k {
  white-space: nowrap;
}

.v-c .idx-row .n {
  text-align: right;
}

.v-c .idx-row h3 {
  font-size: 17.5px;
  font-weight: 500;
}

.v-c .idx-row.major {
  padding: 20px 4px;
}

.v-c .idx-row.major h3 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  font-variation-settings: "wdth" 108;
}

.v-c .idx-row.major .blurb {
  max-width: 66ch;
  margin: 7px 0 0;
  font-size: 15px;
  color: var(--ink-60);
  white-space: pre-line;
}

.v-c .idx-head {
  display: grid;
  grid-template-columns: 5.4rem minmax(0, 1fr) 7.4rem 4.4rem;
  gap: 20px;
  padding: 0 4px 7px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-60);
}

.v-c .idx-head span:nth-child(4) {
  text-align: right;
}

.v-c .filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 22px 0 14px;
}

.v-c .filters button {
  padding: 7px 14px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  background: none;
  border: 1px solid var(--ink-30);
  border-radius: 3px;
}

.v-c .filters button[aria-pressed="true"] {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

/* --- generic content pages ---------------------------------------------- */

.v-c .prose {
  max-width: 68ch;
  padding: 30px 0 60px;
}

.v-c .prose h2 {
  margin: 34px 0 10px;
  font-size: 26px;
}

.v-c .table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.v-c .table th,
.v-c .table td {
  padding: 9px 12px 9px 0;
  font-size: 15px;
  text-align: left;
  border-bottom: 1px solid var(--ink-12);
}

.v-c .table th {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-60);
}

.v-c .table td.num {
  font-family: var(--mono);
  font-size: 13.5px;
}

/* --- footer -------------------------------------------------------------- */

.v-c footer.site {
  padding: 28px 0 56px;
  color: var(--teal-deep);
  background: var(--teal);
}

.v-c footer.site .fr {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  align-items: baseline;
  justify-content: space-between;
}

.v-c footer.site a {
  font-size: 14.5px;
  text-decoration: none;
  border-bottom: 1px solid rgb(15 59 63 / 35%);
}

.v-c footer.site .fl {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: baseline;
}

@media (width <= 1000px) {
  .v-c .cols {
    grid-template-columns: 1fr;
  }

  .v-c aside {
    position: static;
  }
}

@media (width <= 700px) {
  .v-c .row-btn,
  .v-c .idx-row,
  .v-c .idx-head,
  .v-c .fields {
    grid-template-columns: 1fr;
  }

  .v-c .idx-head {
    display: none;
  }

  .v-c .idx-row .n {
    text-align: left;
  }

  .v-c .stub::before,
  .v-c .stub::after {
    display: none;
  }

  .v-c .stub-in {
    padding-left: 0;
  }

  .v-c .stub .side {
    position: static;
    width: auto;
    margin-bottom: 14px;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v-c .meter i {
    transition: none;
  }
}
