/* Unua — Bouldering Luzern */
/* Dark Bento · Lime/Coral · Animated icons · Fun details */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Syne:wght@700;800&display=swap');

:root {
  --lime: #C8FF00;
  --coral: #FF6B4A;
  --blue: #7EB8DA;
  --dark: #0f0f0f;
  --dark2: #1a1a1a;
  --white: #ffffff;
  --r: 22px;
  --gap: 12px;
  --font: 'Space Grotesk', sans-serif;
  --display: 'Syne', sans-serif;
}

.hide-mobile { display: none; }
@media(min-width:768px){ .hide-mobile { display: block; } }

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--dark);
  color: #fff;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15,15,15,0.85);
  backdrop-filter: blur(20px);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.nav-logo {
  font-family: var(--display); font-weight: 800; font-size: 1.4rem; color: #fff;
  display: flex; align-items: center; gap: 6px;
}
.nav-logo-icon { width: 24px; height: 24px; filter: invert(1); }
.nav-links { display: none; list-style: none; gap: 22px; align-items: center; }
.nav-links a { font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.4); transition: color .2s; }
.nav-links a:hover { color: var(--lime); }
.nav-cta { background: var(--lime)!important; color: var(--dark)!important; padding: 7px 18px; border-radius: 50px; font-weight: 700!important; }
.nav-mobile-toggle { background: none; border: 1px solid rgba(255,255,255,.15); border-radius: 8px; padding: 5px 9px; font-size: 1.1rem; cursor: pointer; color: #fff; }
@media(min-width:768px){ .nav-links{display:flex} .nav-mobile-toggle{display:none} }
.nav-links.open { display: flex; flex-direction: column; position: absolute; top: 56px; left: 0; right: 0; background: var(--dark); padding: 20px; gap: 14px; }

/* ═══════════════ GRID ═══════════════ */
.cluster { display: grid; gap: var(--gap); }

/* ═══════════════ CARDS ═══════════════ */
.c {
  border-radius: var(--r);
  padding: 28px;
  position: relative;
  overflow: hidden;
  /* bounce in */
  opacity: 0;
  animation: bounceIn .6s cubic-bezier(.22,.68,.36,1.2) forwards;
  transition: transform .3s cubic-bezier(.22,.68,.36,1.2);
}
.c:hover { transform: scale(1.02); }
.c:nth-child(1){animation-delay:.05s}.c:nth-child(2){animation-delay:.1s}.c:nth-child(3){animation-delay:.15s}.c:nth-child(4){animation-delay:.2s}.c:nth-child(5){animation-delay:.25s}.c:nth-child(6){animation-delay:.3s}

.c--dark { background: var(--dark2); color: #fff; }
.c--lime { background: var(--lime); color: var(--dark); }
.c--coral { background: var(--coral); color: #fff; }
.c--blue { background: var(--blue); color: var(--dark); }
.c--white { background: var(--white); color: var(--dark); }

/* ═══════════════ PHOTO IN CARD ═══════════════ */
.c-photo {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 12px;
}
.c-photo img {
  width: 100%; display: block; object-fit: cover;
  aspect-ratio: 4/3;
}
.c-photo--tall img { aspect-ratio: 3/4; }
.photo-caption {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; opacity: .4; margin-top: 8px;
}

/* ═══════════════ ICON CYCLER ═══════════════ */
/* Big icon fills entire card, crossfades to next icon */
.icon-cycler {
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  min-height: 160px;
}
.icon-cycler .ic {
  position: absolute;
  font-size: 6rem;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity .5s, transform .5s;
}
.icon-cycler .ic.active {
  opacity: 1;
  transform: scale(1);
}

/* ═══════════════ ANIMATIONS ═══════════════ */
@keyframes bounceIn {
  0% { opacity:0; transform: translateY(40px) scale(.95); }
  60% { transform: translateY(-6px) scale(1.02); }
  100% { opacity:1; transform: translateY(0) scale(1); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.06)} }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes wiggle { 0%,100%{transform:rotate(0)} 25%{transform:rotate(-2deg)} 75%{transform:rotate(2deg)} }
@keyframes marquee { to { transform: translateX(-50%); } }

.icon-spin { display:inline-block; animation: spin 8s linear infinite; }
.icon-spin--fast { animation-duration:3s; }
.anim-pulse { animation: pulse 3s ease-in-out infinite; }
.anim-float { animation: float 4s ease-in-out infinite; }
.anim-wiggle { animation: wiggle 4s ease-in-out infinite; }

/* Counter */
.counter {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.6rem,4vw,2.5rem);
  line-height: 1; display: inline-block;
  white-space: nowrap;
}
.counter-unit { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem,4vw,2.5rem); }
.counter-label {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .12em;
  opacity: .5; margin-top: 4px;
}

