@font-face {
  font-family: "GT Super Display";
  src: url("./assets/gt-super-display.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Avenir 45 Book";
  src: url("./assets/avenir-45-book.woff2") format("woff2");
  font-display: swap;
}

:root {
  --vermilion: #b53317;
  --vermilion-dark: #942711;
  --ink: #131313;
  --paper: #f7f2e9;
  --muted: #cfc8be;
  --white: #ffffff;
  --rule: rgba(19, 19, 19, 0.32);
  --display: "GT Super Display", Georgia, serif;
  --body: "Avenir 45 Book", "Avenir Next", Arial, sans-serif;
  --content: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  /* Beide Leisten sind fixed. Der Platz wird hier reserviert, statt Inhalt zu
     überdecken — der Cookie-Hinweis lag sonst quer über der Headline. */
  padding-bottom: calc(
    var(--cookie-notice-height, 0px) + var(--mobile-bar-height, 0px)
  );
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button {
  font: inherit;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.35;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
}

h1 {
  max-width: 760px;
  margin: 0 auto 26px;
  font-size: clamp(58px, 9vw, 132px);
  letter-spacing: -0.045em;
  line-height: 0.78;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(44px, 6vw, 84px);
  letter-spacing: -0.035em;
  line-height: 0.92;
}

h3 {
  margin-bottom: 22px;
  font-size: clamp(30px, 3.5vw, 48px);
  line-height: 1;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 24px 11px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.button--compact {
  min-height: 42px;
  padding: 10px 18px 9px;
}

.button--ink {
  color: var(--white);
  background: var(--ink);
}

.button--ink:hover {
  background: #2c2a28;
}

.button--vermilion {
  color: var(--white);
  background: var(--vermilion);
}

.button--vermilion:hover:not(:disabled) {
  background: var(--vermilion-dark);
}

.button--vermilion:disabled {
  border-color: rgba(247, 242, 233, 0.42);
  color: rgba(247, 242, 233, 0.72);
  background: transparent;
  opacity: 1;
}

.button--full {
  width: 100%;
}

.button--outline {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.button--outline:hover {
  color: var(--vermilion);
  background: var(--ink);
}

.hero {
  min-height: 100vh;
  min-height: calc(100svh - var(--cookie-notice-height, 0px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--ink);
  background: var(--vermilion);
}

.hero__nav {
  position: relative;
  z-index: 2;
  width: var(--content);
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero__nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__wordmark img {
  display: block;
  width: 116px;
  height: auto;
  filter: brightness(0);
}

.hero__content {
  flex: 1;
  width: var(--content);
  margin: 0 auto;
  padding: 0 0 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.hero__content > .button {
  align-self: center;
}

.hero__dragon {
  display: block;
  width: clamp(250px, 34vw, 470px);
  height: clamp(240px, 36vw, 460px);
  margin: 0 auto -14px;
  object-fit: contain;
}

.hero__content > .eyebrow,
.hero__lead {
  color: var(--paper);
}

.hero__lead {
  max-width: 570px;
  margin: 0 auto 30px;
  font-size: clamp(16px, 1.8vw, 21px);
}

.event-facts {
  background: var(--paper);
}

.event-facts__grid {
  width: var(--content);
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  color: var(--ink);
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.event-facts__grid div {
  min-height: 168px;
  padding: 34px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.event-facts__grid dt,
.order dt {
  margin-bottom: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.event-facts__grid dd,
.order dd {
  margin: 0;
}

.event-facts__grid dd {
  max-width: 430px;
  font-family: var(--display);
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.05;
}

.booking {
  padding: 116px 0 128px;
  background: var(--paper);
}

.section-heading {
  width: var(--content);
  max-width: 760px;
  margin: 0 auto 76px;
}

.section-heading > p:last-child {
  max-width: 620px;
  margin-bottom: 0;
  font-size: 18px;
}

.section-heading--center {
  text-align: center;
}

.section-heading--center > p:last-child {
  margin-right: auto;
  margin-left: auto;
}

.booking__layout {
  width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 70px;
  align-items: start;
}

.booking__steps {
  border-top: 1px solid var(--rule);
}

.booking-step {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  border-bottom: 1px solid var(--rule);
}

.booking-step[hidden] {
  display: none;
}

.booking-step__number {
  padding: 31px 20px 0 0;
  color: var(--vermilion);
  font-family: var(--display);
  font-size: 28px;
}

.booking-step__body {
  padding: 34px 0 48px;
}

.guest-picker {
  width: min(100%, 300px);
  display: grid;
  grid-template-columns: 64px 1fr 64px;
  border: 1px solid var(--ink);
}

.guest-picker__button {
  min-height: 58px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 26px;
  cursor: pointer;
}

.guest-picker__button:hover {
  color: var(--paper);
  background: var(--ink);
}

.guest-picker output {
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
  font-family: var(--display);
  font-size: 28px;
}

.month-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.month-tab {
  min-height: 44px;
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 10px 18px 9px;
  color: var(--ink);
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
}

.month-tab[aria-selected="true"] {
  color: var(--paper);
  background: var(--ink);
}

.calendar-status {
  min-height: 25px;
  margin-bottom: 10px;
  color: #56514b;
  font-size: 13px;
}

.calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(42px, 1fr));
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.calendar__weekday,
.calendar__day,
.calendar__blank {
  min-height: 58px;
  border: 0;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.calendar__weekday {
  min-height: 38px;
  padding: 11px 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.calendar__day {
  position: relative;
  padding: 8px;
  color: var(--ink);
  background: transparent;
  text-align: left;
}

button.calendar__day {
  cursor: pointer;
}

button.calendar__day:hover,
.calendar__day[aria-pressed="true"] {
  color: var(--paper);
  background: var(--ink);
}

.calendar__day[aria-pressed="true"]::after {
  content: "gewählt";
  position: absolute;
  right: 5px;
  bottom: 4px;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calendar__day--closed {
  color: #9e978d;
  background: rgba(207, 200, 190, 0.18);
}

.calendar__day-price {
  display: block;
  margin-top: 4px;
  font-size: 9px;
}

.price-legend {
  margin: 12px 0 0;
  color: #56514b;
  font-size: 12px;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.time-slot {
  min-height: 82px;
  border: 1px solid var(--ink);
  padding: 15px;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.time-slot:hover,
.time-slot[aria-pressed="true"] {
  color: var(--paper);
  background: var(--ink);
}

.time-slot strong {
  display: block;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 400;
}

.time-slot span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  color: #6b655d;
}

.order {
  position: sticky;
  top: 24px;
  padding: 30px;
  color: var(--paper);
  background: var(--ink);
}

.order :focus-visible {
  outline-color: var(--paper);
}

.order h3 {
  font-size: 40px;
}

.order__details {
  margin: 30px 0;
  border-top: 1px solid rgba(247, 242, 233, 0.35);
}

.order__details div {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(247, 242, 233, 0.35);
}

.order__price,
.order__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.order__price span,
.order__notice,
.order__fee-note {
  color: var(--muted);
  font-size: 12px;
}

.order__fee-note {
  margin: -12px 0 20px;
}

.order__price strong {
  font-size: 17px;
}

.order__total {
  margin: 16px 0 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(247, 242, 233, 0.35);
}

.order__total strong {
  font-family: var(--display);
  font-size: 31px;
  font-weight: 400;
}

.order__included {
  margin-bottom: 24px;
  font-size: 13px;
}

.order__notice {
  margin: 14px 0 0;
  line-height: 1.45;
}

.api-message {
  margin-top: 16px;
  padding: 12px;
  border: 1px solid var(--vermilion);
  color: #ffc1b4;
  font-size: 13px;
}

.api-message--light {
  border-color: var(--ink);
  color: var(--ink);
}

.booking-step--menu .booking-step__body > p:not(.eyebrow) {
  max-width: 58ch;
}

.selected-start {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.selected-start__value {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 18px;
  border-left: 3px solid var(--vermilion);
  background: rgba(207, 200, 190, 0.22);
}

.selected-start__value span {
  color: #56514b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.selected-start__value strong {
  font-family: var(--display);
  font-size: 25px;
  font-weight: 400;
}

.ticket-options {
  width: 100%;
  margin: 28px 0 0;
}

.ticket-selection-progress {
  margin: 0 0 12px;
  color: #56514b;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ticket-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.ticket-option {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 28px;
  color: var(--ink);
  background: transparent;
  text-align: left;
}

.ticket-option[data-selected="true"] {
  color: var(--ink);
  background: var(--vermilion);
}

.ticket-option__mark {
  display: block;
  margin-bottom: 34px;
  color: var(--vermilion);
  font-family: var(--display);
  font-size: 34px;
}

.ticket-option[data-selected="true"] .ticket-option__mark {
  color: var(--ink);
}

.ticket-option strong {
  display: block;
  margin-bottom: 9px;
  font-family: var(--display);
  font-size: 36px;
  font-weight: 400;
}

.ticket-option small {
  display: block;
  max-width: 48ch;
  font-size: 13px;
}

.ticket-option__status {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.ticket-option__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding-top: 24px;
}

.ticket-option__stepper {
  display: grid;
  grid-template-columns: 38px 42px 38px;
  flex: 0 0 auto;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: var(--paper);
}

.ticket-option__stepper button,
.ticket-option__stepper output {
  display: grid;
  min-height: 38px;
  place-items: center;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
}

.ticket-option__stepper button {
  cursor: pointer;
  font-size: 20px;
}

.ticket-option__stepper output {
  border-right: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
  font-family: var(--display);
  font-size: 23px;
}

.ticket-option__stepper button:disabled {
  cursor: not-allowed;
  opacity: 0.3;
}

.add-ons {
  width: 100%;
  margin: 42px 0 0;
}

.add-on-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}

.add-on-option__control {
  display: flex;
  align-items: center;
  gap: 14px;
}

.add-on-option__control button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.vouchers {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  padding: 112px max(24px, calc((100vw - 1180px) / 2));
  background: var(--vermilion);
}

.vouchers__content {
  position: relative;
  z-index: 1;
  max-width: 630px;
}

.vouchers__content > p:not(.eyebrow) {
  max-width: 48ch;
  margin-bottom: 30px;
  font-size: 18px;
}

.vouchers__dragon {
  position: absolute;
  right: -4vw;
  bottom: -16px;
  width: min(56vw, 750px);
  pointer-events: none;
}

footer {
  padding: 25px max(24px, calc((100vw - 1180px) / 2));
  display: flex;
  flex-wrap: wrap;
  gap: 18px 30px;
  color: var(--paper);
  background: var(--ink);
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

footer span:last-child {
  margin-left: auto;
}

.mobile-total {
  display: none;
}

.cookie-notice {
  position: fixed;
  z-index: 40;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 18px max(24px, calc((100vw - 1180px) / 2))
    calc(18px + env(safe-area-inset-bottom));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  border-top: 1px solid rgba(247, 242, 233, 0.28);
  color: var(--paper);
  background: var(--ink);
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice :focus-visible {
  outline-color: var(--paper);
}

.cookie-notice__text {
  max-width: 78ch;
}

.cookie-notice__text .eyebrow {
  margin-bottom: 6px;
}

.cookie-notice__text p:last-child {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.cookie-notice__text a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.demo-dialog {
  position: fixed;
  z-index: 50;
  inset: 0;
  padding: 24px;
  display: grid;
  place-items: center;
  background: rgba(19, 19, 19, 0.82);
}

.demo-dialog[hidden] {
  display: none;
}

.demo-dialog__content {
  width: min(680px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 42px;
  background: var(--paper);
}

.demo-dialog__content pre {
  max-height: 260px;
  overflow: auto;
  margin: 25px 0;
  padding: 16px;
  color: var(--paper);
  background: var(--ink);
  font-size: 11px;
  white-space: pre-wrap;
}

@media (max-width: 900px) {
  :root {
    --content: min(100% - 32px, 720px);
  }

  .event-facts__grid,
  .booking__layout {
    grid-template-columns: 1fr;
  }

  .event-facts__grid div {
    min-height: auto;
  }

  .booking__layout {
    gap: 50px;
  }

  .order {
    position: relative;
    top: auto;
  }

  .vouchers__dragon {
    right: -170px;
    width: 660px;
    opacity: 0.5;
  }
}

@media (max-width: 620px) {
  body.has-mobile-bar {
    --mobile-bar-height: 82px;
  }

  .hero__nav {
    padding: 16px 0;
  }

  .hero__nav-actions {
    gap: 8px;
  }

  .hero__nav .button--compact {
    padding: 9px 13px 8px;
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .hero__wordmark img {
    width: 88px;
  }

  .hero__content {
    padding-bottom: 40px;
  }

  .hero__dragon {
    width: min(66vw, 300px);
    height: min(72vw, 330px);
    margin-bottom: 6px;
  }

  .hero__lead {
    margin-bottom: 26px;
  }

  .event-facts__grid div {
    padding: 26px;
  }

  .booking,
  .menu,
  .vouchers {
    padding-top: 72px;
    padding-bottom: 76px;
  }

  .section-heading {
    margin-bottom: 48px;
  }

  .booking-step {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .booking-step__number {
    padding-top: 28px;
    font-size: 23px;
  }

  .calendar {
    grid-template-columns: repeat(7, minmax(36px, 1fr));
  }

  .calendar__weekday {
    font-size: 8px;
  }

  .calendar__day,
  .calendar__blank {
    min-height: 58px;
  }

  .calendar__day {
    padding: 6px 4px;
    font-size: 13px;
    text-align: center;
  }

  .calendar__day-price {
    margin-top: 3px;
    font-size: 8px;
    letter-spacing: -0.01em;
  }

  .calendar__day[aria-pressed="true"]::after {
    display: none;
  }

  .time-slots {
    grid-template-columns: 1fr;
  }

  .ticket-option-grid {
    grid-template-columns: 1fr;
  }

  .ticket-option {
    min-height: 220px;
  }

  .vouchers {
    min-height: 650px;
  }

  .vouchers__dragon {
    right: -210px;
    bottom: -15px;
    width: 620px;
  }

  footer span:last-child {
    width: 100%;
    margin-left: 0;
  }

  .mobile-total:not([hidden]) {
    position: fixed;
    z-index: 20;
    right: 0;
    bottom: var(--cookie-notice-height, 0px);
    left: 0;
    min-height: 82px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid rgba(247, 242, 233, 0.28);
    color: var(--paper);
    background: var(--ink);
  }

  .mobile-total span {
    display: flex;
    flex-direction: column;
  }

  .mobile-total small {
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
  }

  .mobile-total strong {
    font-family: var(--display);
    font-size: 25px;
    font-weight: 400;
    line-height: 1;
  }

  .mobile-total__fee {
    margin-top: 3px;
    letter-spacing: 0.04em;
    text-transform: none;
  }

  .mobile-total .button {
    min-width: 126px;
  }

  .cookie-notice {
    flex-wrap: nowrap;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
    gap: 14px;
  }

  .cookie-notice__text .eyebrow {
    display: none;
  }

  .cookie-notice__text p:last-child {
    font-size: 12px;
    line-height: 1.45;
  }

  .cookie-notice .button {
    flex: 0 0 auto;
  }

  .demo-dialog__content {
    padding: 28px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
