/* =========================================================
   Hoeselt Run — premium site
   ========================================================= */
:root {
  --ink: #071431;
  --ink-2: #0c1d48;
  --ink-3: #132a66;
  --blue: #1f4fd6;
  --blue-d: #1740b3;
  --paper: #f4f2ec;
  --paper-2: #e9e6dd;
  --text: #071431;
  --muted: #5d6474;
  --orange: #ff8a1d;
  --orange-d: #f07300;
  --line: rgba(10, 13, 20, .12);
  --line-d: rgba(255, 255, 255, .12);
  --radius: 22px;
  --display: "Archivo", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
html, body { overflow-x: clip; max-width: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 850;
  line-height: .95;
  letter-spacing: -.02em;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: clamp(2.6rem, 6.5vw, 5.4rem); text-transform: uppercase; }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }

.container { width: min(1240px, 100% - 48px); margin-inline: auto; }
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section.container { padding-inline: 0; }
.section-dark { background: var(--ink); color: #fff; }
.section-dark .lead, .section-dark p { color: rgba(255,255,255,.72); }
.section-head { max-width: 820px; margin-bottom: clamp(40px, 6vw, 72px); }
.kicker {
  font-family: var(--display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.section-dark .kicker { color: var(--orange); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 640px; margin-top: 22px; }
.accent { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; gap: 10px;
  height: var(--h); padding: 0 24px;
  border-radius: 999px;
  font-family: var(--display); font-weight: 750; font-stretch: 105%;
  font-size: .95rem; letter-spacing: .02em; text-transform: uppercase;
  text-decoration: none; border: 0; cursor: pointer;
  transition: transform .35s var(--ease), background .25s, color .25s, box-shadow .35s;
}
.btn-lg { --h: 60px; padding: 0 32px; font-size: 1.02rem; }
.btn-primary { background: var(--orange); color: var(--ink); box-shadow: 0 0 0 0 rgba(255,138,29,.5); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px -8px rgba(255,138,29,.6); }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-ghost:hover { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px #fff; }
.arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 14px 14px auto; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 8px 10px 8px 22px;
  border-radius: 999px;
  color: #fff;
  background: rgba(10,13,20,.55);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255,255,255,.08);
  transition: transform .45s var(--ease), background .3s;
}
.nav.hidden { transform: translateY(-130%); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { height: 58px; width: auto; transition: transform .4s var(--ease); }
.brand:hover .brand-logo { transform: scale(1.04) rotate(-1deg); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 8px 14px; border-radius: 999px; text-decoration: none;
  font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.8);
  transition: background .2s, color .2s;
}
.nav-links a:hover, .nav-links a.active { background: rgba(255,255,255,.1); color: #fff; }
.nav-cta { --h: 42px; padding: 0 20px; font-size: .85rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 140px 0 90px;
  background: var(--ink); color: #fff; overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.g1 { width: 60vw; height: 60vw; left: -15vw; top: -20vw; background: radial-gradient(circle, var(--blue) 0%, transparent 65%); animation: drift 18s ease-in-out infinite alternate; }
.g2 { width: 55vw; height: 55vw; right: -15vw; bottom: -25vw; background: radial-gradient(circle, var(--orange) 0%, transparent 65%); opacity: .45; animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(6vw, 4vw) scale(1.1); } }
.route { position: absolute; inset: 0; width: 100%; height: 100%; }
.route path {
  fill: none; stroke: var(--orange); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 2400; stroke-dashoffset: 2400; opacity: .9;
  animation: draw 3.2s .4s var(--ease) forwards;
  filter: drop-shadow(0 0 10px rgba(255,138,29,.6));
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.runner-dot { fill: #fff; filter: drop-shadow(0 0 12px var(--orange)); }
.grain {
  position: absolute; inset: 0; opacity: .08; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner { position: relative; width: min(1240px, 100% - 48px); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  font-size: .88rem; font-weight: 500;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(255,138,29,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255,138,29,0); } 100% { box-shadow: 0 0 0 0 rgba(255,138,29,0); } }
.hero-sub { max-width: 560px; font-size: 1.15rem; color: rgba(255,255,255,.75); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 52px; }
.countdown { display: flex; gap: 12px; }
.countdown > div {
  min-width: 86px; padding: 14px 10px 10px; border-radius: 16px; text-align: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
}
.countdown b { display: block; font-family: var(--display); font-stretch: 100%; font-size: 2.1rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.countdown.done { display: block; font-family: var(--display); font-weight: 750; font-size: 1.1rem; }
.countdown.done .done-pill { display: inline-block; padding: 12px 20px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.hero-presented {
  position: absolute; right: 24px; bottom: 26px; margin: 0;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5);
}
.hero-presented em { font-style: normal; color: var(--orange); }

/* ---------- Ticker ---------- */
.ticker { background: var(--orange); color: var(--ink); overflow: hidden; padding: 18px 0; transform: rotate(-1.2deg); margin: -14px -10px 0; position: relative; z-index: 2; }
.ticker-track { display: flex; gap: 32px; width: max-content; animation: marquee 32s linear infinite; }
.ticker span { font-family: var(--display); font-weight: 850; font-stretch: 115%; text-transform: uppercase; font-size: 1.35rem; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); padding: 90px 0 10px; border-bottom: 1px solid var(--line); }
.stat { padding: 0 0 40px; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--display); font-stretch: 120%; font-weight: 900; font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: .95rem; }

/* ---------- Races ---------- */
.races { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.race {
  position: relative; display: flex; flex-direction: column;
  padding: 26px; min-height: 420px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  overflow: hidden;
}
.race::after {
  content: ""; position: absolute; inset: auto -40% -60% auto; width: 80%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,138,29,.55), transparent 70%);
  opacity: 0; transition: opacity .5s;
}
.race:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(10,13,20,.35); }
.race:hover::after { opacity: 1; }
.race-top { margin-bottom: auto; }
.tag { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: .75rem; font-weight: 600; background: var(--paper-2); }
.tag-hot { background: var(--orange); }
.tag-kids { background: #e3eaff; color: var(--blue-d); }
.race-dist { font-size: clamp(4rem, 7vw, 6.2rem); font-stretch: 125%; font-weight: 900; letter-spacing: -.04em; margin: 40px 0 14px; }
.race-dist small { font-size: .3em; letter-spacing: 0; margin-left: 6px; font-stretch: 100%; color: var(--muted); }
.race-desc { color: var(--muted); font-size: .95rem; }
.race-price { display: flex; align-items: baseline; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.race-price b { font-family: var(--display); font-size: 1.8rem; font-weight: 850; }
.race-price span { font-size: .82rem; color: var(--muted); }
.race-link { margin-top: 12px; font-size: .85rem; font-weight: 600; text-decoration: none; position: relative; z-index: 1; }
a.race-link:hover { text-decoration: underline; }
.race-featured { background: var(--blue); color: #fff; border-color: var(--blue); }
.race-featured .race-desc, .race-featured .race-price span, .race-featured .race-dist small { color: rgba(255,255,255,.75); }
.race-featured .race-price { border-color: var(--line-d); }
.race-featured .race-dist { color: var(--orange); }

/* Prizes */
.prizes {
  margin-top: 16px; padding: 40px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue), var(--ink-2)); color: #fff;
  display: grid; grid-template-columns: 1fr 2fr; gap: 30px; align-items: end;
}
.prizes-intro h3 { font-size: 2rem; text-transform: uppercase; margin-bottom: 10px; }
.prizes-intro p { color: rgba(255,255,255,.6); margin: 0; }
.podium { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: end; }
.podium li { border-radius: 16px 16px 6px 6px; padding: 20px 16px; text-align: center; background: rgba(255,255,255,.06); border: 1px solid var(--line-d); }
.podium p { font-size: .82rem; color: rgba(255,255,255,.7); margin: 0; line-height: 1.45; }
.podium .pos { display: block; font-family: var(--display); font-weight: 900; font-size: 2.6rem; line-height: 1; margin-bottom: 10px; }
.podium .p1 { min-height: 210px; background: var(--orange); color: var(--ink); border: 0; }
.podium .p1 p { color: var(--ink); }
.podium .p2 { min-height: 170px; }
.podium .p3 { min-height: 140px; }
.prizes-extra { grid-column: 1 / -1; margin: 0; font-size: .9rem; color: rgba(255,255,255,.6); }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-d); }
.timeline li {
  display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--line-d);
  transition: padding-left .4s var(--ease), background .3s;
}
.timeline li:hover { padding-left: 16px; background: linear-gradient(90deg, rgba(255,138,29,.06), transparent); }
.timeline time { font-family: var(--display); font-stretch: 115%; font-weight: 850; font-size: 2.4rem; color: var(--orange); line-height: 1; font-variant-numeric: tabular-nums; }
.timeline h4 { font-size: 1.5rem; text-transform: uppercase; margin-bottom: 6px; }
.timeline p { margin: 0; font-size: .95rem; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(200px, auto); gap: 16px; }
.tile {
  padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .5s var(--ease);
}
.tile:hover { transform: scale(1.02); }
.tile-icon { font-size: 2rem; margin-bottom: auto; }
.tile h3 { margin: 20px 0 8px; text-transform: uppercase; }
.tile p { margin: 0; color: var(--muted); font-size: .95rem; }
.tile-lg { grid-column: span 2; grid-row: span 2; background: var(--orange); border: 0; }
.tile-lg h3 { font-size: clamp(2rem, 4vw, 3.2rem); }
.tile-lg p { color: var(--ink); font-size: 1.1rem; max-width: 420px; }
.tile-lg .tile-icon { font-size: 4rem; }
.tile-wide { grid-column: span 2; background: var(--ink); color: #fff; border: 0; }
.tile-wide p { color: rgba(255,255,255,.65); }

/* ---------- Heat ---------- */
.heat { background: linear-gradient(120deg, var(--blue), var(--blue-d) 55%, var(--ink-2)); color: #fff; padding: clamp(70px, 9vw, 120px) 0; }
.heat-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.heat .kicker { color: var(--orange); }
.heat p { color: rgba(255,255,255,.8); }
.heat h2 { margin-bottom: 20px; }
.heat-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.heat-list li { padding: 18px 20px; border-radius: 16px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(6px); font-weight: 600; font-size: .95rem; line-height: 1.4; }
.heat-list li::before { content: "❄"; margin-right: 8px; color: var(--orange); }

/* ---------- Accordion ---------- */
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 28px 0;
  font-family: var(--display); font-stretch: 110%; font-weight: 800; font-size: clamp(1.2rem, 2.4vw, 1.75rem); text-transform: uppercase;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+"; flex: none; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line);
  font-size: 1.4rem; font-weight: 400; transition: transform .4s var(--ease), background .3s;
}
.accordion details[open] summary::after { transform: rotate(45deg); background: var(--orange); border-color: var(--orange); }
.accordion details > div { padding: 0 60px 30px 0; color: var(--muted); max-width: 820px; }
.accordion ul { padding-left: 20px; }
.accordion b { color: var(--text); }
.accordion a { font-weight: 600; color: var(--text); }

/* ---------- Club ---------- */
.club { display: grid; grid-template-columns: 1.15fr 1fr; gap: 70px; align-items: start; }
.price-card {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  margin: 34px 0; padding: 24px 26px; border-radius: var(--radius);
  background: var(--ink-3); border: 1px solid var(--line-d);
}
.price-card span, .price-card small { display: block; font-size: .85rem; color: rgba(255,255,255,.6); }
.price-card b { display: block; font-family: var(--display); font-size: 3.2rem; font-weight: 900; line-height: 1; color: var(--orange); margin: 6px 0; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 2px;
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--orange); color: var(--ink); font-size: .75rem; font-weight: 800;
}
.section-dark .checks li { color: rgba(255,255,255,.8); }
.perks { display: grid; gap: 10px; }
.perks h3 { text-transform: uppercase; margin-bottom: 10px; }
.perk {
  display: flex; align-items: center; gap: 20px; padding: 18px 22px;
  border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--line-d);
  text-decoration: none; transition: background .3s, transform .4s var(--ease), border-color .3s;
}
.perk:hover { background: rgba(255,138,29,.08); border-color: rgba(255,138,29,.4); transform: translateX(6px); }
.perk b { min-width: 72px; font-family: var(--display); font-size: 1.8rem; font-weight: 900; color: var(--orange); }
.perk span { color: rgba(255,255,255,.8); font-size: .95rem; }

