:root {
  --brand: #dd0a30;
  --brand-dark: #b40726;
  --brand-light: rgba(221, 10, 48, 0.12);
  --sky: #08b0d7;
  --green: #84bb1f;
  --ink: #464646;
  --soft-bg: #f8f9fa;
  --radius: 1.25rem;
  --radius-lg: 1.75rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .btn, .navbar-brand {
  font-family: "Montserrat", sans-serif;
}

.text-brand {
  color: var(--brand) !important;
}

/* ── Navigation ── */

.glass-nav {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(221, 10, 48, 0.12);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.brand-logo {
  height: 68px;
  width: auto;
  transition: height 0.3s ease;
}

.glass-nav.nav-scrolled {
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.glass-nav.nav-scrolled .brand-logo {
  height: 46px;
}

.nav-link {
  font-weight: 600;
  color: var(--ink);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--brand);
}

#mainNav .nav-link.active {
  color: var(--brand);
}

/* ── Buttons ── */

.btn-brand {
  background: var(--brand);
  color: #fff;
  border: 0;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.6rem 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-brand:hover {
  background: var(--brand-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(221, 10, 48, 0.35);
}

/* ── Hero ── */

.hero-section {
  position: relative;
  padding-top: 5.5rem;
  color: var(--ink);
  overflow: hidden;
  background: #fff;
}

.hero-banner {
  width: 100%;
  padding: 0 1rem;
  line-height: 0;
}

.hero-banner-frame {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 1.75rem 1.75rem;
  box-shadow:
    0 24px 60px rgba(221, 10, 48, 0.18),
    0 8px 24px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 50%, #f0f4f8 100%);
}

.hero-banner-inner {
  transition: transform 0.1s linear;
  will-change: transform;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center top;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1s ease;
}

.hero-banner.is-ready .hero-banner-img {
  opacity: 1;
  transform: scale(1);
  animation: bannerKenBurns 28s ease-in-out infinite alternate;
}

/* Licht-Shimmer – nur kurz über die Fläche */
.hero-banner-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 60%
  );
  transform: translateX(-120%);
  animation: bannerShimmer 7s ease-in-out infinite;
  pointer-events: none;
}

/* Vignette nur an den Rändern – Mitte (Künstler) bleibt frei */
.hero-banner-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 80% at 50% 45%, transparent 55%, rgba(0, 0, 0, 0.12) 100%);
  pointer-events: none;
}

/* Farbiger Glow direkt über dem Claim */
.hero-banner-edge-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 5;
  background: linear-gradient(90deg, var(--sky), var(--brand), #ffc107, var(--green), var(--sky));
  background-size: 200% 100%;
  animation: edgeGlowShift 6s linear infinite;
}

/* Schwebende Sparkles an den Ecken */
.hero-banner-sparkles .sparkle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.55;
  animation: sparkleFloat 5s ease-in-out infinite;
}

.hero-banner-sparkles .s1 {
  width: 14px;
  height: 14px;
  background: var(--sky);
  top: 8%;
  left: 4%;
  animation-delay: 0s;
}

.hero-banner-sparkles .s2 {
  width: 10px;
  height: 10px;
  background: var(--brand);
  top: 12%;
  right: 6%;
  animation-delay: 1.2s;
}

.hero-banner-sparkles .s3 {
  width: 12px;
  height: 12px;
  background: var(--green);
  bottom: 12%;
  left: 8%;
  animation-delay: 2.4s;
}

.hero-banner-sparkles .s4 {
  width: 8px;
  height: 8px;
  background: #ffc107;
  bottom: 15%;
  right: 5%;
  animation-delay: 0.8s;
}

@keyframes bannerKenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.025); }
}

@keyframes bannerShimmer {
  0%, 75%, 100% { transform: translateX(-120%); }
  40%           { transform: translateX(120%); }
}

@keyframes edgeGlowShift {
  from { background-position: 0% 50%; }
  to   { background-position: 200% 50%; }
}

@keyframes sparkleFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.4; }
  50%      { transform: translateY(-12px) scale(1.2); opacity: 0.8; }
}

.hero-content {
  background: var(--soft-bg);
  position: relative;
  padding-top: 0.5rem;
}

