/* Design 3 – Fællesskab: lyst, venligt og app-agtigt */
:root {
  --bg: #f5f3ef; --card: #fff; --ink: #17171c; --muted: #6b6a72; --line: #e8e4dd;
  --red: #e23744; --red-soft: #fde8ea; --sand: #f6e7c8; --mint: #dcefe4; --sky: #e1ecfb; --lilac: #ece4fb;
  --font: "Plus Jakarta Sans", system-ui, sans-serif; --r: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--font); }
img { max-width: 100%; display: block; }
a { color: var(--red); }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.12; letter-spacing: -.025em; margin: 0 0 .5em; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px; z-index: 99; }
.small { font-size: 14px; color: var(--muted); }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; margin: 0; }
section { margin-block: 56px; }
.pill { display: inline-flex; gap: 6px; align-items: center; background: var(--red-soft); color: var(--red); font-weight: 700; font-size: 13px; padding: 6px 12px; border-radius: 999px; margin: 0 0 14px; }
.pill.light { background: rgba(255,255,255,.9); }
.kicker { font-size: 13px; font-weight: 700; color: var(--red); margin: 0 0 6px; }

.btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.btn { display: inline-flex; align-items: center; padding: 12px 20px; border-radius: 14px; font-weight: 700; font-size: 15px; text-decoration: none; transition: .15s; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(226,55,68,.28); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(226,55,68,.35); }
.btn-ghost { background: var(--bg); color: var(--ink); }
.btn-ghost:hover { background: var(--line); }

