* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #fff;
  background: #17120f;
}

.lang-radio {
  position: fixed;
  opacity: 0;
  pointer-events: none;
}

.page {
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 96px clamp(24px, 6vw, 112px) 40px 24px;
}

.background-slider,
.slide,
.overlay {
  position: absolute;
  inset: 0;
}

.background-slider {
  z-index: 0;
  background: #17120f;
}

.slide {
  opacity: 0;
  background-position: center;
  background-size: cover;
  filter: saturate(1.04) contrast(1.02);
  animation: fadeSlide 80s infinite;
}

.slide-1 {
  background-image: url("images/hero-1.webp");
  animation-delay: 0s;
}

.slide-2 {
  background-image: url("images/hero-2.webp");
  animation-delay: 8s;
}

.slide-3 {
  background-image: url("images/hero-3.webp");
  animation-delay: 16s;
}

.slide-4 {
  background-image: url("images/hero-4.webp");
  animation-delay: 24s;
}

.slide-5 {
  background-image: url("images/hero-5.webp");
  animation-delay: 32s;
}

.slide-6 {
  background-image: url("images/hero-6.webp");
  animation-delay: 40s;
}

.slide-7 {
  background-image: url("images/hero-7.webp");
  animation-delay: 48s;
}

.slide-8 {
  background-image: url("images/hero-8.webp");
  animation-delay: 56s;
}

.slide-9 {
  background-image: url("images/hero-9.webp");
  animation-delay: 64s;
}

.slide-10 {
  background-image: url("images/hero-10.webp");
  animation-delay: 72s;
}

.overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(23,18,15,0.06) 0%, rgba(23,18,15,0.14) 42%, rgba(23,18,15,0.38) 67%, rgba(23,18,15,0.58) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.08), rgba(0,0,0,0.28));
}

.language-switch {
  position: absolute;
  z-index: 3;
  top: 24px;
  right: 24px;
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  background: rgba(0,0,0,0.22);
  backdrop-filter: blur(10px);
}

.language-switch label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.76);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.language-switch label:hover {
  color: #fff;
  transform: translateY(-1px);
}

#lang-de:checked ~ .page label[for="lang-de"],
#lang-en:checked ~ .page label[for="lang-en"],
#lang-hu:checked ~ .page label[for="lang-hu"] {
  color: #241713;
  background: rgba(255,255,255,0.92);
}

.content-stack {
  position: relative;
  z-index: 2;
  width: min(600px, 44vw);
  display: grid;
  gap: 16px;
}

.card {
  border: 1px solid rgba(255,255,255,0.24);
  background: rgba(30, 20, 16, 0.46);
  box-shadow: 0 24px 80px rgba(0,0,0,0.30);
  backdrop-filter: blur(14px);
  text-align: center;
}

.main-card {
  padding: clamp(28px, 4.2vw, 48px);
  border-radius: 28px;
}

.event-card {
  padding: clamp(18px, 2.5vw, 26px);
  border-radius: 22px;
}

.eyebrow {
  display: none;
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
}

#lang-de:checked ~ .page .eyebrow-de,
#lang-en:checked ~ .page .eyebrow-en,
#lang-hu:checked ~ .page .eyebrow-hu {
  display: block;
}

.language-content {
  display: none;
}

#lang-de:checked ~ .page .content-de,
#lang-en:checked ~ .page .content-en,
#lang-hu:checked ~ .page .content-hu {
  display: block;
  animation: contentFade 260ms ease both;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 5.4vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

h2 {
  margin: 8px 0 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1;
  letter-spacing: -0.03em;
}

p {
  max-width: 520px;
  margin: 22px auto 0;
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.6;
  color: rgba(255,255,255,0.90);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: #241713;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: #fff;
}

.event-label {
  margin: 0 auto;
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.45;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.70);
}

.event-name {
  margin-top: 8px;
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.45;
  color: rgba(255,255,255,0.92);
}

@keyframes fadeSlide {
  0% {
    opacity: 0;
    transform: scale(1.01);
  }

  3.8% {
    opacity: 1;
  }

  10% {
    opacity: 1;
  }

  13.8% {
    opacity: 0;
    transform: scale(1.04);
  }

  100% {
    opacity: 0;
    transform: scale(1.04);
  }
}

@keyframes contentFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 880px) {
  .hero {
    display: grid;
    place-items: center;
    padding: 92px 20px 28px;
  }

  .content-stack {
    width: min(680px, 100%);
  }

  .overlay {
    background:
      linear-gradient(135deg, rgba(23,18,15,0.30), rgba(23,18,15,0.46)),
      linear-gradient(to bottom, rgba(0,0,0,0.10), rgba(0,0,0,0.34));
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 88px 16px 24px;
    place-items: start center;
  }

  .language-switch {
    top: 16px;
    right: 16px;
    left: 16px;
    justify-content: center;
  }

  .language-switch label {
    flex: 1;
  }

  .main-card {
    margin-top: 40px;
    border-radius: 22px;
  }

  .event-card {
    border-radius: 20px;
  }

  .button {
    width: 100%;
    padding-inline: 16px;
  }
}
