/* ==========================================================================
   Abendkasse – site styles
   Concept: the programme is a gallery wall. Event images hang as framed works
   on a deep salon-green wall; each has a small white wall label with the
   facts. The red dot (gallery shorthand for "sold") marks scarce tickets.
   Mobile first: base rules target ~375px phones, media queries add columns.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("/static/fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Surfaces */
  --wall: #1F4038;          /* salon wall */
  --wall-deep: #183330;     /* footer, pressed buttons */
  --on-wall: #F3F6F3;       /* text on the wall: 10.4:1 */
  --on-wall-soft: #C9D8D1;  /* secondary text on the wall: 7.7:1 */
  --paper: #FBFBF9;         /* wall labels, reading pages */
  --white: #FFFFFF;
  --mat: #ECEEEA;           /* passe-partout around artworks */

  /* Ink */
  --ink: #14211D;           /* 16:1 on paper */
  --ink-soft: #4E5B56;      /* 6.9:1 on paper */
  --rule: #D8DDD9;
  --field-border: #7A8782;  /* >= 3:1 against white for form controls */

  /* Signals */
  --dot: #D3232A;           /* the gallery red dot */
  --error: #B3261E;
  --error-bg: #FBEDEB;
  --note-bg: #F6E9B0;

  --focus: var(--wall);
  --gutter: clamp(16px, 4.5vw, 40px);
  --max: 1240px;
  --radius: 6px;
  --radius-label: 2px;
  --font: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --shadow-hung: 0 1px 0 rgb(0 0 0 / .28), 0 22px 34px -20px rgb(0 0 0 / .6);
}

/* ---- base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* Keep focused fields clear of the fixed buy bar on phones */
@media (max-width: 999px) { html { scroll-padding-bottom: 96px; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.5;
  font-kerning: normal;
  font-variant-numeric: lining-nums;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* viewport-fit=cover: keep content clear of the notch in landscape */
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
main { flex: 1 0 auto; outline: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.15; text-wrap: balance; }
p { margin: 0 0 .75em; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
code { font-size: .9em; background: rgb(0 0 0 / .06); padding: .1em .3em; border-radius: 3px; }
::selection { background: #CFE0D8; color: var(--ink); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.page-wall { --focus: var(--on-wall); }
.label, .sheet, .buybar, .page-paper main, .mode-banner { --focus: var(--wall); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--paper); color: var(--ink); padding: 10px 16px; border-radius: var(--radius);
  font-weight: 700;
}
.skip-link:focus { top: 10px; }

/* Wall pages: the whole page is the gallery wall */
.page-wall { background: var(--wall); color: var(--on-wall); }

/* ---- mode banner (demo / Stripe test) ------------------------------------- */
.mode-banner {
  background: var(--note-bg);
  color: var(--ink);
  font-size: .875rem;
  line-height: 1.4;
  padding: 8px var(--gutter);
  text-align: center;
}

/* ---- header ---------------------------------------------------------------- */
.site-header { background: var(--wall); color: var(--on-wall); --focus: var(--on-wall); }
.site-header__inner {
  max-width: var(--max); margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px;
}
.wordmark {
  font-weight: 800;
  font-stretch: 125%;
  font-size: 1.25rem;
  letter-spacing: -.015em;
  text-decoration: none;
  padding: 6px 0;
}
.site-header__link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px;
  font-weight: 600; color: var(--on-wall-soft);
}
.site-header__link:hover { color: var(--on-wall); }

/* ---- footer ---------------------------------------------------------------- */
.site-footer {
  background: var(--wall-deep);
  color: var(--on-wall-soft);
  font-size: .9375rem;
  --focus: var(--on-wall);
}
.page-wall .site-footer { border-top: 1px solid rgb(255 255 255 / .1); }
.site-footer__inner { max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter) 48px; }
.site-footer__brand { color: var(--on-wall); font-weight: 800; font-stretch: 125%; font-size: 1.125rem; margin-bottom: 1rem; }
.site-footer a { color: var(--on-wall); }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 1.25rem; }
.site-footer__legal a { display: inline-flex; min-height: 44px; align-items: center; }

