:root {
  --bg-1: #081a4b;
  --bg-2: #113a88;
  --bg-3: #0a245f;
  --text: #f8fbff;
  --muted: #d6e3ff;
  --card: rgba(255, 255, 255, .13);
  --card-strong: rgba(255, 255, 255, .18);
  --line: rgba(255, 255, 255, .24);
  --gold: #ffcc1a;
  --gold-soft: #ffd84f;
  --blue: #2349b8;
  --blue-soft: #6aa4ff;
  --cyan: #9fd6ff;
  --shadow: 0 24px 80px rgba(0,0,0,.34);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 14% 16%, rgba(255,204,26,.22), transparent 24rem),
    radial-gradient(circle at 84% 12%, rgba(106,164,255,.22), transparent 28rem),
    radial-gradient(circle at 50% 100%, rgba(255,216,79,.14), transparent 26rem),
    linear-gradient(135deg, var(--bg-1), var(--bg-2) 48%, var(--bg-3));
  overflow-x: hidden;
}

body::before, body::after {
  content: "";
  position: fixed;
  inset: auto;
  z-index: -2;
}
body::before {
  width: 28rem;
  height: 28rem;
  right: -7rem;
  top: 10%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255,204,26,.34) 0%, rgba(255,216,79,.16) 38%, rgba(35,73,184,.18) 58%, transparent 74%);
  filter: blur(18px);
  opacity: .9;
  animation: floatHalo 14s ease-in-out infinite;
}
body::after {
  width: clamp(13rem, 24vw, 21rem);
  aspect-ratio: 1 / 1;
  right: clamp(-3rem, 3vw, 2rem);
  top: 18%;
  border-radius: 50%;
  background: url('../images/volleyball-ball.png') center/contain no-repeat;
  filter: drop-shadow(0 18px 42px rgba(0,0,0,.30));
  opacity: .88;
  animation: floatBall 18s ease-in-out infinite;
  transform-origin: center;
}

@keyframes floatHalo {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(-1rem,1.2rem,0) scale(1.06); }
}
@keyframes floatBall {
  0% { transform: translate3d(var(--ball-shift-x, 0px), var(--ball-shift-y, 0px), 0) rotate(0deg) scale(1); }
  25% { transform: translate3d(calc(var(--ball-shift-x, 0px) - 0.8rem), calc(var(--ball-shift-y, 0px) - 1rem), 0) rotate(6deg) scale(1.03); }
  50% { transform: translate3d(calc(var(--ball-shift-x, 0px) - 1.6rem), calc(var(--ball-shift-y, 0px) + 1rem), 0) rotate(12deg) scale(1.06); }
  75% { transform: translate3d(calc(var(--ball-shift-x, 0px) - 0.6rem), calc(var(--ball-shift-y, 0px) + 1.5rem), 0) rotate(6deg) scale(1.02); }
  100% { transform: translate3d(var(--ball-shift-x, 0px), var(--ball-shift-y, 0px), 0) rotate(0deg) scale(1); }
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(22px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes shimmer {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(255,204,26,0); }
  50% { box-shadow: 0 0 46px rgba(255,204,26,.24); }
}

a { color: inherit; }
.page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}
.topbar {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  margin-bottom: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 26, 75, .62);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px rgba(0,0,0,.22);
  animation: riseIn .7s ease both;
}
.logo { display: none; }

.mini-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,216,79,.20), rgba(255,255,255,.09));
  color: rgba(255,255,255,.88);
  text-decoration: none;
  font-weight: 1000;
  font-size: .86rem;
  letter-spacing: -.04em;
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

.mini-logo:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.30);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,216,79,.22), rgba(255,255,255,.10));
  color: white;
  cursor: pointer;
  font: inherit;
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.menu-icon {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 20px;
}

.menu-icon span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .22s ease, opacity .22s ease;
}

.menu-toggle.is-open .menu-icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open .menu-icon span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open .menu-icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a, .social a, .lang a, .pill-link {
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--muted);
  transition: transform .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
}
.nav a:hover, .social a:hover, .lang a:hover, .pill-link:hover {
  transform: translateY(-2px);
  color: white;
  border-color: var(--line);
  background: rgba(255,255,255,.12);
}
.lang img { width: 26px; height: 20px; border-radius: 6px; vertical-align: middle; }
.lang a { display: inline-flex; align-items: center; gap: 8px; }
.lang span { display: none; }
.hero {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 34px;
  align-items: center;
  min-height: calc(100vh - 170px);
}
.hero-copy { animation: riseIn .8s .05s ease both; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: white;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(14px);
  font-weight: 700;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 24px rgba(255,204,26,.78); }