/* ---------- Start to jog ---------- */
.stj {
  display: grid; grid-template-columns: 1.3fr 1fr; overflow: hidden;
  border-radius: 32px; background: var(--ink); color: #fff;
}
.stj-left { padding: clamp(36px, 6vw, 80px); background: radial-gradient(circle at 0 100%, rgba(31,79,214,.65), transparent 60%); }
.stj-left .kicker { color: var(--orange); }
.stj-left h2 { margin-bottom: 24px; }
.stj-left p { color: rgba(255,255,255,.7); max-width: 460px; margin-bottom: 34px; }
.stj-right { padding: clamp(36px, 5vw, 60px); background: var(--orange); color: var(--ink); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: center; }
.stj-price b { display: block; font-family: var(--display); font-size: 3.4rem; font-weight: 900; line-height: 1; }
.stj-price span { font-size: .85rem; font-weight: 600; }
.stj-right .checks { grid-column: 1 / -1; margin-top: 22px; }
.stj-right .checks li::before { background: var(--ink); color: var(--orange); }

/* ---------- Results ---------- */
.results { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.result {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: 24px; min-height: 130px; border-radius: 18px;
  background: #fff; border: 1px solid var(--line); text-decoration: none;
  transition: background .3s, color .3s, transform .4s var(--ease);
}
.result b { font-family: var(--display); font-stretch: 120%; font-size: 2.4rem; font-weight: 900; line-height: 1; }
.result span { font-size: .82rem; font-weight: 600; color: var(--muted); }
.result:hover { background: var(--blue); color: #fff; transform: translateY(-4px); }
.result:hover span { color: var(--orange); }

/* ---------- Team & sponsors ---------- */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.member {
  display: flex; flex-direction: column; gap: 14px; padding: 22px;
  border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid var(--line-d);
  font-weight: 600;
}
.member span {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), #ff6a00); color: var(--ink);
  font-family: var(--display); font-weight: 900;
}
.sponsors { margin-top: 90px; padding-top: 50px; border-top: 1px solid var(--line-d); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.contact-lines { display: grid; gap: 8px; margin-top: 30px; }
.contact-lines > a { font-family: var(--display); font-stretch: 105%; font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2rem); text-decoration: none; width: fit-content; background: linear-gradient(var(--orange), var(--orange)) 0 100% / 0 40% no-repeat; transition: background-size .4s var(--ease); }
.contact-lines > a:hover { background-size: 100% 40%; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; font-weight: 600; font-size: .9rem; transition: background .25s, color .25s; }
.socials a:hover { background: var(--ink); color: #fff; }
.form { display: grid; gap: 16px; padding: 34px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.form label { display: grid; gap: 8px; font-size: .85rem; font-weight: 600; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; padding: 14px 16px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--paper); color: var(--text); transition: border-color .2s, background .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.form .btn { justify-content: center; }
.form-note { margin: 0; font-size: .85rem; color: var(--muted); }


/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .races { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .club, .contact, .heat-inner, .stj { grid-template-columns: 1fr; }
  .prizes { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .container, .hero-inner { width: calc(100% - 36px); }
  .nav { inset: 10px 10px auto; gap: 12px; padding: 8px 8px 8px 12px; }
  .brand-logo { height: 46px; }
  .hero { padding: 120px 0 60px; min-height: auto; }
  .hero-sub { font-size: 1.02rem; }
  .hero-actions { flex-direction: column; margin: 28px 0 36px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .route { opacity: .35; }
  .eyebrow { font-size: .78rem; padding: 7px 12px; }
  .countdown { gap: 8px; }
  .countdown b { font-size: 1.6rem; }
  .countdown.done .done-pill { font-size: .9rem; line-height: 1.4; }
  .ticker span { font-size: 1.05rem; }
  .stat b { font-size: 2.6rem; }
  .stat + .stat { padding-left: 18px; }
  .race-dist { font-size: 4.2rem; margin-top: 28px; }
  .timeline time { font-size: 1.9rem; }
  .price-card { flex-direction: column; align-items: flex-start; }
  .perk { padding: 14px 16px; gap: 14px; }
  .perk b { min-width: 58px; font-size: 1.45rem; }
  .stj-right { grid-template-columns: 1fr 1fr; }
  .stj-left .btn { width: 100%; justify-content: center; height: auto; min-height: 60px; padding: 14px 20px; }
  .results { grid-template-columns: repeat(2, 1fr); }
  .result { min-height: 100px; padding: 18px; }
  .result b { font-size: 1.9rem; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .form { padding: 22px; }
  .contact-lines > a { font-size: 1.35rem; }
  .nav-cta { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px 0; padding-top: 70px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .races, .bento, .heat-list { grid-template-columns: 1fr; }
  .race { min-height: 340px; }
  .tile-lg, .tile-wide { grid-column: auto; grid-row: auto; }
  .timeline li { grid-template-columns: 1fr; gap: 8px; }
  .countdown > div { min-width: 0; flex: 1; }
  .hero-presented { position: static; padding: 40px 18px 0; }
  .accordion details > div { padding-right: 0; }
  .prizes { padding: 26px 18px; }
  .podium p { font-size: .72rem; }
}

/* =========================================================
   Photos
   ========================================================= */
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(1.06); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7,20,49,.94) 0%, rgba(7,20,49,.78) 45%, rgba(12,29,72,.45) 100%),
    linear-gradient(0deg, rgba(7,20,49,.9) 0%, transparent 40%);
}
.hero .glow { opacity: .35; }
.route path { opacity: .75; }

/* Gallery mosaic */
.gallery {
  display: grid; gap: 14px; margin-block: clamp(30px, 5vw, 60px) clamp(80px, 10vw, 130px);
  grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 280px 280px;
}
.gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 18px;
  background: linear-gradient(transparent, rgba(7,20,49,.85));
  color: #fff; font-family: var(--display); font-weight: 800; font-stretch: 110%; text-transform: uppercase; font-size: 1rem;
}
.g-a { grid-row: span 2; }
.g-d { grid-column: span 2; }

/* Praktisch: map + accordion */
.prak { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: start; }
.map { position: sticky; top: 100px; display: block; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; }
.map img { width: 100%; transition: transform .8s var(--ease); }
.map:hover img { transform: scale(1.03); }
.map span { display: block; padding: 14px 18px; font-weight: 600; font-size: .9rem; border-top: 1px solid var(--line); }

/* Club */
.club-photo { margin: 0 0 30px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.club-photo img { width: 100%; height: 100%; object-fit: cover; }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 70px; }
.strip img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; filter: saturate(1.05); transition: transform .6s var(--ease); }
.strip img:hover { transform: translateY(-6px) rotate(-1deg); }

/* Outfit */
.outfit { margin-top: 80px; }
.outfit-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 28px; }
.outfit-head h3 { font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; margin-bottom: 10px; }
.outfit-head p { margin: 0; max-width: 560px; }
.outfit-head a:not(.btn) { color: var(--orange); }
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 12px; }
.product { margin: 0; border-radius: 18px; overflow: hidden; background: #fff; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.product:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -20px rgba(255,138,29,.5); }
.product img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 10px; }
.product figcaption { display: flex; justify-content: space-between; padding: 10px 14px 14px; color: var(--ink); font-weight: 600; font-size: .9rem; }
.product b { color: var(--blue); }