/* ---- buttons --------------------------------------------------------------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 0 20px;
  border: 0; border-radius: var(--radius);
  background: var(--wall); color: var(--white);
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-align: center;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.button:hover { background: var(--wall-deep); }
.button:active { transform: translateY(1px); }
.button--large { min-height: 56px; font-size: 1.0625rem; padding: 0 24px; }
.button--block { display: flex; width: 100%; }
.button--secondary { background: transparent; color: var(--wall); box-shadow: inset 0 0 0 2px var(--wall); }
.button--secondary:hover { background: #E3EAE6; }
.button--on-wall { background: var(--paper); color: var(--ink); }
.button--on-wall:hover { background: var(--white); }
.button--quiet, .button--quiet:hover { background: #E6E9E6; color: var(--ink-soft); cursor: default; }
.button[aria-busy="true"] { cursor: progress; opacity: .85; }
.button[disabled] { cursor: not-allowed; }

/* ---- programme: wall text ---------------------------------------------------- */
.wall-intro {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(28px, 7vw, 88px) var(--gutter) clamp(20px, 4vw, 40px);
}
.wall-title {
  /* "Programm" is ~6.2em wide in this cut: the vw term keeps it inside 320px screens */
  font-size: clamp(2.5rem, calc(15vw - 4px), 9rem);
  font-weight: 800;
  font-stretch: 125%;
  line-height: .86;
  letter-spacing: -.03em;
  margin-left: -.04em; /* optical alignment of the big capital */
  hyphens: manual;
}
.wall-title--small { font-size: clamp(2.25rem, 9vw, 4.5rem); line-height: .95; }
.wall-lede {
  margin-top: clamp(16px, 3vw, 28px);
  max-width: 36ch;
  font-size: clamp(1.125rem, 2.2vw, 1.375rem);
  line-height: 1.4;
  color: var(--on-wall-soft);
}
.wall-intro--narrow { padding-bottom: 72px; }
.wall-intro--narrow .wall-lede { max-width: 48ch; }
.wall-empty { max-width: var(--max); margin: 0 auto; padding: 24px var(--gutter) 96px; }
.wall-empty h2 { font-size: 1.5rem; font-stretch: 112%; margin-bottom: .5rem; }

/* Category filter: small labels on the wall; scrolls sideways on phones */
.filters { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.filters ul {
  list-style: none; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
}
.filters ul::-webkit-scrollbar { display: none; }
.filters a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; white-space: nowrap;
  border-radius: var(--radius-label);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .35);
  color: var(--on-wall); text-decoration: none; font-weight: 600; font-size: .9375rem;
}
.filters a:hover { box-shadow: inset 0 0 0 1px var(--on-wall); }
.filters a[aria-current="page"] { background: var(--paper); color: var(--ink); box-shadow: none; }

/* ---- programme: the hang ------------------------------------------------------- */
.hang {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(20px, 4vw, 48px) var(--gutter) clamp(64px, 10vw, 128px);
  display: grid; gap: 56px;
}
.work { min-width: 0; }
.work__frame {
  display: block;
  background: var(--mat);
  padding: clamp(10px, 2.4vw, 24px);
  box-shadow: var(--shadow-hung);
}
.work__frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #D9DDD8; }

/* Wall label */
.label {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-label);
  box-shadow: 0 1px 2px rgb(0 0 0 / .35);
  padding: 16px 18px 18px;
}
.work .label { margin-top: 18px; }
.label__title { font-size: 1.375rem; font-weight: 750; font-stretch: 112%; line-height: 1.12; letter-spacing: -.01em; margin-bottom: 8px; hyphens: auto; }
.label__title a { text-decoration: none; }
.label__title a:hover { text-decoration: underline; }
.label__when { margin: 0; font-weight: 600; font-size: 1rem; }
.label__where { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.label__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--rule);
}
.label__kind { margin: 0; font-size: .875rem; line-height: 1.3; color: var(--ink-soft); }
.label__price { display: block; color: var(--ink); font-weight: 750; font-size: 1.25rem; font-stretch: 112%; }
.label__notice { font-weight: 600; margin: 4px 0 0; }
.label__small { font-size: .875rem; color: var(--ink-soft); margin: 10px 0 0; }

