* { box-sizing: border-box; }
html { min-height: 100%; background: #96b6ed linear-gradient(#96b6ed, #b9b5ed 42%, #ffa6d0); background-attachment: fixed; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
.world {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  height: 100svh;
  height: 100dvh;
  min-height: 720px;
  background: linear-gradient(180deg, #a3caff77, #eeb6ee80 50%, #ffb8e4aa), #b9b5ed url('assets/sky.webp') center 53% / cover no-repeat;
}
.world::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 39%, #f7b8e777, transparent 54%);
}
.landscape { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hills { position: absolute; width: 100%; height: 65%; object-fit: fill; bottom: 4%; }
.floor { position: absolute; width: 100%; height: 40%; bottom: 0; max-width: none; }
.festival-title { position: absolute; width: min(88%, 110vh, 1220px); top: 1.4%; left: 50%; transform: translateX(-50%); margin: 0; }
.festival-title img { width: 100%; }
.announcement { position: absolute; top: 35%; left: 50%; transform: translateX(-50%); width: min(39vw, 570px); text-align: center; }
.save-label { width: 48%; margin: 0 auto -1.5%; }
.save-label img { width: 100%; }
time { display: block; }
.date { width: 100%; filter: drop-shadow(0 2px 12px #a95ea84d); }
.ticket-area { position: absolute; top: 57%; left: 50%; transform: translateX(-50%); text-align: center; z-index: 3; }
.ticket {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 18px 31px;
  min-width: 228px;
  min-height: 68px;
  border: 1px solid #eeff9d;
  border-radius: 50%;
  background: #e9ff65;
  color: #303a29;
  box-shadow: 0 0 22px #ecff7ea6, inset 0 0 18px #fbffc0;
  text-decoration: none;
  transform: rotate(-7deg);
  transition: transform .25s, box-shadow .25s, background .25s;
  -webkit-tap-highlight-color: transparent;
}
.ticket__label { font-size: 25px; font-weight: 800; letter-spacing: -.8px; }
.ticket__star { font-size: 30px; font-weight: normal; }
.ticket__arrow { width: 32px; height: 32px; flex-shrink: 0; }
.ticket:focus-visible { transform: rotate(3deg) scale(1.07); background: #f5ffab; box-shadow: 0 0 40px #efff84; }
@media (hover: hover) and (pointer: fine) {
  .ticket:hover { transform: rotate(3deg) scale(1.07); background: #f5ffab; box-shadow: 0 0 40px #efff84; }
}
.ticket:focus-visible { outline: 3px solid #3b665b; outline-offset: 7px; }
.ticket[aria-disabled="true"] { cursor: default; }
.ticket[href] { cursor: pointer; }
.character { position: absolute; will-change: transform; }
.character img { width: 100%; }
.character--horse { width: min(32vw, 590px); right: -2%; bottom: 10%; animation: horse-float 7s ease-in-out infinite; }
.character--rabbit { width: min(28vw, 450px); left: 7%; bottom: 8%; animation: rabbit-float 6s ease-in-out infinite; }
.ornament { position: absolute; }
.ornament--top-left { width: 17%; left: 1%; top: 25%; opacity: .8; }
.ornament--top-right { width: 17%; right: 1%; top: 25%; transform: scaleX(-1); opacity: .8; }
.ornament--left { height: 64%; width: auto; left: -3%; bottom: 2%; transform: rotate(-12deg); }
.ornament--right { height: 64%; width: auto; right: -3%; bottom: 2%; transform: scaleX(-1) rotate(-12deg); }
.venues { position: absolute; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: 256fr 163fr 462fr 241fr; align-items: center; gap: 22px; padding: 22px 4% 15px; background: linear-gradient(transparent, #edff7d99 30%, #ffa6d0 90%); }
/* Proportionale Spalten und derselbe Maximalfaktor erhalten den Massstab aller Originale. */
.venues img { width: 100%; height: auto; justify-self: center; }
.venues img:nth-child(1) { max-width: calc(256px * .42); }
.venues img:nth-child(2) { max-width: calc(163px * .42); }
.venues img:nth-child(3) { max-width: calc(462px * .42); }
.venues img:nth-child(4) { max-width: calc(241px * .42); }
@keyframes horse-float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(1deg); } }
@keyframes rabbit-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-19px) rotate(-4deg); } }
@media (max-width: 760px) {
  /* Mobile folgt der räumlichen Anordnung des 9:16-Reels. */
  .world { min-height: max(570px, 177.778vw); }
  .world::after { display: none; }
  .festival-title { width: 90%; top: 11%; }
  .announcement { top: 27%; width: 50%; max-width: 380px; }
  .save-label { width: 56%; margin-bottom: -2%; }
  .ticket-area { top: 39%; }
  .ticket { min-width: clamp(144px, 43.6vw, 170px); min-height: 44px; padding: 8px 18px; gap: 12px; box-shadow: 0 0 10px #ecff7e47, inset 0 0 12px #fbffc0; }
  .ticket:focus-visible { box-shadow: 0 0 12px #ecff7e66; }
  .ticket__label { font-size: 20px; }
  .ticket__star { font-size: 23px; }
  .ticket__arrow { width: 25px; height: 25px; }
  /* Der untere Bildrand liegt vollständig unter dem breiten Teil des Schachbretts. */
  .hills { height: 61%; width: 155%; max-width: none; left: -28%; bottom: 12%; }
  .floor { height: 35%; width: 220%; left: -60%; }
  .character--horse { width: 59%; right: 8%; bottom: 19%; }
  .character--rabbit { width: 44%; left: 15%; bottom: 12%; }
  .ornament--top-left { width: 25%; left: 3%; top: 26%; }
  .ornament--top-right { width: 25%; right: 3%; top: 26%; }
  .ornament--left { height: 38%; bottom: 8%; left: 2%; transform: none; }
  .ornament--right { height: 38%; bottom: 8%; right: 2%; transform: scaleX(-1); }
  .venues { gap: 12px; padding: 24px max(5%, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(5%, env(safe-area-inset-left)); }
}
@media (max-width: 760px) and (min-aspect-ratio: 3/4) {
  .world { min-height: 850px; }
}
@media (min-width: 761px) and (max-height: 760px) {
  .festival-title { width: min(75%, 100vh, 950px); }
  .announcement { top: 35%; width: 35%; }
  .ticket-area { top: 61%; }
  .character--horse { width: 31%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
