/* ==========================================================================
   UNO Erstsemesterparty - Modern Festival & Student Club Stylesheet
   Authentic Stuttgart Campus Vibe, Dark Atmosphere, Neon Beams, Clean Logos
   ========================================================================== */

:root {
  /* Colors */
  --bg-main: #06070a;
  --bg-surface: #0d0f17;
  --bg-card: rgba(18, 20, 32, 0.75);
  --bg-card-hover: rgba(26, 30, 48, 0.9);
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(0, 242, 254, 0.4);

  /* Neon Accents inspired by official UNO artwork */
  --cyan-neon: #00f2fe;
  --purple-neon: #a855f7;
  --pink-neon: #ff2a85;
  --gold-neon: #f59e0b;
  --green-neon: #22c55e;
  --blue-neon: #3b82f6;

  /* Typography */
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --container-max: 1200px;
  --header-height: 76px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.2) 0%, transparent 60%),
    radial-gradient(circle at 85% 25%, rgba(0, 242, 254, 0.14) 0%, transparent 50%),
    radial-gradient(circle at 15% 65%, rgba(255, 42, 133, 0.12) 0%, transparent 55%);
  background-attachment: fixed;
}

body.no-scroll {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition-smooth);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* -------------------------------------------------------------
   Header & Navigation
   ------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-smooth);
  background: rgba(6, 7, 10, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(8, 9, 14, 0.94);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(0, 242, 254, 0.4));
  transition: transform 0.3s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.06);
}

.brand-title-group {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan-neon);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Desktop Navigation */
.nav-menu-desktop {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan-neon), var(--purple-neon));
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-btn-highlight {
  background: linear-gradient(135deg, var(--cyan-neon), var(--purple-neon));
  color: #000000 !important;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(0, 242, 254, 0.4);
}

.nav-btn-highlight:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0, 242, 254, 0.6);
}

.nav-btn-highlight::after {
  display: none !important;
}

/* Responsive Navigation Tightening */
@media (max-width: 1260px) {
  .nav-menu-desktop {
    gap: 14px;
  }
  .nav-link {
    font-size: 0.85rem;
  }
  .nav-btn-highlight {
    padding: 8px 14px;
    font-size: 0.85rem;
  }
}

/* Switch to Mobile Navigation when viewport is <= 1120px or if menu cannot fit on one line */
@media (max-width: 1120px) {
  .nav-menu-desktop {
    display: none !important;
  }
  .nav-toggle {
    display: flex !important;
  }
}

.site-header.force-mobile-nav .nav-menu-desktop {
  display: none !important;
}

.site-header.force-mobile-nav .nav-toggle {
  display: flex !important;
}

/* Mobile Toggle Button */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  z-index: 1001;
}

.nav-toggle span {
  width: 100%;
  height: 2.5px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* Mobile Drawer & Backdrop */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  z-index: 1002;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 84%;
  max-width: 360px;
  height: 100vh;
  background: rgba(10, 12, 20, 0.98);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px);
  z-index: 1003;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.nav-drawer.open {
  transform: translateX(0);
}

.nav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.nav-close-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.nav-menu-mobile {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-menu-mobile .nav-link {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
}

.nav-menu-mobile .nav-link:hover,
.nav-menu-mobile .nav-link:active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--cyan-neon);
  border-color: var(--border-glow);
}

/* -------------------------------------------------------------
   Hero Section with Dynamic Viewport Adaptation
   ------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 10px);
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.disco-canvas-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

#discoBallCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  /* Leaves space for the big rotating 3D disco ball and stays responsive */
  margin-top: clamp(120px, 24vh, 230px);
  padding: 0 16px;
}

/* Scrim backdrop around hero text so luminous rays never impair readability */
.hero-reveal-wrap {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  background: radial-gradient(ellipse at center, rgba(6, 7, 12, 0.85) 0%, rgba(6, 7, 12, 0.5) 60%, transparent 100%);
  padding: 24px 16px;
  border-radius: var(--radius-lg);
}

.hero-reveal-wrap.revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(18, 20, 32, 0.88);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  padding: 8px 22px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--cyan-neon);
  margin-bottom: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.pulse-sparkle {
  color: var(--pink-neon);
  font-size: 0.95rem;
  animation: pulseRotate 2s infinite ease-in-out;
}