.dot-note { display: flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 700; margin: 0 0 10px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--dot); flex: none; }
.dot--open { background: transparent; box-shadow: inset 0 0 0 2.5px var(--dot); }

@media (min-width: 700px) {
  .hang { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 5vw, 64px); row-gap: 72px; }
  .hang .work:nth-child(even) { margin-top: 88px; }
  .work .label { max-width: 24rem; }
}

/* Salon hang on wide screens: a repeating pattern of four, mixed sizes and offsets */
@media (min-width: 1100px) {
  .hang { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; row-gap: 96px; }
  .hang .work:nth-child(n) { margin-top: 0; }
  .hang .work:nth-child(4n + 1) { grid-column: 1 / span 7; }
  .hang .work:nth-child(4n + 2) { grid-column: 9 / span 4; margin-top: 120px; }
  .hang .work:nth-child(4n + 3) { grid-column: 2 / span 5; }
  .hang .work:nth-child(4n + 4) { grid-column: 8 / span 5; margin-top: 56px; }
  .hang .work:nth-child(4n + 2) .work__frame img,
  .hang .work:nth-child(4n + 3) .work__frame img { aspect-ratio: 4 / 5; }
}

/* ---- event detail ---------------------------------------------------------------- */
.event-hero { max-width: var(--max); margin: 0 auto; padding-bottom: 40px; }
.event-hero__frame { margin: 0; }
.event-hero__frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #2A4A42; }
.event-hero__text { padding: 24px var(--gutter) 0; }
.event-hero__kind { margin: 0 0 12px; font-weight: 600; font-size: .9375rem; }
.event-hero__kind a { color: var(--on-wall-soft); }
.event-title {
  font-size: clamp(2.5rem, 11.5vw, 5.25rem);
  font-weight: 800; font-stretch: 125%;
  line-height: .92; letter-spacing: -.025em;
  hyphens: auto; overflow-wrap: break-word;
}
.event-teaser { margin: 18px 0 0; max-width: 40ch; font-size: 1.1875rem; line-height: 1.4; color: var(--on-wall-soft); }
.label--facts { margin-top: 28px; }
.facts { margin: 0 0 18px; display: grid; gap: 14px; }
.facts dt { font-size: .8125rem; color: var(--ink-soft); margin-bottom: 2px; }
.facts dd { margin: 0; font-weight: 600; line-height: 1.35; }
.facts__map { display: inline-block; margin-top: 4px; font-weight: 500; color: var(--wall); padding: 4px 0; }

@media (min-width: 560px) {
  .facts { grid-template-columns: 1fr 1fr; column-gap: 24px; }
}

@media (min-width: 1000px) {
  .event-hero {
    display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px;
    padding: 48px var(--gutter) 72px; align-items: start;
  }
  .event-hero__frame { background: var(--mat); padding: 24px; box-shadow: var(--shadow-hung); }
  .event-hero__text { padding: 0; }
  .event-title { font-size: clamp(3rem, 5.2vw, 4.75rem); }
  .facts { grid-template-columns: 1fr; }
}
@media (min-width: 1240px) {
  .facts { grid-template-columns: 1fr 1fr; }
}

/* Reading sheet below the hero */
.sheet { background: var(--paper); color: var(--ink); }
.sheet__inner { max-width: var(--max); margin: 0 auto; padding: 48px var(--gutter) 64px; display: grid; gap: 48px; }
@media (min-width: 1000px) {
  .sheet__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; padding-top: 72px; padding-bottom: 96px; }
}

.prose { max-width: 65ch; hyphens: auto; hyphenate-limit-chars: 8 4 3; -webkit-hyphenate-limit-before: 4; -webkit-hyphenate-limit-after: 3; }
.prose h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); font-weight: 750; font-stretch: 112%; letter-spacing: -.01em; margin: 0 0 .6em; hyphens: none; }
.prose p { margin-bottom: 1em; }
.prose a { color: var(--wall); }
.highlights { list-style: none; padding: 0; margin: 1.5em 0 0; display: grid; gap: 10px; }
.highlights li { position: relative; padding-left: 26px; }
.highlights li::before {
  content: ""; position: absolute; left: 2px; top: .55em;
  width: 9px; height: 9px; border: 2px solid var(--wall); border-radius: 50%;
}