/* Start to jog photo */
.stj-left { position: relative; isolation: isolate; }
.stj-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.stj-left::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(7,20,49,.92) 20%, rgba(31,79,214,.7)); }

/* Organisation & sponsors */
.org-photo { margin: 0 0 16px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 9; }
.org-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.sponsors .kicker { margin-top: 30px; }
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); grid-auto-rows: 1fr; gap: 12px; }
.logos-main { grid-template-columns: repeat(2, minmax(0, 340px)); }
.logo {
  display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 18px;
  background: #fff; border-radius: 16px; transition: transform .4s var(--ease), box-shadow .4s;
}
.logos-main .logo { padding: 30px; }
.logo { overflow: hidden; min-width: 0; }
.logo img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
a.logo:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -14px rgba(255,138,29,.6); }

@media (max-width: 1080px) {
  .prak { grid-template-columns: 1fr; }
  .map { position: static; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 200px 200px; }
  .g-a { grid-row: auto; grid-column: span 2; }
  .g-d { grid-column: span 2; }
}
@media (max-width: 680px) {
  .gallery { grid-template-rows: 220px 160px 200px; gap: 10px; }
  .gallery figcaption { font-size: .82rem; padding: 30px 14px 12px; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .product figcaption { flex-direction: column; padding: 6px 10px 10px; font-size: .8rem; }
  .org-photo { aspect-ratio: 4 / 3; }
  .logos, .logos-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo, .logos-main .logo { padding: 14px; }
  h2 { font-size: clamp(2rem, 9.4vw, 2.6rem); font-stretch: 100%; overflow-wrap: anywhere; }
}

/* =========================================================
   Fullscreen mobile menu
   ========================================================= */
.burger {
  display: none; position: relative; z-index: 2;
  gap: 6px; place-content: center; width: 46px; height: 46px; margin-left: auto;
  border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.1); transition: background .3s, transform .3s var(--ease);
}
.burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .5s var(--ease), width .5s var(--ease); }
.burger span:last-child { width: 13px; margin-left: 7px; }
.burger:active { transform: scale(.92); }
.menu-open .burger { background: var(--orange); }
.menu-open .burger span { background: var(--ink); }
.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:last-child { width: 20px; margin-left: 0; transform: translateY(-4px) rotate(-45deg); }
.menu-open .nav { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }

.menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 110px 24px max(28px, env(safe-area-inset-bottom));
  background: var(--ink); color: #fff; overflow-y: auto;
  clip-path: circle(0% at calc(100% - 46px) 46px);
  transition: clip-path .75s cubic-bezier(.77, 0, .18, 1);
  visibility: hidden;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 46px) 46px); visibility: visible; }
.menu-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.menu-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; filter: saturate(.6); transform: scale(1.15); transition: transform 1.4s var(--ease); }
.menu-open .menu-bg img { transform: scale(1); }
.menu-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(31,79,214,.55), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(255,138,29,.35), transparent 50%),
    linear-gradient(180deg, rgba(7,20,49,.6), rgba(7,20,49,.95));
}
.menu-links { display: flex; flex-direction: column; }
.menu:focus { outline: none; }
.menu-links a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.09);
  font-family: var(--display); font-weight: 850; font-stretch: 112%;
  font-size: clamp(1.7rem, 8.2vw, 3rem); line-height: 1; letter-spacing: -.02em;
  text-transform: uppercase; text-decoration: none;
  opacity: 0; transform: translateY(40px);
  transition: opacity .5s, transform .7s var(--ease), color .25s, padding-left .4s var(--ease);
}
.menu-links a span { font-size: .8rem; font-stretch: 100%; letter-spacing: .12em; color: var(--orange); min-width: 22px; }
.menu-links a:hover, .menu-links a:focus-visible { color: var(--orange); padding-left: 8px; }
.menu-open .menu-links a { opacity: 1; transform: none; }
.menu-foot { display: grid; gap: 22px; margin-top: 36px; opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .7s var(--ease); }
.menu-open .menu-foot { opacity: 1; transform: none; transition-delay: .55s; }
.menu-foot .btn { justify-content: center; width: 100%; }
.menu-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .92rem; color: rgba(255,255,255,.7); }
.menu-meta a { text-decoration: none; }
.menu-social { display: flex; gap: 8px; }
.menu-social a { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); }
html.menu-open, html.menu-open body { overflow: hidden; }