/* Marquee */
.marquee-wrap { overflow: hidden; white-space: nowrap; }
.marquee-text {
  display: flex; width: max-content;
  animation: marquee 20s linear infinite;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.4rem,3.5vw,2rem);
}
.marquee-text span { flex-shrink:0; padding:0 14px; }

/* ═══════════════ TYPOGRAPHY ═══════════════ */
.tag {
  display: inline-block; padding: 4px 12px; border-radius: 50px;
  font-weight: 700; font-size: .6rem; text-transform: uppercase;
  letter-spacing: .14em; margin-bottom: 14px;
}
.tag--lime { background: var(--lime); color: var(--dark); }
.tag--coral { background: var(--coral); color: #fff; }

.c h2, .c h3 { font-family: var(--display); font-weight: 800; line-height: 1.08; margin-bottom: 10px; }
.c h2 { font-size: clamp(1.6rem,4vw,2.4rem); letter-spacing: -.02em; }
.c h3 { font-size: 1.15rem; }
.c p { font-size: .85rem; opacity: .55; line-height: 1.5; }
.c--lime p, .c--coral p { opacity: .7; }

.stat-center { display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:36px; }

.c--offer { display:flex; flex-direction:column; justify-content:center; }
.c--offer-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  min-height: 280px;
}
.offer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}
.offer-overlay--coral {
  background: rgba(255,107,74,0.7);
}
.offer-overlay--lime {
  background: rgba(200,255,0,0.7);
}
.offer-content {
  position: relative;
  z-index: 2;
}
.offer-n {
  font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 8vw, 4.5rem);
  color: #fff; line-height: 1; margin-bottom: 8px;
}
.c--coral .offer-n { color: #fff; }
.c--lime .offer-n { color: var(--dark); }
.c--white .offer-n { color: var(--dark); }

.fun-txt { font-family: var(--display); font-weight: 800; font-size: 1.2rem; line-height: 1.25; opacity:1!important; }
.fun-sub { font-size:.78rem!important; margin-top:6px; opacity:.5!important; }

.rev-stars { color: var(--coral); font-size:.9rem; letter-spacing:2px; margin-bottom:10px; }
.c--dark .rev-stars { color: var(--lime); }
.c--rev blockquote { font-size:.88rem; line-height:1.55; margin-bottom:12px; font-style:normal; opacity:.65; }
.c--rev cite { font-style:normal; font-weight:700; font-size:.75rem; opacity:.3; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--lime); color: var(--dark); padding: 14px 30px;
  border-radius: 50px; font-weight: 700; font-size: .88rem;
  transition: transform .2s, box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,255,0,.2); }

/* Prices */
.c--visit-prices h4 { font-family: var(--display); font-weight: 800; font-size: 1rem; margin-bottom: 14px; }
.pr { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: .88rem; }
.pr:last-child { border: none; }
.pr--s { font-size: .8rem; opacity: .35; padding: 6px 0; }
.pr strong { font-family: var(--display); font-weight: 700; }
.c--white .pr { border-color: rgba(0,0,0,.06); }

/* Contact */
.c--visit-info h3 { font-size: 1.2rem; margin-bottom: 2px; }
.addr { opacity:.4; margin-bottom:14px; }
.hours { font-weight:600; font-size:.85rem; margin-bottom:14px; opacity:.55; }
.contact { display:flex; flex-direction:column; gap:4px; }
.contact a { color: var(--coral); font-weight:600; font-size:.85rem; }
.c--dark .contact a { color: var(--lime); }


