/* Sorø Bueskyttelaug – forsiden: 3D-scene, kapitler og sektioner */

/* ---------- 3D-scenen bag indholdet ---------- */
.stage { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, #24384a 0%, #8f8a7c 46%, #e9b77d 62%, #4d6a3c 63%, #2d4426 100%); }
.stage canvas { width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease; }
.stage.is-ready canvas { opacity: 1; }
.stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(8, 16, 11, .45) 100%); }
.stage-fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.stage-fallback svg { width: min(52vmin, 420px); opacity: .9; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }
.stage.is-ready .stage-fallback { display: none; }

/* ---------- Afstandsmåler (HUD) ---------- */
.hud { position: fixed; right: clamp(.75rem, 2vw, 2rem); top: 50%; z-index: 40; transform: translateY(-50%); display: flex; align-items: center; gap: .9rem; color: #fff; transition: opacity .5s; }
.hud.is-hidden { opacity: 0; pointer-events: none; }
.hud-readout { text-align: right; text-shadow: 0 2px 12px rgba(0,0,0,.35); background: rgba(14, 28, 20, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: .55rem .8rem .5rem; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); }
.hud-rail-wrap, .hud-rail { background: rgba(14, 28, 20, .45); border-radius: 999px; padding: 6px 4px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hud-readout b { display: block; font-family: var(--f-display); font-weight: 500; font-style: italic; font-size: 2.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.hud-readout span { font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; opacity: .8; }
.hud-rail { position: relative; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.hud-rail::before { content: ""; position: absolute; left: 50%; top: 10px; bottom: 10px; width: 2px; margin-left: -1px; background: rgba(255,255,255,.25); border-radius: 2px; }
.hud-rail a { position: relative; display: grid; place-items: center; width: 30px; height: 30px; text-decoration: none; }
.hud-rail a::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.4); box-shadow: 0 0 0 3px rgba(18,36,26,.3); transition: transform .35s var(--ease-spring), background .3s; }
.hud-rail a.is-passed::before { background: #fff; }
.hud-rail a.is-active::before { background: var(--gold); transform: scale(1.5); }
.hud-rail a:last-child::before { background: radial-gradient(circle, var(--gold) 0 30%, var(--crimson) 31% 55%, #2a6fb5 56% 80%, #111 81%); width: 14px; height: 14px; }
.hud-rail a span { position: absolute; right: 38px; white-space: nowrap; font-size: .8rem; font-weight: 700; background: rgba(18,36,26,.85); padding: .25rem .6rem; border-radius: 999px; opacity: 0; transform: translateX(6px); transition: opacity .25s, transform .25s; pointer-events: none; }
.hud-rail a:hover span, .hud-rail a:focus-visible span { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .hud { top: auto; bottom: 1rem; right: 1rem; transform: none; }
  .hud-rail { display: none; }
  .hud-readout { background: rgba(18,36,26,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 16px; padding: .45rem .8rem; text-shadow: none; }
  .hud-readout b { font-size: 1.6rem; }
}

main { position: relative; z-index: 1; }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 2rem) 0 4rem; color: #fff; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 22, 15, .72) 0%, rgba(10, 22, 15, .35) 45%, transparent 70%), linear-gradient(0deg, rgba(10,22,15,.55), transparent 35%); pointer-events: none; }
.hero .wrap { position: relative; }
.hero h1 { font-size: clamp(3.2rem, 1.6rem + 7.2vw, 7.6rem); font-weight: 500; line-height: .95; letter-spacing: -.035em; margin-bottom: 1.5rem; text-shadow: 0 4px 30px rgba(0,0,0,.35); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease-out); transition-delay: calc(var(--i) * 140ms + 200ms); }
.hero.is-in h1 .line > span, .no-js .hero h1 .line > span { transform: none; }
.hero h1 em { color: var(--gold); }
.hero .eyebrow { color: #fff; opacity: .9; }
.hero .eyebrow::before { background: var(--gold); }
.hero-lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); max-width: 40ch; opacity: .92; margin-bottom: 2rem; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 2.5rem; margin-top: 3.5rem; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.22); max-width: 760px; }
.hero-facts b { display: block; font-family: var(--f-display); font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.hero-facts span { font-size: .85rem; opacity: .8; }
.scroll-cue { position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .5rem; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.85); text-decoration: none; }
.scroll-cue i { width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.7); border-radius: 14px; position: relative; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s var(--ease-out) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(-4px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 760px) {
  .hero { align-items: flex-end; }
  .hero::before { background: linear-gradient(0deg, rgba(10, 22, 15, .88) 0%, rgba(10, 22, 15, .5) 55%, rgba(10,22,15,.15) 100%); }
  .hero-facts { grid-template-columns: repeat(2, auto); gap: 1.25rem 2rem; margin-top: 2.25rem; }
  .scroll-cue { display: none; }
}

/* ---------- Kapitler (afstandsmarkør + panel) ---------- */
.chapter { position: relative; padding: 0 0 2rem; }
.marker { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: #fff; pointer-events: none; padding: 4rem 1rem; }
.marker-num { font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: clamp(5rem, 3rem + 10vw, 11rem); line-height: .85; letter-spacing: -.04em; text-shadow: 0 10px 50px rgba(0,0,0,.45); opacity: 0; transform: scale(.85); transition: opacity 1s var(--ease-out), transform 1.4s var(--ease-out); }
.marker-num small { font-size: .35em; font-style: normal; margin-left: .08em; letter-spacing: 0; opacity: .8; }
.marker-label { margin-top: 1rem; font-size: .85rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; text-shadow: 0 2px 12px rgba(0,0,0,.5); opacity: 0; transform: translateY(12px); transition: opacity 1s .2s var(--ease-out), transform 1s .2s var(--ease-out); }
.marker.is-in .marker-num, .marker.is-in .marker-label { opacity: 1; transform: none; }

.panel { width: var(--wrap); margin: 0 auto; background: rgba(251, 248, 241, .95); border-radius: var(--r-xl); padding: clamp(1.75rem, 1rem + 4vw, 4.5rem); box-shadow: var(--shadow-2); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); position: relative; overflow: hidden; }
.panel-head { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 4rem; align-items: end; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.panel-head h2 { margin: 0; }
.panel-head .lead { margin: 0; }
@media (max-width: 860px) { .panel-head { grid-template-columns: 1fr; } .panel { border-radius: var(--r-lg); } }
.panel--dark { background: rgba(18, 36, 26, .94); color: #fff; }
.panel--dark .lead, .panel--dark .muted { color: rgba(255,255,255,.75); }

/* ---------- Kom i gang ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: step; }
.step { background: #fff; border-radius: var(--r-lg); padding: 2rem 1.75rem 1.75rem; box-shadow: var(--shadow-1); position: relative; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.step-no { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; color: #fff; background: var(--crimson); margin-bottom: 1.25rem; box-shadow: 0 0 0 6px var(--crimson-soft); }
.step:nth-child(2) .step-no { background: #2a6fb5; box-shadow: 0 0 0 6px #e1edf8; }
.step:nth-child(3) .step-no { background: var(--gold-deep); box-shadow: 0 0 0 6px #fff3cf; }
.step h3 { margin-bottom: .4em; }
.step p:last-child { margin-bottom: 0; }
.step .btn-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.getstarted-foot { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.25rem; margin-top: 1.25rem; }
.price-card { background: var(--forest); color: #fff; border-radius: var(--r-lg); padding: 1.75rem; display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; }
.price-card h3 { width: 100%; margin: 0; font-size: 1.1rem; font-family: var(--f-body); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.price { display: flex; flex-direction: column; }
.price b { font-family: var(--f-display); font-size: 2.6rem; font-weight: 500; line-height: 1; }
.price b small { font-size: .45em; font-family: var(--f-body); font-weight: 600; opacity: .8; margin-left: .2em; }
.price span { font-size: .9rem; opacity: .8; }
.safety-card { background: var(--paper-2); border-radius: var(--r-lg); padding: 1.75rem; }
.safety-card ul { margin: .5rem 0 0; padding-left: 1.2rem; }
.safety-card li { margin-bottom: .3rem; }
@media (max-width: 900px) { .steps, .getstarted-foot { grid-template-columns: 1fr; } }

/* ---------- Træningstider ---------- */
.season-switch { display: inline-grid; grid-template-columns: 1fr 1fr; background: var(--paper-2); border-radius: 999px; padding: 5px; position: relative; margin-bottom: 1.5rem; }
.season-switch button { position: relative; z-index: 1; border: 0; background: transparent; padding: .7rem 1.4rem; border-radius: 999px; font-weight: 700; cursor: pointer; min-height: 48px; display: flex; align-items: center; gap: .5rem; color: var(--ink-2); transition: color .3s; }
.season-switch button[aria-selected="true"] { color: #fff; }
.season-switch .pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--forest); transition: transform .5s var(--ease-spring); }
.season-switch[data-season="vinter"] .pill { transform: translateX(100%); }
.season-place { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.5rem; color: var(--ink-2); }
.season-place svg { width: 28px; height: 28px; flex: none; color: var(--crimson); }
.schedule { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.day { background: #fff; border-radius: var(--r-md); padding: 1.25rem; box-shadow: var(--shadow-1); }
.day h3 { font-family: var(--f-body); font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--crimson); margin-bottom: .9rem; }
.slot { padding: .8rem 0; border-top: 1px solid var(--line); }
.slot:first-of-type { border-top: 0; padding-top: 0; }
.slot time { display: block; font-family: var(--f-display); font-size: 1.35rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.slot p { margin: .15rem 0 .45rem; font-weight: 600; }
.schedule-note { margin-top: 1.5rem; display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; color: var(--ink-2); font-size: .95rem; }
[role="tabpanel"][hidden] { display: none; }
[role="tabpanel"]:not([hidden]) .day { animation: day-in .6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes day-in { from { opacity: 0; transform: translateY(14px); } }
@media (max-width: 1000px) { .schedule { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .schedule { grid-template-columns: 1fr; } .season-switch button { padding: .7rem 1rem; } }

/* ---------- Sporten: skydeformer ---------- */
.disciplines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.disc { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 460px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; isolation: isolate; box-shadow: var(--shadow-1); }
.disc picture, .disc > img { position: absolute; inset: 0; z-index: -2; }
.disc img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.disc:hover img { transform: scale(1.06); }
.disc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,20,14,.92) 10%, rgba(10,20,14,.35) 55%, rgba(10,20,14,.05)); }
.disc-body { padding: 1.75rem; }
.disc .chip { background: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(8px); margin-bottom: .75rem; }
.disc h3 { font-size: 2.1rem; margin-bottom: .3em; }
.disc p { opacity: .9; margin-bottom: 0; }
@media (max-width: 900px) { .disciplines { grid-template-columns: 1fr; } .disc { min-height: 380px; } }

/* ---------- Sporten: buetyper ---------- */
.bows { display: grid; grid-template-columns: 300px 1fr; gap: 2rem; margin-top: clamp(3rem, 2rem + 3vw, 5rem); align-items: start; }
.bows-tabs { display: flex; flex-direction: column; gap: .4rem; }
.bows-tabs button { text-align: left; border: 0; background: transparent; border-radius: var(--r-md); padding: 1rem 1.2rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: var(--f-display); font-size: 1.35rem; font-weight: 500; color: var(--ink-2); transition: background .3s, color .3s; min-height: 56px; }
.bows-tabs button small { font-family: var(--f-body); font-size: .75rem; font-weight: 700; letter-spacing: .06em; color: var(--ink-2); opacity: .8; }
.bows-tabs button:hover { background: rgba(255,255,255,.7); color: var(--ink); }
.bows-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-1); }
.bows-tabs button[aria-selected="true"] small { color: var(--crimson); opacity: 1; }
.bow-panel { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; background: #fff; border-radius: var(--r-lg); padding: 2rem; box-shadow: var(--shadow-1); min-height: 380px; align-items: center; }
.bow-art { display: grid; place-items: center; background: radial-gradient(circle at 50% 50%, var(--paper-2), transparent 70%); border-radius: var(--r-md); height: 100%; min-height: 300px; }
.bow-art svg { width: 100%; max-width: 200px; height: auto; overflow: visible; }
.bow-art .draw { stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); animation: draw 1.6s var(--ease-out) forwards; }
.bow-art .draw:nth-child(2) { animation-delay: .25s; } .bow-art .draw:nth-child(3) { animation-delay: .45s; } .bow-art .draw:nth-child(n+4) { animation-delay: .65s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.bow-panel h3 { font-size: 2.2rem; }
.bow-facts { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.bow-panel p { color: var(--ink-2); }
.bow-panel[hidden] { display: none; }
.bow-panel:not([hidden]) { animation: day-in .6s var(--ease-out) both; }
@media (max-width: 900px) {
  .bows { grid-template-columns: 1fr; }
  .bows-tabs { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .25rem; }
  .bows-tabs button { flex: none; scroll-snap-align: start; font-size: 1.1rem; }
  .bows-tabs button small { display: none; }
  .bow-panel { grid-template-columns: 1fr; padding: 1.5rem; }
  .bow-art { min-height: 220px; } .bow-art svg { max-width: 150px; }
}

/* ---------- Klubben ---------- */
.club-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.club-photo { position: relative; }
.club-photo img { border-radius: var(--r-lg); box-shadow: var(--shadow-2); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.club-photo .badge { position: absolute; right: -1rem; bottom: -1.5rem; width: 132px; height: 132px; border-radius: 50%; background: var(--crimson); color: #fff; display: grid; place-items: center; text-align: center; font-weight: 700; font-size: .8rem; line-height: 1.2; box-shadow: var(--shadow-2); animation: spin 22s linear infinite; }
.club-photo .badge b { display: block; font-family: var(--f-display); font-size: 2rem; font-weight: 600; }
.club-photo .badge > span { animation: spin 22s linear infinite reverse; display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.stat b { display: block; font-family: var(--f-display); font-size: clamp(2.2rem, 1.8rem + 1.6vw, 3.2rem); font-weight: 500; line-height: 1; color: var(--crimson); font-variant-numeric: tabular-nums; }
.stat span { font-size: .9rem; color: var(--ink-2); }
.ranges { margin-top: clamp(3rem, 2rem + 3vw, 5rem); }
.ranges-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.25rem; }
.ranges-head h3 { margin: 0; }
.ranges-nav { display: flex; gap: .5rem; }
.ranges-nav button { width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow-1); cursor: pointer; font-size: 1.2rem; transition: transform .3s var(--ease-spring); }
.ranges-nav button:hover { transform: scale(1.08); }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 34%); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: .5rem 0 1rem; cursor: grab; }
.gallery::-webkit-scrollbar { display: none; }
.gallery.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery figure { margin: 0; scroll-snap-align: start; position: relative; border-radius: var(--r-md); overflow: hidden; }
.gallery button { display: block; width: 100%; border: 0; padding: 0; cursor: zoom-in; background: #000; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 1s var(--ease-out), opacity .4s; }
.gallery figure:hover img { transform: scale(1.05); opacity: .9; }
.gallery figcaption { position: absolute; left: .75rem; bottom: .75rem; right: .75rem; color: #fff; font-weight: 700; font-size: .92rem; text-shadow: 0 1px 8px rgba(0,0,0,.7); pointer-events: none; }
@media (max-width: 860px) { .club-grid { grid-template-columns: 1fr; } .gallery { grid-auto-columns: 78%; } .club-photo .badge { width: 104px; height: 104px; right: .5rem; } }

.offer { margin-top: clamp(3rem, 2rem + 3vw, 5rem); display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.25rem; }
.offer-card { border-radius: var(--r-lg); padding: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); }
.offer-card--event { background: var(--forest); color: #fff; position: relative; overflow: hidden; }
.offer-card--event::after { content: ""; position: absolute; right: -90px; top: -90px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, var(--gold) 0 18%, var(--crimson) 19% 38%, #2a6fb5 39% 58%, #111 59% 78%, #f4f1ea 79% 100%); opacity: .2; }
.offer-card--event .muted { color: rgba(255,255,255,.75); }
.offer-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem 1.5rem; margin: 1.5rem 0; padding: 0; list-style: none; }
.offer-list li { display: flex; gap: .6rem; align-items: baseline; }
.offer-list li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); transform: translateY(-1px); }
.offer-card--gear { background: #fff; box-shadow: var(--shadow-1); display: flex; flex-direction: column; }
.offer-card--gear .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 860px) { .offer { grid-template-columns: 1fr; } .offer-list { grid-template-columns: 1fr; } }

/* ---------- Ungdom ---------- */
.youth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.youth-collage { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.youth-collage img { border-radius: var(--r-md); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.youth-collage img:first-child { grid-column: span 2; aspect-ratio: 16/9; }
.medals { margin-top: clamp(3rem, 2rem + 3vw, 5rem); }
.timeline { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2.5rem .25rem 1rem; position: relative; scrollbar-width: thin; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 1.15rem; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 8px, transparent 8px 16px); }
.medal { scroll-snap-align: start; position: relative; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-md); overflow: hidden; transition: transform .5s var(--ease-out), background .3s; }
.medal:hover { transform: translateY(-6px); background: rgba(255,255,255,.1); }
.medal::before { content: ""; position: absolute; top: -1.95rem; left: 1.25rem; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(246,195,59,.25); }
.medal { overflow: visible; }
.medal img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-md) var(--r-md) 0 0; }
.medal-body { padding: 1.1rem 1.25rem 1.3rem; }
.medal-year { font-family: var(--f-display); font-style: italic; font-size: 1.8rem; color: var(--gold); line-height: 1; }
.medal h3 { font-size: 1.15rem; margin: .4rem 0 .35rem; color: #fff; }
.medal p { font-size: .9rem; color: rgba(255,255,255,.72); margin: 0; }
@media (max-width: 860px) { .youth-grid { grid-template-columns: 1fr; } .timeline { grid-auto-columns: 78%; } }

/* ---------- Nyheder ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.news-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-1); display: flex; flex-direction: column; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); position: relative; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.news-card .media { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--forest), var(--moss)); position: relative; overflow: hidden; }
.news-card .media img { width: 100%; height: 100%; object-fit: cover; }
.news-card .media .ph { position: absolute; inset: 0; display: grid; place-items: center; }
.news-card .media .ph svg { width: 40%; opacity: .5; }
.news-card .body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.news-card .meta { display: flex; gap: .5rem; align-items: center; font-size: .82rem; color: var(--ink-2); font-weight: 600; flex-wrap: wrap; }
.news-card h3 { font-size: 1.3rem; margin: 0; }
.news-card h3 a { text-decoration: none; }
.news-card h3 a::after { content: ""; position: absolute; inset: 0; }
.news-card p { margin: 0; color: var(--ink-2); font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.news-source { display: inline-flex; align-items: center; gap: .35rem; }
.news-source svg { width: 16px; height: 16px; }
.news-foot { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 2rem; align-items: center; }
.fb-consent { background: var(--paper-2); border-radius: var(--r-lg); padding: 1.75rem; margin-top: 1.25rem; display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.fb-consent p { margin: 0; flex: 1 1 320px; color: var(--ink-2); font-size: .95rem; }
.fb-embed { margin-top: 1.25rem; display: grid; place-items: center; }
.fb-embed iframe { border: 0; width: 100%; max-width: 500px; height: 720px; border-radius: var(--r-md); background: #fff; }
.skeleton { background: linear-gradient(90deg, #eee 0 40%, #f6f6f6 50%, #eee 60% 100%); background-size: 300% 100%; animation: sk 1.4s infinite; border-radius: var(--r-sm); }
@keyframes sk { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (max-width: 960px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .news-grid { grid-template-columns: 1fr; } }

/* ---------- Finale / kontakt ---------- */
.finale .marker { min-height: 100vh; }
.finale .marker-num { color: var(--gold); }
.hit-badge { margin-top: 1.25rem; display: inline-flex; align-items: center; gap: .6rem; background: var(--gold); color: var(--ink); font-weight: 800; padding: .6rem 1.2rem; border-radius: 999px; transform: scale(0) rotate(-12deg); transition: transform .7s var(--ease-spring); box-shadow: 0 12px 40px -8px rgba(246,195,59,.7); }
.is-hit .hit-badge { transform: scale(1) rotate(-4deg); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.contact-card { background: #fff; border-radius: var(--r-lg); padding: 1.75rem; box-shadow: var(--shadow-1); }
.contact-card h3 { font-size: 1.4rem; margin-bottom: .2em; }
.contact-card .role { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--crimson); }
.contact-links { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .5rem; }
.contact-links a { display: flex; align-items: center; gap: .65rem; text-decoration: none; font-weight: 600; padding: .55rem .75rem; border-radius: var(--r-sm); background: var(--paper); transition: background .2s; word-break: break-word; min-height: 44px; }
.contact-links a:hover { background: var(--crimson-soft); }
.contact-links svg { width: 18px; height: 18px; flex: none; color: var(--crimson); }
.places { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1.25rem; }
.place { border-radius: var(--r-lg); overflow: hidden; position: relative; min-height: 300px; color: #fff; display: flex; align-items: flex-end; isolation: isolate; }
.place img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.place::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,20,14,.9), rgba(10,20,14,.2) 70%); }
.place-body { padding: 1.75rem; }
.place h3 { margin-bottom: .2em; }
.place p { margin: 0 0 1rem; opacity: .9; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } .places { grid-template-columns: 1fr; } }

/* Rettelser efter visuel QA */
.hero-facts b span, .stat b span { font: inherit; opacity: 1; color: inherit; letter-spacing: inherit; }
.season-switch button { white-space: nowrap; }
@media (max-width: 560px) { .season-switch button { font-size: .9rem; padding: .6rem .85rem; gap: .35rem; } }
@media (max-width: 760px) {
  .hud { bottom: max(.75rem, env(safe-area-inset-bottom)); right: .75rem; pointer-events: none; }
  .hud-readout { display: flex; align-items: baseline; gap: .4rem; padding: .3rem .75rem; border-radius: 999px; }
  .hud-readout b { display: inline; font-size: 1.15rem; }
  .hud-readout span { font-size: .6rem; letter-spacing: .12em; }
}