.hero-headline {
  text-align: center;
  padding: 2.5rem 1rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.hero-headline-title {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hero-headline-line {
  font-family: "Fjalla One", sans-serif;
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  line-height: 1.15;
  color: var(--brand);
  letter-spacing: 0.01em;
}

.hero-headline-accent {
  font-family: "Fjalla One", sans-serif;
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-style: italic;
  color: var(--ink);
  opacity: 0.75;
}

.hero-intro {
  font-size: 1.1rem;
  color: #555;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-badge {
  display: inline-block;
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-badge-dark {
  background: var(--brand-light);
  color: var(--brand);
  border: 1px solid rgba(221, 10, 48, 0.2);
}

.btn-outline-brand {
  border: 2px solid var(--brand);
  color: var(--brand);
  border-radius: 999px;
  font-weight: 700;
  background: transparent;
}

.btn-outline-brand:hover {
  background: var(--brand);
  color: #fff;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-facts-inline {
  justify-content: center;
}

.hero-fact {
  border-radius: var(--radius);
  padding: 0.75rem 1.1rem;
  min-width: 110px;
  text-align: center;
}

.hero-fact strong {
  display: block;
  font-family: "Fredoka", sans-serif;
  font-size: 1.3rem;
  line-height: 1.2;
}

.hero-fact span {
  font-size: 0.8rem;
}

.hero-fact-light {
  background: #fff;
  border: 1px solid rgba(221, 10, 48, 0.15);
  color: var(--ink);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.hero-fact-light strong {
  color: var(--brand);
}

.hero-fact-light span {
  color: #666;
}

.hero-fact-highlight-light {
  background: var(--brand);
  border: 1px solid var(--brand);
  color: #fff;
}

.hero-fact-highlight-light strong,
.hero-fact-highlight-light span {
  color: #fff;
}

.wave-divider-top {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
  z-index: 2;
  pointer-events: none;
}

.wave-divider-top svg {
  width: 100%;
  height: 60px;
}

/* ── Sections ── */

.section-soft {
  background: var(--soft-bg);
}

.section-label {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: "Fjalla One", sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--brand);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: #666;
  max-width: 640px;
}

/* ── Program ── */

.program-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.program-image {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.program-image-wrap:hover .program-image {
  transform: scale(1.04);
}

.program-image-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: var(--brand);
  color: #fff;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
}

.expect-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  height: 100%;
  border: 2px solid transparent;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.expect-card:hover {
  transform: translateY(-6px);
  border-color: var(--sky);
  box-shadow: 0 12px 30px rgba(8, 176, 215, 0.2);
}

.expect-icon {
  height: 52px;
  width: auto;
  margin-bottom: 0.5rem;
}

.expect-card strong {
  display: block;
  font-family: "Fredoka", sans-serif;
  font-size: 1.1rem;
  color: var(--brand);
  margin-bottom: 0.25rem;
}

.expect-card p {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
}

.artist-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.artist-chip {
  background: linear-gradient(135deg, var(--brand) 0%, #ff4d6d 100%);
  color: #fff;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}

.artist-chip:hover {
  transform: scale(1.06);
}

/* ── CTA Banner ── */

.cta-banner {
  background: linear-gradient(135deg, var(--brand) 0%, #ff3355 60%, var(--sky) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 16px 40px rgba(221, 10, 48, 0.3);
}

.cta-banner-title {
  font-family: "Fjalla One", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.cta-banner .btn-light {
  border-radius: 999px;
  color: var(--brand);
  font-weight: 700;
}

/* ── Gallery ── */

.gallery-card {
  position: relative;
  min-height: 440px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  transition: transform 0.35s ease;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 60%);
  transition: opacity 0.3s ease;
}

.gallery-card:hover {
  transform: scale(1.03);
}

.gallery-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 1;
  color: #fff;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 1rem;
}

/* ── Year Gallery ── */

.year-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.year-gallery-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: #e9ecef;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.year-gallery-item:hover,
.year-gallery-item:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(221, 10, 48, 0.18);
  outline: none;
}

.year-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.year-gallery-item:hover img,
.year-gallery-item:focus-visible img {
  transform: scale(1.05);
}

.year-gallery-item.is-preview-hidden {
  display: none;
}

.year-gallery-more {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(221, 10, 48, 0.72);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  z-index: 1;
  pointer-events: none;
}

/* ── Lightbox ── */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  background: rgba(18, 18, 22, 0.94);
  backdrop-filter: blur(8px);
  padding: 1rem 1rem 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox[hidden] {
  display: none;
}

.lightbox.is-open[hidden] {
  display: flex;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 3;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  background: var(--brand);
  outline: none;
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
}

.lightbox-nav {
  top: 45%;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 0.75rem;
}

.lightbox-next {
  right: 0.75rem;
}

.lightbox-stage {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 4rem 1rem;
}

.lightbox-stage img {
  max-width: min(100%, 1100px);
  max-height: calc(100vh - 220px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.75rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.lightbox-counter {
  margin: 0.85rem 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  font-weight: 600;
}

.lightbox-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.85rem 1rem 1.15rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}

.lightbox-thumb {
  flex: 0 0 auto;
  width: 72px;
  height: 54px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 0.45rem;
  overflow: hidden;
  background: #2a2a30;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lightbox-thumb:hover,
.lightbox-thumb:focus-visible {
  opacity: 0.9;
  outline: none;
}

.lightbox-thumb.is-active {
  opacity: 1;
  border-color: var(--brand);
  transform: translateY(-2px);
}

body.lightbox-open {
  overflow: hidden;
}

@media (min-width: 768px) {
  .year-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 767.98px) {
  .lightbox-stage {
    padding: 3.5rem 0.5rem 0.75rem;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
  }

  .lightbox-prev {
    left: 0.35rem;
  }

  .lightbox-next {
    right: 0.35rem;
  }

  .lightbox-stage img {
    max-height: calc(100vh - 200px);
  }

  .lightbox-thumb {
    width: 60px;
    height: 45px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .year-gallery-item,
  .year-gallery-item img,
  .lightbox,
  .lightbox-thumb {
    transition: none;
  }
}

/* ── Tickets ── */

.ticket-image {
  width: 100%;
}

.ticket-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 2px solid var(--brand-light);
  box-shadow: 0 12px 32px rgba(221, 10, 48, 0.1);
}

.early-bird-badge {
  background: linear-gradient(135deg, var(--brand) 0%, #ff4d6d 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: 1rem;
  animation: subtlePulse 3s ease-in-out infinite;
}

.early-bird-badge small {
  display: block;
  font-weight: 500;
  opacity: 0.9;
  font-size: 0.8rem;
  margin-top: 0.2rem;
}

.price-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  background: var(--soft-bg);
  gap: 1rem;
}

.price-item-featured {
  background: var(--brand-light);
  border: 2px solid rgba(221, 10, 48, 0.25);
}

.price-item span {
  display: block;
  font-size: 0.8rem;
  color: #777;
  font-weight: 400;
}

.price-value {
  font-family: "Fredoka", sans-serif;
  font-size: 1.2rem;
  color: var(--brand);
  white-space: nowrap;
}

/* ── Legal pages ── */

.subpage {
  background: #fff;
}

.legal-section {
  padding-top: 7rem !important;
  min-height: 70vh;
}

.legal-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(221, 10, 48, 0.1);
}

.legal-content h2 {
  font-family: "Fjalla One", sans-serif;
  font-size: 1.35rem;
  color: var(--brand);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3,
.legal-content h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.legal-content p,
.legal-content li {
  color: #555;
  line-height: 1.65;
}

.legal-content ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal-content a {
  color: var(--brand);
  word-break: break-word;
}

/* ── FAQ Accordion ── */

.faq-accordion .accordion-item {
  border: 1px solid rgba(221, 10, 48, 0.12);
  border-radius: var(--radius) !important;
  overflow: hidden;
  margin-bottom: 0.85rem;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.25s ease;
}

.faq-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
  box-shadow: 0 8px 24px rgba(221, 10, 48, 0.12);
  border-color: rgba(221, 10, 48, 0.25);
}

.faq-accordion .accordion-button {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  padding: 1.15rem 1.35rem;
  background: #fff;
  box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--brand);
  background: var(--brand-light);
}

.faq-accordion .accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(221, 10, 48, 0.2);
  border-color: transparent;
}

.faq-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23dd0a30'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-accordion .accordion-body {
  padding: 1rem 1.35rem 1.35rem;
  color: #555;
  line-height: 1.65;
}

/* ── Contact ── */

.contact-phone {
  font-family: "Fjalla One", sans-serif;
  font-size: 1.5rem;
  color: var(--brand);
}

.contact-phone a,
a {
  color: var(--brand);
  text-decoration: none;
}

.contact-phone a:hover,
a:hover {
  color: var(--brand-dark);
}

.map-wrap {
  border: 3px solid var(--brand-light);
}

/* ── Footer ── */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer a:hover {
  color: #fff;
}

/* ── Back to top ── */

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1040;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 24px rgba(221, 10, 48, 0.35);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.9);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  background: var(--brand-dark);
  box-shadow: 0 12px 28px rgba(221, 10, 48, 0.45);
  transform: translateY(-3px) scale(1);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

/* ── Reveal Animation ── */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ── Keyframes ── */

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

@keyframes floatShape {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-20px) rotate(8deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.4); }
}