@keyframes pulseRotate {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.3) rotate(45deg); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 6.8vw, 5.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.hero-gradient-text {
  background: linear-gradient(135deg, #ffffff 20%, var(--cyan-neon) 55%, var(--purple-neon) 85%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 25px rgba(0, 242, 254, 0.4));
}

.hero-meta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 28px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Live Countdown Box */
.countdown-container {
  max-width: 560px;
  margin: 0 auto 30px;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.countdown-tile {
  background: rgba(18, 20, 32, 0.88);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 8px;
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.countdown-num {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.8vw, 2.4rem);
  font-weight: 800;
  line-height: 1;
  color: var(--cyan-neon);
}

.countdown-lbl {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-top: 6px;
  font-weight: 700;
}

/* Action Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan-neon), var(--purple-neon));
  color: #000000;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.45);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 28px rgba(0, 242, 254, 0.65);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--cyan-neon);
  transform: translateY(-3px);
}

/* Crowd Silhouette at Bottom of Hero */
.hero-crowd-silhouette {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, var(--bg-main) 20%, transparent 100%),
              radial-gradient(ellipse at bottom, rgba(168, 85, 247, 0.3) 0%, transparent 70%);
  opacity: 0.85;
}

/* -------------------------------------------------------------
   Sections
   ------------------------------------------------------------- */
section {
  padding: 85px 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--cyan-neon);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 2.7rem);
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 14px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* -------------------------------------------------------------
   Highlights / Facts Cards
   ------------------------------------------------------------- */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.highlight-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.highlight-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 242, 254, 0.25);
}

.highlight-card.card-featured {
  border-color: rgba(168, 85, 247, 0.45);
  background: linear-gradient(180deg, rgba(28, 22, 48, 0.8) 0%, rgba(16, 17, 28, 0.75) 100%);
}

.highlight-card.card-featured:hover {
  border-color: var(--purple-neon);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(168, 85, 247, 0.3);
}

.card-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.card-icon-box img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.card-price-display {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}

.card-price-num {
  font-size: 2.3rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--cyan-neon);
}

.card-price-note {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.card-text {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 22px;
  flex-grow: 1;
}

/* -------------------------------------------------------------
   Custom Content & Download Documents Box
   ------------------------------------------------------------- */
.documents-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.documents-info h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.documents-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.documents-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.btn-download:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--cyan-neon);
  color: var(--cyan-neon);
  transform: translateY(-2px);
}

/* -------------------------------------------------------------
   Custom Page Content (WordPress Gutenberg Blocks)
   ------------------------------------------------------------- */
.custom-page-content {
  padding: 60px 0;
  position: relative;
  z-index: 5;
}

.entry-content {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 920px;
  margin: 0 auto;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  font-family: var(--font-heading);
  color: #ffffff;
  font-weight: 800;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  line-height: 1.3;
}

.entry-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  position: relative;
  padding-bottom: 12px;
}

.entry-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan-neon), var(--purple-neon));
  border-radius: var(--radius-full);
}

.entry-content h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
}

.entry-content p {
  margin-bottom: 1.4em;
}

.entry-content a {
  color: var(--cyan-neon);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.entry-content a:hover {
  color: #ffffff;
}

.entry-content ul,
.entry-content ol {
  margin: 1.2em 0 1.6em 1.5em;
}

.entry-content li {
  margin-bottom: 0.5em;
}

/* WordPress File Block (PDF Download) */
.wp-block-file {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin: 24px 0;
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  transition: var(--transition-smooth);
}

.wp-block-file:hover {
  border-color: var(--cyan-neon);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.22);
}

.wp-block-file a:not(.wp-block-file__button) {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.wp-block-file a:not(.wp-block-file__button)::before {
  content: '📄';
  font-size: 1.3rem;
}

.wp-block-file .wp-block-file__button {
  background: linear-gradient(135deg, var(--cyan-neon), var(--purple-neon));
  color: #000000 !important;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wp-block-file .wp-block-file__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.4);
}

/* WordPress Image and Gallery Blocks */
.wp-block-image,
.wp-block-gallery {
  margin: 28px 0;
}

.wp-block-image img,
.wp-block-gallery img {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  max-width: 100%;
  height: auto;
}

.wp-block-image figcaption,
.wp-block-gallery figcaption {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
}

/* WordPress Button Block */
.wp-block-buttons {
  margin: 24px 0;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: linear-gradient(135deg, var(--cyan-neon), var(--purple-neon));
  color: #000000 !important;
}

.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
}

.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  border: 1.5px solid var(--border-subtle);
  color: #ffffff !important;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  border-color: var(--cyan-neon);
  color: var(--cyan-neon) !important;
  transform: translateY(-2px);
}

/* WordPress Quote Block */
.wp-block-quote {
  border-left: 3px solid var(--cyan-neon);
  background: rgba(255, 255, 255, 0.03);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 28px 0;
  font-style: italic;
  color: #e2e8f0;
}

.wp-block-quote cite {
  display: block;
  font-style: normal;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 10px;
}

/* WordPress Table Block */
.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.wp-block-table th,
.wp-block-table td {
  padding: 12px 16px;
  border: 1px solid var(--border-subtle);
  text-align: left;
}

.wp-block-table th {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-family: var(--font-heading);
}

.wp-block-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* -------------------------------------------------------------
   About UNO Section
   ------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.about-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 28px 0;
}

.about-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
}

.about-media-box {
  position: relative;
}

.about-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
}