/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
.section { padding: 10px 0; }
.section--hero { padding-top: 80px; }

.cluster--hero { grid-template-columns: 1fr 1fr; }
.c--hero-visual { grid-column: 1; grid-row: 2/4; min-height: 350px; }
.c--hero-stat { grid-column: 2; grid-row: 2; aspect-ratio: 1; }
.c--hero-icons { grid-column: 2; grid-row: 3; aspect-ratio: 1; }

.c--hero-main { grid-column: 1/-1; padding: 44px 32px; }
.c--hero-main h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(3rem,10vw,5.5rem); line-height: .88;
  letter-spacing: -.04em; margin-bottom: 16px;
}
.hi { color: var(--lime); }
.c--hero-main p { max-width: 380px; margin-bottom: 24px; }

@media(min-width:768px){
  .cluster--hero {
    grid-template-columns: 1.2fr .5fr .5fr;
    grid-template-rows: 1fr auto;
  }
  .c--hero-main { grid-column:1; grid-row:1/3; padding:60px 50px; }
  .c--hero-visual { grid-column:2; grid-row:1/3; }
  .c--hero-stat { grid-column:3; grid-row:1; }
  .c--hero-icons { grid-column:3; grid-row:2; }
}

/* ═══════════════════════════════════════════════
   FUN ROW — mixed witty cards
   ═══════════════════════════════════════════════ */
.cluster--fun {
  grid-template-columns: repeat(2, 1fr);
}
.cluster--fun .c--lime {
  background: var(--dark2);
  color: #fff;
}
.cluster--fun .c--lime .typer-prefix,
.cluster--fun .c--lime .fun-sub,
.cluster--fun .c--lime .fun-txt {
  color: #fff !important;
}
.cluster--fun .c--coral {
  background: var(--dark2);
  color: #fff;
}
@media(min-width:768px){
  .cluster--fun { grid-template-columns: repeat(4, 1fr); }
  .cluster--fun .c--lime {
    background: var(--lime);
    color: var(--dark);
  }
  .cluster--fun .c--lime .typer-prefix,
  .cluster--fun .c--lime .fun-sub,
  .cluster--fun .c--lime .fun-txt {
    color: var(--dark) !important;
  }
  .cluster--fun .c--coral {
    background: var(--coral);
    color: #fff;
  }
}

/* Muskelkater meter */
.c--meter { display:flex; flex-direction:column; justify-content:center; gap:8px; }
.meter-label { font-family:var(--display); font-weight:800; font-size:.85rem; }
.meter-bar {
  width:100%; height:14px; background:rgba(255,255,255,.2);
  border-radius:50px; overflow:hidden;
}
.meter-fill {
  width:0; height:100%; background:#fff;
  border-radius:50px;
  transition: width 3s cubic-bezier(.12,.6,.28,1);
}
.meter-value { font-family:var(--display); font-weight:800; font-size:1.8rem; line-height:1; }
.meter-sub { font-size:.7rem; opacity:.6; }