@media (max-width: 1200px) { .burger { display: grid; } .nav-links { display: none; } }
@media (min-width: 1201px) { .menu { display: none; } }
.menu-open .menu-links a { transition-delay: calc(.18s + var(--i, 0) * .055s); }

/* ---------- Hero logo ---------- */
.hero-logo { margin: 26px 0 30px; line-height: 0; }
.hero-logo img {
  width: clamp(260px, 50vw, 720px); height: auto;
  filter: drop-shadow(0 10px 40px rgba(0,0,0,.45));
}

/* ---------- Footer ---------- */
.footer {
  position: relative; overflow: hidden; color: rgba(255,255,255,.7);
  background:
    radial-gradient(ellipse at 85% 0%, rgba(255,138,29,.22), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(31,79,214,.35), transparent 55%),
    var(--ink);
  border-top: 1px solid var(--line-d);
}
.footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--blue), var(--orange)); }
.footer-cta {
  display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap;
  padding: clamp(70px, 9vw, 120px) 0 clamp(50px, 6vw, 80px); border-bottom: 1px solid var(--line-d);
}
.footer-cta .kicker { color: var(--orange); }
.footer-cta h2 { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding: 60px 0; }
.footer-logo { width: 220px; height: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 340px; font-size: .95rem; }
.footer-brand em { font-style: normal; color: var(--orange); }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: .95rem; }
.footer-col h4 {
  font-size: .8rem; letter-spacing: .18em; color: #fff; margin-bottom: 8px; font-stretch: 100%; text-transform: uppercase;
}
.footer-col a { text-decoration: none; width: fit-content; transition: color .2s, transform .3s var(--ease); }
.footer-col a:hover { color: var(--orange); transform: translateX(3px); }
.footer-col span { line-height: 1.5; }
.footer-social { display: flex; gap: 10px; margin-top: 8px; }
.footer-social a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2); color: #fff;
}
.footer-social a:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); transform: translateY(-3px); }
.footer-row {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0 30px; border-top: 1px solid var(--line-d); font-size: .85rem; color: rgba(255,255,255,.5);
}
.footer-row p { margin: 0; }
.to-top {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #fff; text-decoration: none; font-size: 1.1rem;
  transition: background .25s, transform .3s var(--ease);
}
.to-top:hover { background: var(--orange); color: var(--ink); transform: translateY(-3px); }