.faq h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); font-weight: 750; font-stretch: 112%; margin-bottom: .5em; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  min-height: 56px; padding: 15px 44px 15px 0; font-weight: 650; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background:
    linear-gradient(var(--wall), var(--wall)) center / 14px 2px no-repeat,
    linear-gradient(var(--wall), var(--wall)) center / 2px 14px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; margin: 0; color: var(--ink-soft); max-width: 60ch; }

/* Sticky buy bar on phones */
.buybar {
  position: fixed; z-index: 20; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: var(--paper); color: var(--ink);
  box-shadow: 0 -10px 28px -14px rgb(0 0 0 / .5);
}
.buybar__price { margin: 0; font-weight: 750; font-size: 1.0625rem; line-height: 1.25; min-width: 0; }
.buybar__title {
  display: block; font-weight: 500; font-size: .8125rem; color: var(--ink-soft);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.buybar .button { flex: none; }
/* event.js hides the bar while the main "Tickets kaufen" button is on screen */
.buybar { transition: transform .2s ease; }
.buybar[data-hidden="true"] { transform: translateY(110%); }
.has-buybar .site-footer__inner { padding-bottom: calc(48px + 76px); }
@media (min-width: 1000px) {
  .buybar { display: none; }
  .has-buybar .site-footer__inner { padding-bottom: 48px; }
}

/* ---- paper pages: checkout, order, legal ---------------------------------------------- */
.page-title {
  font-size: clamp(2.125rem, 8.5vw, 3.5rem);
  font-weight: 800; font-stretch: 125%;
  line-height: .95; letter-spacing: -.025em;
  margin: 0 0 24px; hyphens: auto;
}
.backlink { margin: 0 0 16px; font-size: .9375rem; }
.backlink a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-soft); }
.hint { font-size: .875rem; color: var(--ink-soft); margin: 6px 0 0; }

.notice { border-radius: var(--radius); padding: 14px 16px; margin: 0 0 20px; border-left: 4px solid; }
.notice p:last-child { margin-bottom: 0; }
.notice--error { background: var(--error-bg); border-color: var(--error); color: #5C1510; }
.notice--info { background: #EEF2EF; border-color: var(--wall); color: var(--ink); }

/* Checkout */
.checkout { width: 100%; max-width: 1120px; margin: 0 auto; padding: 12px var(--gutter) 72px; }
.checkout-grid { display: flex; flex-direction: column; gap: 28px; }
.co-aside { display: contents; }
.co-event { order: 1; }
.co-form { order: 2; }
.co-summary { order: 3; }
.co-pay { order: 4; }

.co-event {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-label); padding: 12px;
}
.co-event__art { flex: none; width: 96px; }
.co-event__art img { width: 96px; height: 72px; object-fit: cover; }
.co-event__title { font-weight: 750; font-stretch: 112%; font-size: 1.0625rem; line-height: 1.2; margin: 0 0 4px; }
.co-event__meta { font-size: .875rem; color: var(--ink-soft); line-height: 1.4; margin: 0; }

.step { border: 0; padding: 0; margin: 0 0 32px; min-width: 0; }
.step:last-child { margin-bottom: 0; }
.step__legend {
  display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 14px;
  font-size: 1.25rem; font-weight: 750; font-stretch: 112%;
}
.step__no {
  display: inline-grid; place-items: center; width: 28px; height: 28px; flex: none;
  border-radius: 50%; box-shadow: inset 0 0 0 2px var(--wall); color: var(--wall);
  font-size: .875rem; font-weight: 800; font-stretch: 100%;
}

.qty { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: 360px; }
.qty__option { position: relative; }
.qty__option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.qty__option span {
  display: grid; place-items: center; height: 56px;
  border-radius: var(--radius); background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--field-border);
  font-size: 1.25rem; font-weight: 750;
  transition: background-color .15s ease, color .15s ease;
}
.qty__option:hover span { box-shadow: inset 0 0 0 2px var(--wall); }
.qty__option input:checked + span { background: var(--wall); color: var(--white); box-shadow: none; }
.qty__option input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.field { margin-bottom: 18px; }
.field:last-child { margin-bottom: 0; }
.field > label { display: block; font-weight: 650; margin-bottom: 6px; }
.field input[type="text"], .field input[type="email"], .field input[type="password"],
.field input[type="number"], .field input[type="date"], .field input[type="time"],
.field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font-size: 1rem; line-height: 1.4;
  background: var(--white); color: var(--ink);
  border: 1.5px solid var(--field-border); border-radius: var(--radius);
  appearance: none;
}
.field select {
  padding-right: 42px;
  background: var(--white) 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.5l5 5 5-5' fill='none' stroke='%2314211D' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--wall);
}
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.field-error { color: var(--error); font-size: .9375rem; font-weight: 650; margin: 6px 0 0; }
.field--check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 8px; }
.field--check input { width: 24px; height: 24px; margin: 1px 0 0; flex: none; accent-color: var(--wall); cursor: pointer; }
.field--check label { font-size: .9375rem; font-weight: 400; line-height: 1.45; cursor: pointer; margin: 0; }
.field--check a { color: var(--wall); }

