.rotating-title, .rotating-lead { display: grid; }
.hero-title-option, .hero-lead-option { grid-area: 1 / 1; }
.hero-title-option, .hero-lead-option, .hero-photo { transition: opacity .55s ease, visibility 0s linear .55s; }
[data-hero-index]:not(.is-active) {
  opacity: 0;
  visibility: hidden;
}
[data-hero-index].is-active { transition-delay: 0s; }
.cafe-photo { object-position: 63% 46%; }
.festival-photo { object-position: 61% 50%; }

.hero-controls { display: flex; align-items: center; gap: 4px; margin-top: 16px; }
.hero-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.hero-controls button:hover { background: #ffffff20; }
.hero-controls button:focus-visible { outline-color: var(--rose); }
.hero-controls .hero-toggle { border-color: #ffffff70; }
.hero-toggle span { font-size: 16px; font-weight: 800; line-height: 1; }
.hero-choice span { width: 24px; height: 4px; border-radius: 6px; background: #e6d9d5; }
.hero-choice[aria-pressed="true"] span { background: var(--rose); height: 6px; }

@media (max-width: 720px) {
  .festival-photo { object-position: 77% 42%; }
  .cafe-photo { object-position: 79% 33%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-title-option, .hero-lead-option, .hero-photo { transition: none; }
}

/* Keep the longer festival headline balanced at narrow widths. */
.hero-title-option[data-hero-index="2"] {
  font-size: .86em;
  text-wrap: balance;
}

.qsr-photo { object-position: 60% 40%; }
.hero-title-option[data-hero-index="3"] { font-size: .9em; text-wrap: balance; }
@media (max-width: 720px) {
  .qsr-photo { object-position: 72% 28%; }
}

.hero-price {
  margin: 0 0 20px;
  color: #ffda77;
  text-shadow: 0 2px 12px #000a;
}
.hero-price p {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px .6rem;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1;
}
.hero-price strong {
  font-size: clamp(49px, 5.3vw, 76px);
  font-weight: 700;
  letter-spacing: -.045em;
  white-space: nowrap;
}
.hero-price-amounts {
  display: inline-flex;
  align-items: baseline;
  gap: .45rem;
  white-space: nowrap;
}
.hero-price .hero-price-swiss {
  font-size: clamp(29px, 3.65vw, 51px);
}
.hero-price-amounts:has(.regional-price-list) {
  max-width: 100%;
}
.hero-price .regional-price-list {
  font-size: clamp(22px, 2.6vw, 38px);
  line-height: 1.2;
  white-space: normal;
}
.hero-price-divider {
  font-size: .95rem;
}
.hero-price-unit {
  font-size: clamp(19px, 2vw, 25px);
  font-style: italic;
  white-space: nowrap;
}
.hero-price small {
  display: block;
  margin-top: 5px;
  color: #f6eae5;
  font-size: .8rem;
}
