/* ============================================================
   GYM Q — Website-Konzept · Design System
   Brand: derived from logo (Ink / Slate / Yellow)
   ============================================================ */

:root {
  --ink:        #0F161D;   /* deepest background (never pure black) */
  --slate:      #18222C;   /* primary dark surface */
  --slate-2:    #24303B;   /* raised surface (from logo circle) */
  --slate-3:    #2F3E4A;   /* borders / lines */
  --yellow:     #F3E114;   /* brand accent (from logo) */
  --yellow-2:   #FFEC3D;   /* hover/lighter */
  --white:      #FFFFFF;
  --text:       #E7ECF0;   /* body text on dark */
  --muted:      #93A1AD;   /* secondary text */
  --line:       rgba(255,255,255,.10);

  --maxw: 1200px;
  --radius: 14px;
  --radius-lg: 22px;

  --ff-display: "Anton", "Arial Narrow", sans-serif;
  --ff-cond:    "Barlow Condensed", sans-serif;
  --ff-body:    "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--ff-display); font-weight: 400; line-height: .98; letter-spacing: .01em; text-transform: uppercase; color: var(--white); }
.display { font-size: clamp(48px, 7.4vw, 104px); }
h2.section-title { font-size: clamp(34px, 4.6vw, 64px); }
h3 { font-size: clamp(22px, 2.4vw, 30px); }
.accent { color: var(--yellow); }

.kicker {
  font-family: var(--ff-cond);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-weight: 600;
  font-size: 15px;
  color: var(--yellow);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.kicker::before { content: ""; width: 34px; height: 2px; background: var(--yellow); display: inline-block; }
.kicker.center::after { content: ""; width: 34px; height: 2px; background: var(--yellow); display: inline-block; }
.kicker.center { justify-content: center; }

p.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--text); max-width: 60ch; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-cond); font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; font-size: 17px;
  padding: 16px 30px; border-radius: 8px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: .2s;
}
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { background: var(--yellow-2); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-sm { padding: 11px 20px; font-size: 14px; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15,22,29,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 42px; height: 42px; }
.brand .word { font-family: var(--ff-display); color: var(--white); font-size: 26px; letter-spacing: .02em; }
.brand .word b { color: var(--yellow); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .06em;
  font-weight: 600; font-size: 15.5px; color: var(--text); text-decoration: none; transition: .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--yellow); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.burger span { width: 26px; height: 2.5px; background: var(--white); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; }
.hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero .bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(15,22,29,.94) 0%, rgba(15,22,29,.72) 42%, rgba(15,22,29,.30) 100%);
}
.hero .wrap { position: relative; padding-top: 70px; padding-bottom: 70px; }
.hero-content { max-width: 760px; }
.hero h1 { margin: 22px 0 18px; }
.hero p.lead { margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* hero stats bar */
.statbar { display: flex; gap: 0; margin-top: 56px; border-top: 1px solid var(--line); }
.statbar .stat { padding: 24px 38px 0 0; margin-right: 38px; border-right: 1px solid var(--line); }
.statbar .stat:last-child { border-right: 0; }
.statbar .num { font-family: var(--ff-display); font-size: 44px; color: var(--yellow); line-height: 1; }
.statbar .lbl { font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .12em; font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
section.tight { padding: 70px 0; }
.bg-slate { background: var(--slate); }
.bg-ink { background: var(--ink); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin: 16px 0 14px; }

/* ---------- Feature / area cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.area-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; }
.area-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.area-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,22,29,.95) 8%, rgba(15,22,29,.15) 75%); }
.area-card .body { position: relative; padding: 30px; }
.area-card .tag { font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .14em; font-weight: 600; font-size: 13px; color: var(--yellow); }
.area-card h3 { margin: 8px 0 10px; }
.area-card p { color: var(--muted); margin-bottom: 16px; }
.area-card .more { font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--white); text-decoration: none; font-size: 14px; }
.area-card .more span { color: var(--yellow); }

.feature { background: var(--slate-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.feature .ico { width: 52px; height: 52px; border-radius: 12px; background: rgba(243,225,20,.12); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--yellow); }
.feature h3 { font-size: 22px; margin-bottom: 10px; }
.feature p { color: var(--muted); }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.rev .txt { order: 2; }
.split .media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3.2; }
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.split .txt h2 { margin: 16px 0 18px; }
.split .txt p { color: var(--muted); margin-bottom: 16px; }
.checklist { list-style: none; margin-top: 22px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before { content: "✓"; color: var(--ink); background: var(--yellow); width: 24px; height: 24px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; flex: none; margin-top: 2px; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; align-items: stretch; }
.price-card { background: var(--slate-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px 32px; display: flex; flex-direction: column; }
.price-card.featured { background: linear-gradient(180deg, #20303a, #18222c); border-color: var(--yellow); position: relative; }
.price-card.featured .ribbon { position: absolute; top: 22px; right: 22px; background: var(--yellow); color: var(--ink); font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; font-size: 12px; padding: 6px 12px; border-radius: 6px; }
.price-card .name { font-family: var(--ff-display); text-transform: uppercase; font-size: 26px; color: var(--white); }
.price-card .desc { color: var(--muted); font-size: 15px; margin: 6px 0 22px; min-height: 44px; }
.price-card .price { font-family: var(--ff-display); font-size: 62px; color: var(--yellow); line-height: 1; }
.price-card .price small { font-family: var(--ff-body); font-size: 16px; color: var(--muted); font-weight: 500; }
.price-card .per { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.price-card ul { list-style: none; display: grid; gap: 13px; margin-bottom: 30px; }
.price-card ul li { display: flex; gap: 10px; font-size: 15px; color: var(--text); }
.price-card ul li::before { content: "✓"; color: var(--yellow); font-weight: 800; }
.price-card .btn { width: 100%; justify-content: center; margin-top: auto; }

/* ---------- Hyrox stations ---------- */
.stations { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.station { background: var(--slate-2); border: 1px solid var(--line); border-radius: 12px; padding: 24px 22px; position: relative; overflow: hidden; }
.station .n { font-family: var(--ff-display); font-size: 40px; color: rgba(243,225,20,.22); line-height: 1; }
.station h4 { font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .04em; font-weight: 700; font-size: 19px; color: var(--white); margin: 6px 0 6px; }
.station p { color: var(--muted); font-size: 14px; }

/* ---------- Equipment list ---------- */
.equip-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.equip { text-align: left; }
.equip .pic { border-radius: 14px; overflow: hidden; aspect-ratio: 1/1; margin-bottom: 16px; }
.equip .pic img { width: 100%; height: 100%; object-fit: cover; }
.equip h4 { font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; font-size: 19px; color: var(--white); }
.equip p { color: var(--muted); font-size: 14px; }

/* logos / brand strip */
.brandstrip { display: flex; gap: 46px; flex-wrap: wrap; align-items: center; justify-content: center; opacity: .75; }
.brandstrip span { font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .14em; font-weight: 600; color: var(--muted); font-size: 18px; }

/* quote / community */
.quote { text-align: center; max-width: 880px; margin: 0 auto; }
.quote p { font-family: var(--ff-display); text-transform: uppercase; font-size: clamp(28px,3.4vw,46px); color: var(--white); line-height: 1.08; }
.quote .by { font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .16em; color: var(--yellow); margin-top: 22px; font-weight: 600; }

/* CTA band */
.cta-band { background: var(--yellow); color: var(--ink); border-radius: var(--radius-lg); padding: 60px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: var(--ink); font-size: clamp(30px,3.6vw,52px); }
.cta-band p { color: rgba(15,22,29,.78); font-weight: 500; margin-top: 8px; }
.cta-band .btn-dark { background: var(--ink); color: var(--white); }
.cta-band .btn-dark:hover { background: var(--slate); }

/* ---------- Footer ---------- */
.footer { background: var(--slate); border-top: 1px solid var(--line); padding: 70px 0 36px; }
.footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { margin-bottom: 18px; }
.footer p.about { color: var(--muted); font-size: 15px; max-width: 34ch; }
.footer h5 { font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .12em; color: var(--white); font-size: 15px; margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 11px; }
.footer ul a { color: var(--muted); text-decoration: none; font-size: 15px; }
.footer ul a:hover { color: var(--yellow); }
.footer .bottom { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; color: var(--muted); font-size: 13.5px; flex-wrap: wrap; gap: 10px; }

/* ---------- Page intro (sub pages) ---------- */
.page-hero { position: relative; min-height: 56vh; display: flex; align-items: flex-end; overflow: hidden; }
.page-hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,22,29,.96) 4%, rgba(15,22,29,.55) 60%, rgba(15,22,29,.45) 100%); }
.page-hero .wrap { position: relative; padding: 60px 28px 64px; }
.page-hero h1 { font-size: clamp(44px,6vw,86px); margin: 18px 0 14px; }
.breadcrumb { font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-size: 13px; }
.breadcrumb b { color: var(--yellow); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .nav-links, .nav-cta .btn { display: none; }
  .burger { display: flex; }
  .grid-3, .price-grid, .equip-row { grid-template-columns: 1fr; }
  .stations { grid-template-columns: 1fr 1fr; }
  .grid-2, .split { grid-template-columns: 1fr; gap: 30px; }
  .split.rev .txt { order: 0; }
  section { padding: 60px 0; }
  .hero { min-height: 90vh; }
  .statbar { flex-wrap: wrap; gap: 18px; }
  .statbar .stat { border-right: 0; padding-right: 0; margin-right: 0; flex: 1 0 40%; }
  .cta-band { padding: 38px; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .wrap { padding: 0 20px; }
}
@media (max-width: 460px) {
  .stations { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr; }
}