@keyframes subtlePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(221, 10, 48, 0.3); }
  50%      { box-shadow: 0 0 0 8px rgba(221, 10, 48, 0); }
}

/* ── Countdown ── */

.countdown-section {
  background: #fff;
  margin-top: -1px;
}

.countdown-box {
  background: linear-gradient(135deg, var(--brand) 0%, #ff3355 50%, var(--sky) 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  color: #fff;
  box-shadow: 0 16px 48px rgba(221, 10, 48, 0.28);
}

.countdown-title {
  font-family: "Fjalla One", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 0.35rem;
}

.countdown-subtitle {
  opacity: 0.9;
  font-size: 0.95rem;
}

.countdown-box .section-label {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.countdown-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.25rem;
}

.countdown-unit {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  min-width: 90px;
  text-align: center;
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease;
}

.countdown-unit.tick {
  transform: scale(1.06);
}

.countdown-value {
  display: block;
  font-family: "Fredoka", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1;
}

.countdown-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.35rem;
  opacity: 0.85;
}

.countdown-sep {
  font-family: "Fredoka", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  opacity: 0.6;
  padding: 0 0.15rem;
  align-self: center;
}

.countdown-done {
  font-family: "Fredoka", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
}

/* ── Partner Slider ── */

.partner-section {
  background: var(--soft-bg);
  overflow: hidden;
}