.payment-element { min-height: 120px; }
.payment-element__loading { padding-top: 8px; }
.demo-pay {
  background: #F1F3EF; border: 1.5px dashed var(--field-border); border-radius: var(--radius); padding: 14px 16px;
}
.demo-pay__note { font-size: .875rem; color: var(--ink-soft); }
.choice { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-weight: 600; }
.choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--wall); flex: none; }

.co-heading { font-size: 1.0625rem; font-weight: 750; margin: 0 0 6px; }
.co-summary { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-label); padding: 16px 18px; }
.breakdown { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums lining-nums; }
.breakdown th { text-align: left; font-weight: 400; padding: 7px 12px 7px 0; vertical-align: top; }
.breakdown td { text-align: right; padding: 7px 0; white-space: nowrap; vertical-align: top; }
.breakdown tfoot th, .breakdown tfoot td {
  border-top: 2px solid var(--ink); padding-top: 12px; font-weight: 800; font-size: 1.25rem; font-stretch: 112%;
}
.breakdown__note { font-size: .8125rem; color: var(--ink-soft); margin: 10px 0 0; }

.button--pay { justify-content: space-between; margin-top: 12px; }
.button__amount { font-variant-numeric: tabular-nums; white-space: nowrap; }
.secure-note { display: flex; gap: 8px; align-items: center; font-size: .8125rem; color: var(--ink-soft); margin: 14px 0 0; }
.secure-note svg { flex: none; }

@media (min-width: 900px) {
  .checkout { padding-top: 24px; }
  .checkout-grid {
    display: grid; grid-template-columns: minmax(0, 1fr) 360px; column-gap: 56px; row-gap: 24px;
    grid-template-areas: "form aside" "pay aside"; align-items: start;
  }
  .co-aside { display: grid; gap: 16px; grid-area: aside; position: sticky; top: 24px; }
  .co-form { grid-area: form; }
  .co-pay { grid-area: pay; max-width: 560px; }
}

/* Order confirmation */
.order { width: 100%; max-width: 780px; margin: 0 auto; padding: 32px var(--gutter) 80px; }
.order__lede { font-size: 1.125rem; line-height: 1.5; max-width: 60ch; margin-bottom: 28px; }
.order__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 40px; }
.order__actions .button { flex: 1 1 100%; }
@media (min-width: 600px) { .order__actions .button { flex: 0 1 auto; } }
.order__details { border-top: 1px solid var(--rule); padding-top: 28px; }
.order__details .breakdown { max-width: 480px; margin-bottom: 24px; }
.order__meta { margin: 0 0 20px; display: grid; gap: 12px; }
.order__meta dt { font-size: .8125rem; color: var(--ink-soft); }
.order__meta dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
@media (min-width: 600px) { .order__meta { grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 40px; } }