h1 {
  margin: 20px 0 14px;
  font-size: clamp(3rem, 9vw, 7.6rem);
  line-height: .9;
  letter-spacing: -.08em;
}
.gradient-text {
  background: linear-gradient(90deg, #ffffff, var(--gold-soft), var(--gold), var(--blue-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  max-width: 68ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.65;
}
.quote-card {
  position: relative;
  overflow: hidden;
  margin: 24px 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.07));
  box-shadow: var(--shadow);
}
.quote-card::before, .tile::before, .glass::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.18), transparent);
  transform: translateX(-120%);
  animation: shimmer 4.8s ease-in-out infinite;
  pointer-events: none;
}
.quote { font-size: clamp(1.35rem, 3vw, 2.1rem); line-height: 1.24; font-weight: 900; letter-spacing: -.03em; }
.quote small { display: block; margin-top: 12px; color: var(--muted); font-size: .95rem; font-weight: 700; letter-spacing: 0; }
.actions { display:flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 999px;
  color: #0b1a3c;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 14px 38px rgba(255,204,26,.26);
  transition: transform .22s ease, filter .22s ease;
}
.button.secondary { background: rgba(255,255,255,.12); color: white; border: 1px solid var(--line); box-shadow: none; }
.button:hover { transform: translateY(-3px) scale(1.02); filter: brightness(1.08); }
.hero-visual { animation: riseIn .8s .14s ease both; }
.mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 18px;
  align-items: stretch;
}
.tile {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--card);
  box-shadow: var(--shadow);
  text-decoration: none;
  isolation: isolate;
  transform: translateZ(0);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.tile:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,.52);
  box-shadow: 0 30px 64px rgba(0,0,0,.26);
}
.tile img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: saturate(1.16) contrast(1.04);
  transform: scale(1.04);
  transition: transform .5s ease, filter .5s ease;
}
.tile:hover img { transform: scale(1.10); filter: saturate(1.30) contrast(1.08); }
.tile::after {
  content:"";
  position:absolute; inset:0;
  z-index:-1;
  background: linear-gradient(180deg, rgba(15,23,42,.08), rgba(15,23,42,.84));
}
.tile-content {
  position: absolute;
  inset: auto 18px 18px 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
}
.tile-title {
  display: inline-block;
  max-width: 10ch;
  font-size: clamp(1.3rem, 2vw, 1.85rem);
  line-height: 1.08;
  font-weight: 1000;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.tile-kicker { display: none; }
.arrow {
  display: grid;
  place-items:center;
  min-width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  flex: 0 0 auto;
}
.social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.social a { background: rgba(255,255,255,.08); }

.section { padding: 36px 0; }
.page-hero {
  display: grid;
  grid-template-columns: 1fr .56fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
  animation: riseIn .75s ease both;
}
.glass, .content-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.07));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}
.glass { padding: clamp(24px, 5vw, 46px); }
.page-title { font-size: clamp(2.6rem, 7vw, 5.4rem); }
.hero-image { min-height: 340px; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; display:block; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.content-card { padding: 24px; animation: riseIn .7s ease both; }
.content-card:nth-child(2) { animation-delay: .05s; }
.content-card:nth-child(3) { animation-delay: .1s; }
.content-card h2, .content-card h3 { margin: 0 0 14px; letter-spacing: -.04em; }
.content-card p, .content-card li { color: var(--muted); line-height: 1.72; font-size: 1.02rem; }
.content-card strong { color: white; }
.clean-list { list-style: none; padding: 0; margin: 0; }
.clean-list li {
  position: relative;
  padding: 12px 0 12px 34px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.clean-list li:last-child { border-bottom: 0; }
.clean-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold);
  text-shadow: 0 0 18px rgba(255,204,26,.45);
}
.link-list a { text-decoration: none; border-bottom: 1px solid rgba(255,204,26,.55); }
.link-list a:hover { color: var(--gold); }
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.stat {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.09);
}
.stat b { display:block; font-size: 1.6rem; }
.stat span { color: var(--muted); font-size: .92rem; }
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-top: 32px;
  color: rgba(255,255,255,.78);
  font-size: .95rem;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
}
.footer-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}
.footer-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.footer-icon:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.32);
}
.footer-legal {
  font-weight: 1000;
  font-size: 1.08rem;
  line-height: 1;
}
.footer-bottom {
  text-align: center;
  color: rgba(255,255,255,.72);
}

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.contact-line { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.imprint { max-width: 920px; margin: 0 auto; }
.imprint p { color: var(--muted); line-height: 1.7; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 26px; }
  .hero-visual { order: 2; }
  .hero-copy { order: 1; }
  .mosaic { margin-top: 6px; }
}
@media (max-width: 860px) {
  body::after { width: clamp(9rem, 32vw, 14rem); top: 12%; right: -2.6rem; opacity: .72; }
  body::before { width: 18rem; height: 18rem; right: -4rem; }
  .page { width: min(100% - 22px, 1180px); padding-top: 8px; }

  .topbar {
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-left: 0;
    margin-bottom: 26px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
  }

  .menu-toggle { display: inline-flex; }
  .mini-logo { display: inline-flex; }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(84vw, 320px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background:
      linear-gradient(135deg, rgba(8,26,75,.96), rgba(17,58,136,.94));
    backdrop-filter: blur(22px);
    box-shadow: 0 20px 58px rgba(0,0,0,.34);
    opacity: 0;
    transform: translateY(-8px) scale(.98);
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
  }

  .nav.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav a, .lang a {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    border-color: rgba(255,255,255,.16);
    background: rgba(255,255,255,.08);
    font-weight: 850;
    padding: 11px 14px;
  }

  .nav a::after {
    content: "→";
    opacity: .7;
  }

  .lang a::after { content: ""; }
  .lang span { display: inline; }
  .lang img { width: 30px; height: 22px; }

  .page-hero, .content-grid { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .tile { min-height: 220px; }
  .stats { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .page { width: min(100% - 18px, 1180px); }
  .hero { gap: 20px; }
  h1 { font-size: clamp(2.75rem, 15vw, 4.6rem); }
  .lead { font-size: 1rem; }
  .quote-card { padding: 18px; }
  .mosaic { grid-template-columns: 1fr; }
  .tile { min-height: 230px; }
  .tile-title { max-width: 12ch; font-size: 1.5rem; }
  .hero-image { min-height: 250px; }
}

@media (max-width: 480px) {
  body::after { width: 7.8rem; top: 9%; right: -1.8rem; opacity: .64; }
  .mini-logo,
  .menu-toggle {
    width: 42px;
    height: 42px;
    padding: 0;
  }
  .actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .social { gap: 10px; }
  .social a { flex: 1 1 calc(50% - 10px); text-align: center; }
  .tile { min-height: 210px; }
  .tile-content { inset: auto 14px 14px 14px; }
}
  .actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .social { gap: 10px; }
  .social a { flex: 1 1 calc(50% - 10px); text-align: center; }
  .tile { min-height: 210px; }
  .tile-content { inset: auto 14px 14px 14px; }
}



/* Mobile navigation refinement */
@media (max-width: 860px) {
  .topbar {
    position: sticky;
    top: 10px;
    align-items: center;
    border-radius: 24px;
    padding: 10px;
    margin-bottom: 30px;
  }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(8, 26, 75, .94);
    backdrop-filter: blur(20px);
    box-shadow: 0 18px 48px rgba(0,0,0,.28);
    opacity: 0;
    transform: translateY(-10px) scale(.98);
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
  }
  .nav.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
  .nav a, .lang a {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    border-color: rgba(255,255,255,.16);
    background: rgba(255,255,255,.08);
    font-weight: 850;
  }
  .lang img { width: 30px; height: 22px; }
}
@media (max-width: 480px) {
  .topbar { border-radius: 20px; }
  .logo-mark { width: 40px; height: 40px; }
  .menu-toggle { width: 44px; height: 40px; }
}