.partner-slider {
  position: relative;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.partner-slider::before,
.partner-slider::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}

.partner-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  animation: partnerScroll 40s linear infinite;
}

.partner-slider:hover .partner-track {
  animation-play-state: paused;
}

.partner-slide {
  flex-shrink: 0;
  width: 160px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-slide:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(221, 10, 48, 0.15);
}

.partner-slide img {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter 0.3s ease;
}

.partner-slide:hover img {
  filter: grayscale(0%);
}

@keyframes partnerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Responsive ── */

@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 4.5rem;
  }

  .hero-headline {
    padding: 1.75rem 0.5rem 1.5rem;
  }

  .brand-logo {
    height: 52px;
  }

  .glass-nav.nav-scrolled .brand-logo {
    height: 36px;
  }

  .cta-banner {
    text-align: center;
  }

  .cta-banner .text-lg-end {
    text-align: center !important;
  }

  .countdown-unit {
    min-width: 72px;
    padding: 0.75rem 0.6rem;
  }

  .countdown-sep {
    font-size: 1.4rem;
  }

  .partner-slide {
    width: 130px;
    height: 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-banner-img,
  .hero-banner-shimmer,
  .hero-banner-edge-glow,
  .hero-banner-sparkles .sparkle {
    animation: none !important;
  }

  .hero-banner-img {
    opacity: 1;
    transform: none;
  }

  .partner-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 1rem;
    padding: 0 1rem;
  }

  .partner-slider {
    mask-image: none;
    -webkit-mask-image: none;
  }
}