/* The ticket stub: the one physical object of the flow */
.stub {
  position: relative; display: grid;
  background: var(--wall); color: var(--on-wall);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 24px 40px -28px rgb(20 33 29 / .8);
}
.stub__main { padding: 24px 22px 22px; }
.stub__site { margin: 0 0 14px; font-weight: 800; font-stretch: 125%; font-size: .9375rem; color: var(--on-wall-soft); }
.stub__title { font-size: clamp(1.75rem, 7.5vw, 2.75rem); font-weight: 800; font-stretch: 125%; line-height: .98; letter-spacing: -.02em; margin-bottom: 16px; hyphens: auto; }
.stub__when, .stub__where { margin: 0 0 10px; color: var(--on-wall-soft); line-height: 1.4; }
.stub__when { color: var(--on-wall); font-weight: 600; }
.stub__side {
  position: relative; padding: 20px 22px 22px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  border-top: 2px dashed rgb(243 246 243 / .4);
}
/* punched notches where the stub tears off */
.stub__side::before, .stub__side::after {
  content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--paper);
}
.stub__side::before { left: -12px; }
.stub__side::after { right: -12px; }
.stub__count { margin: 0; font-weight: 700; }
.stub__big { font-size: 3rem; font-weight: 800; font-stretch: 125%; line-height: .9; display: block; }
.stub__number { margin: 0; text-align: right; color: var(--on-wall-soft); font-size: .875rem; line-height: 1.4; }
.stub__number strong { color: var(--on-wall); font-size: 1.125rem; letter-spacing: .04em; }
@media (min-width: 600px) {
  .stub { grid-template-columns: 1fr 200px; }
  .stub__main { padding: 32px 32px 28px; }
  .stub__side {
    flex-direction: column; align-items: flex-start; justify-content: space-between;
    border-top: 0; border-left: 2px dashed rgb(243 246 243 / .4); padding: 32px 24px 28px;
  }
  .stub__side::before, .stub__side::after { left: -13px; right: auto; }
  .stub__side::before { top: -12px; }
  .stub__side::after { top: auto; bottom: -12px; }
  .stub__number { text-align: left; }
}
.stub--fresh { animation: stub-print .75s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes stub-print {
  from { opacity: 0; transform: translateY(-18px) rotate(-1.5deg); clip-path: inset(0 0 100% 0 round 12px); }
  60% { opacity: 1; }
  to { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 12px); }
}

/* ---- shared bits ---------------------------------------------------------------------- */
.icon { width: 22px; height: 22px; flex: none; }
.plain { list-style: none; margin: 0; padding: 0; }
a[href^="tel:"] { white-space: nowrap; }
.section-title {
  font-size: clamp(1.5rem, 3.4vw, 2rem); font-weight: 750; font-stretch: 112%;
  letter-spacing: -.01em; line-height: 1.15; margin: 0 0 .6em; hyphens: none;
}
.section-title--wall { color: var(--on-wall); }
address { font-style: normal; }

/* Header navigation */
.site-nav { display: flex; align-items: center; gap: 4px 18px; }
.site-header__link { text-decoration: none; }
.site-header__link[aria-current="page"] { color: var(--on-wall); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .35em; }
@media (max-width: 479px) { .site-header__link--home { display: none; } }

/* Footer: contact first, legal links last */
.site-footer__inner { display: grid; gap: 28px; }
.site-footer__inner p { margin: 0; }
.site-footer__brand { margin-bottom: .5rem !important; }
.site-footer__heading { font-size: 1rem; font-weight: 750; color: var(--on-wall); margin: 0 0 8px; }
.site-footer__contact li { margin-bottom: 10px; }
.site-footer__contact a { font-weight: 650; }
.site-footer__hours { display: block; font-size: .875rem; }
.site-footer__legal { margin-top: 0; padding-top: 12px; border-top: 1px solid rgb(255 255 255 / .12); }
@media (min-width: 760px) {
  .site-footer__inner { grid-template-columns: 1.3fr 1fr 1fr; column-gap: 40px; }
  .site-footer__legal { grid-column: 1 / -1; }
}