/* Typing quote rotator */
.c--quote-typer {
  display:flex; flex-direction:column; justify-content:center; gap:6px;
  min-height:160px;
}
.typer-prefix {
  font-size:.7rem; font-weight:700; text-transform:uppercase;
  letter-spacing:.1em; opacity:.5;
}
.typer-line { display:flex; align-items:baseline; }
.typer-text {
  font-family:var(--display); font-weight:700; font-size:1rem; line-height:1.3;
}
.typer-cursor {
  font-weight:300; font-size:1.2rem; animation: blink .8s step-end infinite;
  margin-left:2px;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* Hover reveal card */
.c--hover-reveal {
  display:flex; align-items:center; justify-content:center;
  min-height:160px; cursor:pointer;
}
.reveal-front, .reveal-back {
  display:flex; flex-direction:column; align-items:center;
  justify-content:center; text-align:center;
  transition: opacity .4s, transform .4s;
}
.reveal-back {
  position:absolute; opacity:0; transform:scale(.8);
}
.c--hover-reveal:hover .reveal-front { opacity:0; transform:scale(.8); }
.c--hover-reveal:hover .reveal-back { opacity:1; transform:scale(1); }

/* ═══════════════════════════════════════════════
   OFFERS
   ═══════════════════════════════════════════════ */
.cluster--offers { grid-template-columns: 1fr 1fr; }
.c--offers-title { grid-column: 1/-1; padding: 36px 30px; }
@media(min-width:768px){
  .cluster--offers { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; }
  .c--offers-title { grid-column:1; grid-row:1/3; display:flex; flex-direction:column; justify-content:center; padding:40px; }
}

/* ═══════════════════════════════════════════════
   STORY
   ═══════════════════════════════════════════════ */
.cluster--story { grid-template-columns: 1fr; }
@media(min-width:768px){
  .cluster--story { grid-template-columns: 1.2fr .8fr; grid-template-rows: auto auto; }
  .c--story-main { grid-column:1; grid-row:1/3; }
  .c--story-text { grid-column:2; grid-row:1; }
  .c--story-quote { grid-column:2; grid-row:2; }
}
.c--story-quote blockquote {
  font-family: var(--display); font-weight: 700;
  font-size: .95rem; line-height: 1.4; font-style: normal;
}

/* ═══════════════════════════════════════════════
   REVIEWS
   ═══════════════════════════════════════════════ */
.rev-header-row { margin-bottom: 24px; }
.rev-header-row h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem,4vw,2.2rem); margin: 8px 0; }
.rev-rating { display: flex; align-items: center; gap: 8px; }
.cluster--reviews { grid-template-columns: 1fr 1fr; }
@media(min-width:768px){
  .cluster--reviews { grid-template-columns: repeat(4, 1fr); }
}

/* ═══════════════════════════════════════════════
   GALLERY
   ═══════════════════════════════════════════════ */
.gallery-strip { padding:14px 0; overflow:hidden; }
.gallery-track {
  display:flex; width:max-content; gap:10px;
  animation: marquee 35s linear infinite;
}
.gallery-track img {
  width:200px; height:200px; object-fit:cover;
  border-radius: var(--r); flex-shrink:0;
}
@media(min-width:768px){ .gallery-track img { width:260px; height:260px; } }

/* ═══════════════════════════════════════════════
   VISIT
   ═══════════════════════════════════════════════ */
.cluster--visit { grid-template-columns: 1fr; }
.c--visit-cta { padding:44px 32px; }
.c--visit-cta h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.6rem,4vw,2.4rem); line-height: 1.05;
  margin-bottom: 10px;
}
@media(min-width:768px){
  .cluster--visit { grid-template-columns: repeat(3, 1fr); }
  .c--visit-cta { grid-column:1/-1; padding:50px; }
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.footer {
  margin-top:24px; background:var(--dark2); color:#fff;
  border-radius: var(--r) var(--r) 0 0; padding:40px 0 16px;
}
.f-top { margin-bottom:32px; }
.f-logo { font-family:var(--display); font-weight:800; font-size:1.8rem; display:block; margin-bottom:6px; }
.f-top p { font-size:.8rem; opacity:.25; line-height:1.5; }
.f-grid { display:grid; grid-template-columns:1fr 1fr auto; gap:24px; margin-bottom:32px; }
@media(max-width:640px){ .f-grid { grid-template-columns:1fr 1fr; } }
.f-links { list-style:none; }
.f-links li { margin-bottom:5px; }
.f-links a { font-size:.82rem; opacity:.3; transition:opacity .2s; }
.f-links a:hover { opacity:.8; }
.f-social { display:flex; gap:6px; }
.f-social a {
  width:32px; height:32px; border-radius:50%;
  border:1px solid rgba(255,255,255,.1);
  display:flex; align-items:center; justify-content:center;
  font-size:.68rem; font-weight:700;
  transition: background .3s, border-color .3s;
}
.f-social a:hover { background:var(--lime); border-color:var(--lime); color:var(--dark); }
.f-bottom {
  border-top:1px solid rgba(255,255,255,.05);
  padding-top:12px; display:flex; justify-content:space-between;
  font-size:.7rem; opacity:.2; flex-wrap:wrap; gap:6px;
}
.f-bottom a { color:var(--lime); opacity:1; }