@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .hero-logo { margin: 18px 0 22px; }
  .hero-logo img { width: min(100%, 340px); }
  .footer-cta .btn { width: 100%; justify-content: center; }
  .footer-grid { gap: 34px 20px; padding: 44px 0; }
  .footer-logo { width: 180px; }
  .footer-row p:first-child { flex: 1; }
  .footer-row p:nth-child(2) { display: none; }
}

/* =========================================================
   Multi-page: page hero, explore cards, active links
   ========================================================= */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(420px, 62vh, 620px); display: flex; align-items: flex-end;
  padding: 150px 0 clamp(50px, 7vw, 90px); color: #fff; background: var(--ink);
}
.page-hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: heroZoom 14s ease-out forwards; }
.page-hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, rgba(7,20,49,.96) 0%, rgba(7,20,49,.55) 55%, rgba(7,20,49,.7) 100%),
    radial-gradient(circle at 90% 10%, rgba(31,79,214,.55), transparent 50%);
}
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--orange)); }
.page-hero h1 {
  font-size: clamp(3rem, 9vw, 8rem); font-stretch: 125%; font-weight: 900;
  text-transform: uppercase; letter-spacing: -.035em; line-height: .9; margin: 18px 0 0;
}
.page-hero .lead { color: rgba(255,255,255,.8); }
.crumbs { display: flex; gap: 10px; font-size: .85rem; color: rgba(255,255,255,.6); }
.crumbs a { text-decoration: none; color: #fff; }
.crumbs a:hover { color: var(--orange); }
.crumbs [aria-current] { color: var(--orange); }

.nav-links a.active { background: rgba(255,138,29,.16); color: var(--orange); }
.menu-links a.active { color: var(--orange); }

.btn-ghost-dark { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost-dark:hover { background: var(--ink); color: #fff; }
.more { margin-top: 30px; display: flex; justify-content: center; }

.explore { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  position: relative; display: flex; align-items: flex-end; min-height: 440px; overflow: hidden;
  border-radius: var(--radius); text-decoration: none; color: #fff; isolation: isolate; background: var(--ink);
}
.card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,20,49,.05) 30%, rgba(7,20,49,.92)); transition: background .5s; }
.card > div { padding: 28px; }
.card span { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--orange); color: var(--ink); font-size: .75rem; font-weight: 700; margin-bottom: 14px; }
.card h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); text-transform: uppercase; margin-bottom: 10px; }
.card p { margin: 0; color: rgba(255,255,255,.78); font-size: .95rem; }
.card h3::after { content: "→"; margin-left: .3em; display: inline-block; transition: transform .4s var(--ease); }
.card:hover img { transform: scale(1.07); }
.card:hover h3::after { transform: translateX(6px); }

@media (max-width: 1080px) {
  .explore { grid-template-columns: 1fr; }
  .card { min-height: 320px; }
}
@media (max-width: 680px) {
  .page-hero { min-height: 380px; padding-top: 120px; }
  .page-hero h1 { font-size: clamp(1.9rem, 9.6vw, 3.4rem); font-stretch: 100%; }
  .more .btn { width: 100%; justify-content: center; height: auto; min-height: 60px; padding: 14px 20px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .route path { stroke-dashoffset: 0; }
}