/* ---- trust list ------------------------------------------------------------------------ */
.trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.trust li { display: flex; gap: 14px; align-items: flex-start; }
.trust p { margin: 0; font-size: .9375rem; line-height: 1.45; }
.trust strong { display: block; font-weight: 750; font-size: 1rem; margin-bottom: 2px; }
.trust a { font-weight: 600; }

.trust--wall .icon {
  width: 44px; height: 44px; padding: 10px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px rgb(243 246 243 / .45); color: var(--on-wall);
}
.trust--wall p { color: var(--on-wall-soft); }
.trust--wall strong { color: var(--on-wall); }
.trust--wall a { color: var(--on-wall); }
@media (min-width: 640px) { .trust--wall { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; row-gap: 28px; } }
@media (min-width: 1100px) { .trust--wall { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* In the wall label under the buy button: titles only */
.trust--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--rule);
}
.trust--compact li { gap: 8px; align-items: center; }
.trust--compact .icon { width: 20px; height: 20px; color: var(--wall); }
.trust--compact .trust__text { display: none; }
.trust--compact strong { font-size: .8125rem; font-weight: 650; line-height: 1.3; margin: 0; }

.assurance { border-top: 1px solid rgb(255 255 255 / .12); }
.assurance__inner { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 7vw, 80px) var(--gutter); }

/* ---- guest book ------------------------------------------------------------------------- */
.guestbook { background: var(--paper); color: var(--ink); }
.guestbook__inner { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 8vw, 96px) var(--gutter); }
.guestbook__entries { display: grid; gap: 36px; margin-top: 8px; }
@media (min-width: 860px) { .guestbook__entries { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }
.guest { margin: 0; padding-top: 18px; border-top: 2px solid var(--ink); display: flex; flex-direction: column; }
.guest__quote { margin: 0 0 16px; }
.guest__quote p { margin: 0; font-size: 1.1875rem; line-height: 1.45; text-wrap: pretty; hyphens: auto; }
.guest__quote p::before { content: "„"; }
.guest__quote p::after { content: "“"; }
.guest__by { margin-top: auto; font-size: .9375rem; line-height: 1.4; }
.guest__name { display: block; font-weight: 750; }
.guest__context { display: block; color: var(--ink-soft); }
.guest__sample {
  display: inline-block; margin-top: 8px; padding: 2px 8px; border-radius: 3px;
  background: var(--note-bg); font-size: .75rem; font-weight: 700;
}
.guestbook__note { margin: 36px 0 0; max-width: 62ch; font-size: .875rem; color: var(--ink-soft); }

/* ---- event page additions ------------------------------------------------------------------ */
.facts__sub { display: block; font-weight: 400; color: var(--ink-soft); font-size: .9375rem; }
.facts__map { display: inline-block; margin-top: 2px; }

.sheet__main { display: grid; gap: 48px; min-width: 0; }
.sheet__side { display: grid; gap: 32px; align-content: start; min-width: 0; }

.practical__list { margin: 0; display: grid; gap: 0; max-width: 65ch; }
.practical__list > div { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--rule); }
.practical__list > div:last-child { border-bottom: 1px solid var(--rule); }
.practical__list dt { font-weight: 700; }
.practical__list dd { margin: 0; color: var(--ink); }
.practical__list .plain li + li { margin-top: 4px; }
@media (min-width: 560px) {
  .practical__list > div { grid-template-columns: 10rem minmax(0, 1fr); gap: 16px; }
}

.faq__more { margin: 18px 0 0; font-size: .9375rem; color: var(--ink-soft); }
.faq__more a { color: var(--wall); font-weight: 600; }

/* The venue box beside the description */
.place { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-label); padding: 20px 20px 22px; }
.place .section-title { font-size: 1.25rem; margin-bottom: .35em; }
.place__name { font-weight: 750; font-stretch: 112%; font-size: 1.1875rem; margin: 0 0 4px; }
.place-more__title { font-size: 1.0625rem; font-weight: 750; margin: 0 0 8px; }
.place-more li, .venue-card__events li { padding: 10px 0; border-top: 1px solid var(--rule); }
.place-more a, .venue-card__events a { font-weight: 650; color: var(--ink); }
.place-more span, .venue-card__events span { display: block; font-size: .875rem; color: var(--ink-soft); }