/* header: svævende pille */
.site-header { position: sticky; top: 12px; z-index: 30; padding-inline: 16px; margin-top: 12px; }
.bar { max-width: 1200px; margin: 0 auto; background: rgba(255,255,255,.88); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 20px; padding: 8px 8px 8px 14px; display: flex; align-items: center; gap: 12px; box-shadow: 0 8px 28px rgba(20,20,30,.06); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 18px; margin-right: auto; }
#nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
#nav li { position: relative; }
#nav a { display: block; padding: 9px 14px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; border-radius: 12px; }
#nav a:hover { background: var(--bg); }
#nav .is-active > a { background: var(--ink); color: #fff; }
#nav .sub { display: none !important; position: absolute; top: calc(100% + 8px); left: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 8px; min-width: 250px; box-shadow: 0 20px 40px rgba(20,20,30,.12); flex-direction: column; }
#nav .sub::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
#nav .has-sub:hover .sub, #nav .has-sub:focus-within .sub { display: flex !important; }
#nav .sub a { font-weight: 500; color: var(--ink); background: none; }
#nav .sub a:hover { background: var(--bg); }
.login { padding: 9px 16px; border-radius: 12px; box-shadow: none; }
.menu-btn { display: none; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(170px, auto); gap: 14px; margin-top: 26px; }
.bento > * { border-radius: var(--r); }
.b-hero { grid-column: span 3; grid-row: span 2; position: relative; overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; }
.b-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.b-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 30%, rgba(10,10,20,.78)); }
.b-hero .txt { position: relative; z-index: 2; padding: 36px; color: #fff; max-width: 640px; }
.b-hero h1 { font-size: clamp(38px, 5vw, 66px); }
.b-hero p { font-size: 18px; opacity: .92; }
.b-card { background: var(--card); padding: 24px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; position: relative; transition: .2s; border: 1px solid var(--line); }
.b-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(20,20,30,.08); }
.b-card h2 { font-size: 23px; margin: 10px 0 4px; }
.b-card p { margin: 0; color: var(--muted); font-size: 15px; }
.b-card .ico { font-size: 28px; }
.b-card .go { position: absolute; right: 18px; top: 18px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); font-weight: 800; }
.b-card.red { background: var(--red); color: #fff; border-color: var(--red); }
.b-card.red p { color: rgba(255,255,255,.85); }
.b-card.red .go { background: rgba(255,255,255,.2); }
.b-card.sand { grid-column: span 2; background: var(--sand); border-color: var(--sand); }
.b-stat { background: var(--mint); padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; }
.b-stat strong { font-size: 54px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.b-stat span { color: var(--muted); font-weight: 600; }
.b-stat.dark { background: var(--ink); color: #fff; }
.b-stat.dark span { color: #aaa; }

.section-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 20px; }
.section-head h2, .section-title { font-size: clamp(28px, 3.4vw, 38px); margin: 0; }
.section-head a { font-weight: 700; text-decoration: none; background: #fff; border: 1px solid var(--line); padding: 8px 14px; border-radius: 12px; color: var(--ink); }

.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.cat-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 2px; transition: .2s; }
.cat-card:nth-child(1) { background: var(--sky); } .cat-card:nth-child(2) { background: var(--red-soft); } .cat-card:nth-child(3) { background: var(--lilac); } .cat-card:nth-child(4) { background: var(--mint); } .cat-card:nth-child(5) { background: var(--sand); }
.cat-card:hover { transform: translateY(-3px) rotate(-1deg); }
.cat-card .ico { font-size: 34px; margin-bottom: 8px; }
.cat-card span:last-child { color: var(--muted); font-size: 14px; }

.values-card { background: var(--ink); color: #fff; border-radius: 32px; padding: 50px; }
.values-card h2 { font-size: clamp(30px, 4vw, 46px); }
.values { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.values li { background: rgba(255,255,255,.07); border-radius: 20px; padding: 22px; }
.values .num { font-size: 13px; font-weight: 800; color: var(--red); background: #fff; border-radius: 8px; padding: 2px 8px; }
.values h3 { font-size: 22px; margin: 14px 0 6px; }
.values p { margin: 0; color: #c9c8cf; font-size: 15px; }
main > .wrap .values:not(.values-card .values) li { background: #fff; border: 1px solid var(--line); }
main > .wrap .values:not(.values-card .values) p { color: var(--muted); }

.logo-marquee { overflow: hidden; border-radius: var(--r); background: #fff; border: 1px solid var(--line); padding: 16px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-marquee .track { display: flex; gap: 14px; width: max-content; animation: scroll 50s linear infinite; }
.logo-marquee .sponsor { width: 170px; border: 0; padding: 0; background: none; }
.logo-marquee .name { display: none; }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-marquee .track { animation: none; } }

/* sport-kort */
.sport-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.sport-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 8px; display: flex; flex-direction: column; transition: .2s; }
.sport-card:hover { box-shadow: 0 16px 36px rgba(20,20,30,.08); transform: translateY(-3px); }
.sport-card[hidden] { display: none; }
.sport-card .media { position: relative; aspect-ratio: 4/3; border-radius: 18px; overflow: hidden; background: var(--red-soft); display: grid; place-items: center; }
.sport-card .media img { width: 100%; height: 100%; object-fit: cover; }
.sport-card .media .pill { position: absolute; left: 10px; top: 10px; margin: 0; background: rgba(255,255,255,.92); color: var(--ink); font-size: 12px; }
.ph { font-size: 64px; }
.sport-card .body { padding: 14px 12px 12px; display: flex; flex-direction: column; flex: 1; }
.sport-card h3 { font-size: 21px; margin: 0 0 4px; }
.sport-card h3 a { color: var(--ink); text-decoration: none; }
.sport-card p { color: var(--muted); font-size: 14px; margin: 0; }
.sport-card .btns { margin-top: auto; padding-top: 12px; }
.sport-card .btn { padding: 8px 12px; font-size: 13px; border-radius: 10px; }
.note { font-size: 14px; background: var(--sand); padding: 8px 12px; border-radius: 10px; margin: 0 0 8px; }

.filter { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 18px; position: sticky; top: 90px; z-index: 10; }
.filter input { flex: 1 1 220px; border: 0; background: var(--bg); padding: 12px 16px; border-radius: 14px; font: inherit; font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 0; background: var(--bg); padding: 10px 14px; border-radius: 12px; font: 600 14px var(--font); cursor: pointer; color: var(--ink); }
.chip.on { background: var(--ink); color: #fff; }

/* undersider */
.page-header { margin: 26px 0 0; }
.head-card { background: #fff; border: 1px solid var(--line); border-radius: 32px; padding: clamp(28px, 5vw, 56px); background-image: radial-gradient(circle at 100% 0%, var(--red-soft), transparent 40%); }
.head-card h1 { font-size: clamp(36px, 5.5vw, 64px); }
.sport-head { display: grid; grid-template-columns: 1fr 420px; gap: 30px; align-items: center; }
.sport-head .frame { border-radius: 24px; overflow: hidden; aspect-ratio: 4/3; background: var(--red-soft); display: grid; place-items: center; }
.sport-head .frame img { width: 100%; height: 100%; object-fit: cover; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.prose { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 4vw, 44px); }
.prose h2 { font-size: 28px; margin-top: 1.3em; }
.prose h3 { font-size: 21px; margin-top: 1.3em; }
.prose img { border-radius: 18px; margin: 1em 0; }
.prose > :first-child { margin-top: 0; }
.callout { background: var(--sand); padding: 16px 18px; border-radius: 16px; }
.side-card { background: var(--ink); color: #fff; border-radius: var(--r); padding: 28px; position: sticky; top: 100px; }
.side-card h2 { font-size: 24px; }
.side-card h2:not(:first-child) { margin-top: 24px; }
.side-card p { color: #c9c8cf; }
.side-card a:not(.btn) { color: #fff; }
.side-card .note { color: var(--ink); }
.side-card .btn-ghost { background: rgba(255,255,255,.1); color: #fff; }
.related h2 { font-size: 30px; }
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.link-list a { display: block; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.08); text-decoration: none; font-weight: 600; }
.prose .link-list a { background: var(--bg); color: var(--ink); }
.contacts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.contacts li { display: flex; flex-direction: column; background: var(--bg); padding: 14px 16px; border-radius: 16px; }
.contacts span { color: var(--muted); font-size: 14px; }
.contacts-cards { grid-template-columns: repeat(3, 1fr); }
.contacts-cards li { background: #fff; border: 1px solid var(--line); padding: 24px; }
.board-photo { margin: 0; }
.board-photo img { width: 100%; border-radius: 32px; max-height: 620px; object-fit: cover; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.step:nth-child(1) { background: var(--red-soft); border-color: var(--red-soft); }
.step .num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 800; margin-bottom: 14px; }
.step p { color: var(--muted); }
.booking { background: var(--sky); border-radius: 32px; padding: 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.booking h2 { font-size: 34px; margin: 0 0 4px; }
.booking p { margin: 0; color: var(--muted); }
.booking .btn-ghost { background: #fff; }

/* sponsorer */
.sponsor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.sponsor { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 14px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); transition: .2s; }
.sponsor:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(20,20,30,.07); }
.sponsor .logo { height: 96px; display: grid; place-items: center; background: var(--bg); border-radius: 14px; padding: 10px; }
.sponsor img { max-height: 76px; object-fit: contain; mix-blend-mode: multiply; }
.sponsor .name { font-weight: 600; font-size: 14px; text-align: center; }
.logo-text { font-weight: 800; text-align: center; }
.cta-band { background: var(--red); color: #fff; border-radius: 32px; padding: 44px; }
.cta-band .btn { background: #fff; color: var(--red); }
.sponsor-detail { display: grid; grid-template-columns: 360px 1fr; gap: 20px; align-items: stretch; }
.logo-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px; display: grid; place-items: center; min-height: 240px; }

/* dokumenter */
.docs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.doc { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.doc h2 { font-size: 22px; }
.doc h2 a { color: var(--ink); text-decoration: none; }
.doc p { color: var(--muted); }
.files { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.files a { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--bg); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.files a:hover { background: var(--red-soft); }
.pdf { background: var(--red); color: #fff; font-size: 11px; font-weight: 800; padding: 4px 7px; border-radius: 7px; }

/* footer */
.site-footer { margin-top: 70px; padding-bottom: 20px; }
.footer-card { background: #fff; border: 1px solid var(--line); border-radius: 32px; padding: clamp(26px, 4vw, 48px); }
.site-footer .cols { display: grid; grid-template-columns: 1.2fr 1.2fr 1fr; gap: 36px; }
.site-footer h4 { font-size: 18px; }
.site-footer .link-list a { background: var(--bg); color: var(--ink); }
.site-footer .link-list li:last-child a { display: inline; background: none; padding: 0 4px; color: var(--red); }
.site-footer .link-list li:last-child { padding: 6px 10px; }
.legal { text-align: center; color: var(--muted); font-size: 14px; }

.design-switch { position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 50; display: flex; gap: 4px; align-items: center; background: var(--ink); padding: 6px; border-radius: 16px; font-weight: 700; font-size: 13px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.design-switch a { color: #fff; text-decoration: none; padding: 7px 12px; border-radius: 11px; }
.design-switch a.on { background: var(--red); }
.design-switch .lbl { color: #aaa; }

.reveal { opacity: 0; transform: translateY(16px) scale(.98); transition: .5s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .menu-btn { display: block; background: var(--bg); border: 0; padding: 10px 14px; border-radius: 12px; font: 700 15px var(--font); color: var(--ink); }
  .login { display: none; }
  .bar { flex-wrap: wrap; }
  #nav { display: none; width: 100%; padding: 6px 0 4px; }
  .nav-open #nav { display: block; }
  #nav ul { flex-direction: column; }
  #nav .sub { display: flex !important; position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
  .bento { grid-template-columns: 1fr 1fr; }
  .b-hero { grid-column: span 2; min-height: 420px; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .values, .steps, .contacts-cards { grid-template-columns: 1fr 1fr; }
  .sport-head, .content-grid, .sponsor-detail { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .booking { flex-direction: column; align-items: flex-start; }
  .side-card { position: static; }
  .filter { position: static; }
}
@media (max-width: 600px) {
  .values, .steps, .contacts-cards { grid-template-columns: 1fr; }
  .b-hero .txt { padding: 24px; }
  .values-card { padding: 28px; }
}
[hidden] { display: none !important; }