.menu-label { display: none !important; }

@media (max-width: 480px) {
  .footer-top { gap: 10px; }
  .footer-icon { width: 38px; height: 38px; }
}


/* iPad/Tablet robustness fixes */
.mini-logo {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  min-height: 46px !important;
  padding: 0 !important;
  border: 1px solid var(--line) !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, rgba(255,216,79,.20), rgba(255,255,255,.09)) !important;
  color: rgba(255,255,255,.88) !important;
  text-decoration: none !important;
  font-weight: 1000 !important;
  font-size: .86rem !important;
  letter-spacing: -.04em !important;
  line-height: 1 !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(0,0,0,.18) !important;
}

/* Footer icons: keep them centered and horizontal on tablet/mobile. */
.footer {
  align-items: center !important;
  text-align: center !important;
}

.footer-top {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  gap: 12px !important;
}

.footer-icon {
  flex: 0 0 auto !important;
}

/* Tablet layout: icon left, hamburger right, footer centered. */
@media (max-width: 1024px) {
  .topbar {
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
  }

  .mini-logo,
  .menu-toggle {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }

  .footer-top {
    justify-content: center !important;
  }
}

@media (max-width: 480px) {
  .mini-logo,
  .menu-toggle {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
  }

  .footer-top {
    gap: 10px !important;
  }
}