.venue__about { color: var(--ink-soft); margin: 0 0 14px; }
.venue__facts { margin: 0; display: grid; gap: 14px; }
.venue__facts dt { font-size: .8125rem; color: var(--ink-soft); margin-bottom: 2px; }
.venue__facts dd { margin: 0; line-height: 1.45; }
.venue__facts a { color: var(--wall); }
.venue__links { display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: 4px; }
.venue__links a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; }
.venue__links .icon { width: 18px; height: 18px; }

@media (min-width: 1000px) {
  .sheet__side { position: sticky; top: 24px; }
}

/* ---- info pages: venues, help ------------------------------------------------------------- */
.info-page { width: 100%; max-width: 860px; margin: 0 auto; padding: 32px var(--gutter) 88px; }
.info-page__lede { font-size: 1.125rem; line-height: 1.5; max-width: 60ch; margin-bottom: 32px; }
.info-page .faq { margin-top: 48px; }

.venue-index ul { list-style: none; margin: 0 0 40px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.venue-index a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border-radius: var(--radius-label); box-shadow: inset 0 0 0 1px var(--field-border);
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9375rem;
}
.venue-index a:hover { box-shadow: inset 0 0 0 2px var(--wall); }
.venue-card { padding: 32px 0 36px; border-top: 2px solid var(--ink); scroll-margin-top: 16px; }
.venue-card__title { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 800; font-stretch: 125%; letter-spacing: -.015em; line-height: 1.05; }
.venue-card__district { color: var(--ink-soft); margin: 4px 0 16px; font-weight: 600; }
.venue-card__subtitle { font-size: 1rem; font-weight: 750; margin: 24px 0 6px; }
@media (min-width: 700px) {
  .venue-card .venue__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .venue__wide { grid-column: 1 / -1; }
}

.contact-card {
  background: var(--wall); color: var(--on-wall); --focus: var(--on-wall);
  border-radius: 12px; padding: 24px 22px; margin-bottom: 8px;
}
.contact-card__title { font-size: 1.25rem; font-weight: 750; font-stretch: 112%; margin-bottom: 16px; }
.contact-card__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-card__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-card__list .icon { margin-top: 2px; color: var(--on-wall-soft); }
.contact-card__list span { display: block; color: var(--on-wall-soft); font-size: .9375rem; line-height: 1.45; }
.contact-card__main { display: block; color: var(--on-wall); font-weight: 750; font-size: 1.125rem; overflow-wrap: anywhere; }
@media (min-width: 700px) {
  .contact-card { padding: 28px 32px; }
  .contact-card__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .contact-card__list li { flex-direction: column; gap: 8px; }
}

/* ---- checkout trust ------------------------------------------------------------------------ */
.breakdown__note--policy { display: flex; gap: 8px; align-items: flex-start; }
.breakdown__note--policy .icon { width: 18px; height: 18px; color: var(--wall); }
.breakdown__note--policy a { color: var(--wall); }
.badges { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px;
  border-radius: var(--radius); background: #EEF2EF; color: var(--ink);
  font-size: .8125rem; line-height: 1.3;
}
.badge .icon { width: 18px; height: 18px; color: var(--wall); }
.badge strong { font-weight: 750; margin-right: 4px; }
.badge--demo { background: var(--note-bg); }
.co-help { margin: 14px 0 0; font-size: .875rem; color: var(--ink-soft); }
.co-help a { color: var(--wall); font-weight: 600; white-space: nowrap; }

/* Order stub: route link on the green */
.stub__where a { color: var(--on-wall); font-weight: 600; display: inline-block; padding: 6px 0; }

/* Legal pages */
.legal { width: 100%; max-width: 760px; margin: 0 auto; padding: 32px var(--gutter) 80px; }
.legal h2 { font-size: 1.25rem; margin: 1.6em 0 .4em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .site-footer, .buybar, .mode-banner { display: none; }
  .page-wall { background: #fff; color: #000; }
}