.floating-badge {
  position: absolute;
  bottom: -15px;
  right: -15px;
  background: rgba(12, 14, 24, 0.95);
  border: 1px solid var(--purple-neon);
  backdrop-filter: blur(12px);
  padding: 14px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(168, 85, 247, 0.35);
  text-align: center;
}

.floating-badge-val {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--purple-neon);
}

.floating-badge-lbl {
  font-size: 0.75rem;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* -------------------------------------------------------------
   Gallery Section
   ------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  aspect-ratio: 16 / 10;
  background: var(--bg-surface);
  transition: transform 0.2s ease, border-color 0.3s ease;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-card:hover {
  border-color: var(--border-glow);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 7, 10, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
}

.gallery-caption-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
}

/* -------------------------------------------------------------
   Location Section (Anfahrt)
   ------------------------------------------------------------- */
.location-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.location-info {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-details-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 24px 0 32px;
}

.loc-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.loc-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.location-map-wrap {
  position: relative;
  background: #0d0f17;
  border-left: 1px solid var(--border-subtle);
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.location-map-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.location-map-wrap:hover img {
  transform: scale(1.04);
}

.map-zoom-hint {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(10, 12, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
}

/* -------------------------------------------------------------
   FAQ Section
   ------------------------------------------------------------- */
.faq-search-wrap {
  position: relative;
  max-width: 620px;
  margin: 0 auto 24px;
}

.faq-search-input {
  width: 100%;
  padding: 16px 20px 16px 52px;
  background: rgba(18, 20, 32, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition-smooth);
}

.faq-search-input:focus {
  border-color: var(--cyan-neon);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.35);
  background: rgba(22, 26, 42, 0.95);
}

.faq-search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.faq-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.faq-filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 700;
}

.faq-filter-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.faq-filter-btn.active {
  background: linear-gradient(135deg, var(--cyan-neon), var(--purple-neon));
  color: #000000;
  border-color: transparent;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: blur(14px);
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.faq-item.open {
  border-color: var(--border-glow);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 16px rgba(0, 242, 254, 0.2);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: #ffffff;
}

.faq-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-neon);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: var(--cyan-neon);
  color: #000000;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 600px;
  padding: 0 24px 24px;
}

.faq-empty-state {
  display: none;
  text-align: center;
  padding: 40px 20px;
  color: var(--text-secondary);
}

/* -------------------------------------------------------------
   Sponsors Section (Dynamic Auto-Fit Grid & Optional Links)
   ------------------------------------------------------------- */
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-bottom: 38px;
}

/* Clean white cards ensure that logos with white backgrounds look seamless */
.sponsor-card {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.sponsor-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, var(--cyan-neon), var(--purple-neon));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sponsor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 242, 254, 0.28);
}

.sponsor-card:hover::after {
  opacity: 1;
}

.sponsor-card img {
  max-height: 66px;
  max-width: 88%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.sponsor-card:hover img {
  transform: scale(1.05);
}

.sponsor-link-indicator {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 0.75rem;
  color: #94a3b8;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.sponsor-card:hover .sponsor-link-indicator {
  opacity: 1;
  color: #0891b2;
}

/* Sponsor Callout Banner */
.sponsor-cta-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.sponsor-cta-banner h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.sponsor-cta-banner p {
  color: var(--text-secondary);
  margin-bottom: 22px;
}

/* -------------------------------------------------------------
   Contact Section
   ------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  backdrop-filter: blur(14px);
  transition: var(--transition-smooth);
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
}

.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--cyan-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.4rem;
}

.contact-card h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.contact-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.contact-link {
  color: var(--cyan-neon);
  font-weight: 700;
  display: inline-block;
  word-break: break-all;
}

.contact-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* -------------------------------------------------------------
   Footer
   ------------------------------------------------------------- */
.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border-subtle);
  background: #040508;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-credits {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-credits a {
  color: var(--text-secondary);
}

.footer-credits a:hover {
  color: var(--cyan-neon);
}

.footer-nav {
  display: flex;
  gap: 22px;
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-nav a:hover {
  color: #ffffff;
}

/* -------------------------------------------------------------
   Lightbox Modal
   ------------------------------------------------------------- */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg);
}

.lightbox-content {
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-top: 14px;
  text-align: center;
}

/* -------------------------------------------------------------
   Responsive Breakpoints
   ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .highlight-card:last-child {
    grid-column: span 2;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-media-box {
    max-width: 600px;
    margin: 0 auto;
  }

  .location-card {
    grid-template-columns: 1fr;
  }

  .location-map-wrap {
    height: 340px;
    border-left: none;
    border-top: 1px solid var(--border-subtle);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }

  .nav-menu-desktop {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content {
    margin-top: clamp(80px, 16vh, 130px);
  }

  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .highlight-card:last-child {
    grid-column: span 1;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .about-features-grid {
    grid-template-columns: 1fr;
  }

  .location-info {
    padding: 28px 20px;
  }

  .documents-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }
}
