/* AK28 – felles stil
   Farger og font samlet her, så de er enkle å endre. */
/* Fontene ligger på siden selv (ingen kall til Google) */
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/barlow-condensed-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/barlow-condensed-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/barlow-condensed-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/inter-latin-700-normal.woff2') format('woff2'); }

:root {
  --red: #C8281E;
  --red-dark: #8E1A13;
  --red-soft: #FBE9E7;
  --red-light: #FFE3E0;
  --ink: #1C1416;
  --muted: #5A4E50;
  --line: #EFE3E1;
  --line-strong: #E3CFCC;
  --bg: #FAF6F5;
  --white: #FFFFFF;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 20px;
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: #B3241B; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: 1; margin: 0; overflow-wrap: break-word; hyphens: auto; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.on-red :focus-visible, .site-footer :focus-visible, .dark :focus-visible { outline-color: var(--white); }

.container { max-width: var(--max); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 72px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-title { font-size: clamp(2.25rem, 5vw, 3.5rem); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
.muted { color: var(--muted); }
.link-strong { font-weight: 700; font-size: 15px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 12px 16px; z-index: 100; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Knapper */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.2; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: #B3241B; color: var(--white); }
.btn-white { background: var(--white); color: var(--red); }
.btn-white:hover { background: var(--red-light); color: var(--red-dark); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.btn-outline { background: var(--white); color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--red); color: var(--red); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Toppfelt */
.site-header { background: var(--white); border-bottom: 4px solid var(--red); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 52px; height: 50px; object-fit: contain; }
.brand-name { display: block; font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; }
.brand-sub { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.main-nav a { display: block; padding: 12px 10px; text-decoration: none; font-size: 14px; font-weight: 500; border-bottom: 2px solid transparent; }
.main-nav a[aria-current="page"] { font-weight: 700; border-bottom-color: var(--red); }
.main-nav .btn { margin-left: 8px; padding: 10px 20px; min-height: 44px; border-bottom: 0; font-size: 14px; }
.menu-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--line-strong); background: var(--white); font: inherit; font-weight: 700; cursor: pointer; color: var(--ink); }

@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 4px solid var(--red); box-shadow: 0 12px 24px rgba(28,20,22,0.12); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 8px 24px 20px; }
  .main-nav a { padding: 14px 4px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .main-nav a[aria-current="page"] { border-bottom: 1px solid var(--line); color: var(--red); }
  .main-nav .btn { margin: 12px 0 0; justify-content: center; }
}

/* Røde topper */
.on-red { background: var(--red); color: var(--white); position: relative; overflow: hidden; }
.on-red a:not(.btn) { color: var(--white); }
.ring { position: absolute; border-radius: 50%; border: 3px solid rgba(255,255,255,0.10); pointer-events: none; }
.ring.dashed { border-style: dashed; }
.hero-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 72px; padding-bottom: 104px; }
.hero-text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-text .eyebrow, .page-hero .eyebrow { color: var(--red-light); }
.hero-title { font-size: clamp(2.75rem, 7.5vw, 7rem); line-height: 0.92; hyphens: manual; }
.outline-text { color: transparent; -webkit-text-stroke: 3px var(--white); }
.hero-lead { max-width: 560px; font-size: 18px; line-height: 1.6; color: #FFECEA; }
.hero-photo { flex: 1 1 400px; max-width: 580px; }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); border: 4px solid var(--white); }
.page-hero .container { position: relative; padding-top: 56px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 16px; }
.page-hero h1 { font-size: clamp(3rem, 7vw, 6rem); line-height: 0.95; }
.page-hero p { max-width: 640px; font-size: 18px; line-height: 1.6; color: #FFECEA; }

/* Kort */
.card { background: var(--white); border-radius: var(--radius); }
.shortcuts { position: relative; margin-top: -56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.shortcut { display: flex; flex-direction: column; gap: 10px; padding: 28px; text-decoration: none; color: var(--ink); box-shadow: 0 8px 24px rgba(28,20,22,0.08); transition: transform .15s ease; }
.shortcut:hover { transform: translateY(-2px); color: var(--ink); }
.shortcut h2 { font-size: 28px; font-weight: 700; }
.shortcut p { font-size: 15px; color: var(--muted); }
.icon { width: 32px; height: 32px; stroke: var(--red); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Helgens kamper + grasrot */
.split { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.weekend { flex: 999 1 560px; min-width: 0; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.weekend h2 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
.match-list { list-style: none; margin: 0; padding: 0; }
.match-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 14px 0; border-top: 1px solid var(--line); }
.match-row:last-child { border-bottom: 1px solid var(--line); }
.match-time { flex: 0 0 120px; font-weight: 700; font-size: 15px; }
.match-teams { flex: 1 1 240px; font-weight: 600; font-size: 16px; }
.pill { display: inline-block; padding: 4px 10px; background: var(--red-soft); color: var(--red-dark); border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.grasrot { flex: 1 1 320px; background: var(--red-soft); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.grasrot h2 { font-size: 34px; }
.grasrot .icon { width: 40px; height: 40px; }

/* Nedtelling */
.dark { background: var(--ink); color: var(--white); }
.countdown { border-radius: 24px; padding: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; position: relative; overflow: hidden; }
.countdown-text { position: relative; flex: 1 1 320px; display: flex; flex-direction: column; gap: 10px; }
.countdown-text .eyebrow { color: #FFB3AB; }
.countdown-text h2 { font-size: clamp(2rem, 6vw, 2.75rem); }
.countdown-text .date { font-size: 16px; color: #E8DCDA; }
.countdown-clock { position: relative; flex: 1 1 480px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tick { background: var(--red); border-radius: 16px; padding: 20px 8px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.tick.light { background: var(--white); color: var(--ink); }
.tick-num { font-family: var(--display); font-weight: 800; font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1; font-variant-numeric: tabular-nums; }
.tick-label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.started-msg { flex: 1 1 480px; padding: 32px; background: var(--red); border-radius: 16px; font-family: var(--display); font-weight: 800; font-size: 48px; text-transform: uppercase; text-align: center; }

/* Nyheter */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.news { display: flex; flex-direction: column; overflow: hidden; }
.news img, .news .placeholder { width: 100%; height: 200px; object-fit: cover; }
.news-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.news h3 { font-size: 26px; font-weight: 700; line-height: 1.05; }
.news p { font-size: 15px; color: var(--muted); }
.news.featured { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
.news.featured img { flex: 1 1 320px; min-width: 0; width: auto; height: 420px; object-position: center 38%; }
.news.featured .news-body { flex: 1 1 280px; padding: 40px; justify-content: center; }
.news.featured h3 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
.news.featured p { font-size: 17px; }
.placeholder { background: #F3E6E4; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; text-align: center; padding: 16px; }

/* Kalender */
.calendar { display: flex; flex-wrap: wrap; gap: 32px; padding: 40px; }
.calendar-text { flex: 1 1 280px; display: flex; flex-direction: column; gap: 16px; }
.calendar-text h2 { font-size: clamp(2rem, 6vw, 3rem); }
.calendar-frame { flex: 999 1 520px; min-width: 0; min-height: 420px; border: 0; border-radius: 16px; width: 100%; }

/* Om klubben */
.about { display: flex; flex-wrap: wrap; gap: 24px; }
.about-photo { flex: 1 1 420px; min-width: 0; position: relative; display: block; border-radius: var(--radius); overflow: hidden; min-height: 340px; text-decoration: none; }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.about-photo span { position: absolute; left: 16px; bottom: 16px; padding: 10px 16px; background: var(--white); color: var(--ink); border-radius: 999px; font-weight: 700; font-size: 14px; }
.tiles { flex: 999 1 480px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; align-content: start; }
.tile { display: flex; justify-content: space-between; align-items: center; padding: 24px; background: var(--red); color: var(--white); text-decoration: none; border-radius: 16px; font-family: var(--display); font-weight: 700; font-size: 24px; text-transform: uppercase; }
.tile:hover { background: #B3241B; color: var(--white); }
.tile.dark-tile { background: var(--ink); }

/* Sponsorer */
.sponsors { background: var(--white); padding: 72px 0; margin-top: 96px; }
.sponsor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 16px; }
.sponsor { height: 88px; border-radius: 12px; background: #F4F2EE; display: flex; align-items: center; justify-content: center; font-weight: 600; color: var(--muted); font-size: 14px; text-align: center; padding: 8px; }

/* Bunntekst */
.site-footer { background: var(--red-dark); color: var(--white); padding: 64px 0 32px; }
.site-footer a { color: var(--white); }
.footer-cols { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.footer-col { flex: 1 1 220px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.6; }
.footer-col:first-child { flex-basis: 280px; gap: 12px; }
.footer-label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #FFD2CD; }
.footer-soft { color: #F6D9D6; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand .logo-box { width: 80px; height: 80px; background: var(--white); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.footer-brand img { width: 64px; height: 62px; object-fit: contain; }
.footer-brand span { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; }
.social { display: flex; gap: 12px; }
.social a { width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; }
.social a:hover { background: rgba(255,255,255,0.12); }
.social svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer-bottom { margin-top: 48px; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 24px; font-size: 13px; color: #F6D9D6; }

/* Lag-siden */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip { min-height: 44px; padding: 10px 20px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; background: var(--white); color: var(--ink); border: 2px solid var(--line-strong); }
.chip[aria-pressed="true"] { background: var(--red); color: var(--white); border-color: var(--red); }
.chip.dark-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.team { display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 8px 24px rgba(28,20,22,0.06); }
.team img, .team .placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.team .placeholder { flex-direction: column; gap: 8px; }
.team-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.team h2 { font-size: 30px; font-weight: 700; }
.team dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 15px; }
.team dt { color: var(--muted); }
.team dd { margin: 0; }
.team .btn { align-self: flex-start; margin-top: auto; min-height: 44px; padding: 10px 18px; font-size: 14px; background: var(--white); color: var(--red); border-color: var(--red); }
.team .btn[aria-expanded="true"], .team .btn:hover { background: var(--red); color: var(--white); }
.panel { scroll-margin-top: 110px; margin-bottom: 32px; border: 2px solid var(--red); overflow: hidden; }
.panel-head { background: var(--red); color: var(--white); padding: 24px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.panel-head .eyebrow { color: var(--red-light); }
.panel-head h2 { font-size: clamp(2rem, 6vw, 2.5rem); }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.5); background: transparent; color: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.icon-btn svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; fill: none; }
.panel-body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 20px; }
.panel-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.table-wrap { overflow-x: auto; }
.league { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.league th { text-align: center; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; padding: 10px 8px; }
.league th:nth-child(2), .league td:nth-child(2) { text-align: left; }
.league td { padding: 12px 8px; text-align: center; border-top: 1px solid var(--line); }
.league tr.mine td { background: var(--red-soft); color: var(--red-dark); font-weight: 700; }
.result { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--ink); color: var(--white); }
.result.upcoming { background: var(--red-soft); color: var(--red-dark); }
.cta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 32px; border: 2px solid var(--red); }
.cta-box h2 { font-size: 32px; }

/* Ny i AK28 */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.step { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--red); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 26px; }
.step h3 { font-size: 28px; font-weight: 700; }
.step p { font-size: 15px; color: var(--muted); }
.price { flex: 999 1 520px; min-width: 0; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.price h2, .bring h2 { font-size: clamp(2rem, 6vw, 2.5rem); }
.price table { width: 100%; min-width: 420px; border-collapse: collapse; font-size: 15px; }
.price th { text-align: left; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; padding: 10px 8px; }
.price td { padding: 12px 8px; border-top: 1px solid var(--line); }
.price tr:last-child td { border-bottom: 1px solid var(--line); }
.price td:first-child { font-weight: 600; }
.bring { flex: 1 1 300px; border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.bring ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.bring li { display: flex; gap: 12px; align-items: center; }
.bring svg { width: 20px; height: 20px; stroke: #FFB3AB; stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.bring p { font-size: 14px; color: #E8DCDA; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--white); border-radius: 16px; padding: 0 24px; }
.faq summary { padding: 20px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 20px; font-size: 15px; line-height: 1.6; color: var(--muted); }

.page-end { padding-bottom: 96px; }

@media (max-width: 640px) {
  .hero-inner { padding-top: 48px; gap: 32px; }
  .countdown, .calendar, .weekend, .grasrot, .price, .bring, .cta-box { padding: 24px; }
  .countdown-clock { gap: 8px; }
  .tick { padding: 14px 4px; }
  .news.featured img { height: 280px; }
  .news.featured .news-body { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shortcut { transition: none; }
}

/* ---------- Undersider ---------- */
.crumbs { font-size: 14px; color: var(--red-light); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--white); }
.lead { font-size: 18px; line-height: 1.7; max-width: 760px; }
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 16px; font-size: 17px; line-height: 1.7; }
.prose h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-top: 16px; }
.prose ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.two-col { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.two-col > .main-col { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.two-col > .side-col { flex: 1 1 320px; display: flex; flex-direction: column; gap: 24px; }
.box { padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.box h2 { font-size: clamp(1.75rem, 4vw, 2.25rem); }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.facts li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 16px; }
.facts li:last-child { border-bottom: 1px solid var(--line); }
.facts .k { color: var(--muted); }
.facts .v { font-weight: 600; text-align: right; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.feature { padding: 24px; display: flex; gap: 14px; align-items: center; font-weight: 600; font-size: 16px; }
.feature .icon { flex: 0 0 auto; }
.rules { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.rules li { padding: 20px 24px; background: var(--white); border-radius: 16px; border-left: 0; display: flex; flex-direction: column; gap: 4px; }
.rules strong { font-size: 16px; }
.rules span { color: var(--muted); font-size: 15px; line-height: 1.6; }
.embed { width: 100%; min-height: 460px; border: 0; border-radius: 16px; background: #F3E6E4; display: block; }
.photo-wide { width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--radius); }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.person { padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.person .avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--red-soft); color: var(--red-dark); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 22px; margin-bottom: 8px; }
.person .role { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); }
.person .name { font-weight: 700; font-size: 18px; }
.person a { font-size: 15px; }
.person.lead-person { border: 2px solid var(--red); }
.hub { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.hub a { padding: 28px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); box-shadow: 0 8px 24px rgba(28,20,22,0.06); }
.hub a:hover { color: var(--ink); outline: 2px solid var(--red); }
.hub h2 { font-size: 28px; font-weight: 700; }
.hub p { color: var(--muted); font-size: 15px; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: flex; flex-direction: column; gap: 40px; }
.era { display: flex; flex-wrap: wrap; gap: 16px 40px; }
.era-head { flex: 1 1 220px; }
.era-head .years { font-family: var(--display); font-weight: 800; font-size: 48px; line-height: 1; color: var(--red); }
.era-head h2 { font-size: 26px; margin-top: 6px; }
.era-events { flex: 999 1 480px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.era-events li { display: flex; gap: 20px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.6; }
.era-events li:last-child { border-bottom: 1px solid var(--line); }
.era-events .y { flex: 0 0 96px; font-weight: 700; }
.tier { display: flex; flex-direction: column; gap: 16px; }
.tier + .tier { margin-top: 40px; }
.tier h2 { font-size: 28px; display: flex; align-items: center; gap: 12px; }
.tier-grid { display: grid; gap: 16px; }
.tier-1 .tier-grid { grid-template-columns: minmax(0, 520px); }
.tier-1 .sponsor { height: 180px; font-size: 18px; }
.tier-2 .tier-grid { grid-template-columns: minmax(0, 400px); }
.tier-2 .sponsor { height: 140px; }
.tier-3 .tier-grid { grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); }
.tier-3 .sponsor { height: 110px; }
.tier-4 .tier-grid { grid-template-columns: repeat(auto-fill, minmax(min(160px, 100%), 1fr)); }
.sponsor { background: var(--white); border: 1px solid var(--line); }
.medal { width: 18px; height: 18px; border-radius: 50%; display: inline-block; }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; font-size: 22px; letter-spacing: 0.12em; padding: 8px 14px; background: var(--red-soft); color: var(--red-dark); border-radius: 10px; align-self: flex-start; }
.notice { padding: 16px 20px; background: #FFF7E6; border-radius: 12px; color: #6B4A00; font-size: 15px; }

/* ---------- Leieskjema ---------- */
.notice.success { background: #E8F7EF; color: #11633B; margin-top: 32px; }
.booking-form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.booking-form legend { font-family: var(--display); font-weight: 800; font-size: 22px; text-transform: uppercase; margin-bottom: 10px; padding: 0; }
.booking-form fieldset + fieldset { margin-top: 12px; }
.field-row { display: flex; flex-wrap: wrap; gap: 14px; }
.field-row .field { flex: 1 1 160px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; min-width: 0; }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 12px 14px; border: 2px solid var(--line-strong); border-radius: 12px; background: var(--white); color: var(--ink); min-height: 48px; width: 100%; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.choice-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.choice-label { font-weight: 600; font-size: 15px; width: 100%; }
.choice, .check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; cursor: pointer; }
.choice { align-items: center; min-height: 44px; padding: 0 16px; border: 2px solid var(--line-strong); border-radius: 999px; }
.choice:has(input:checked) { border-color: var(--red); background: var(--red-soft); }
.choice input, .check input { width: 20px; height: 20px; accent-color: var(--red); flex: 0 0 auto; margin: 2px 0 0; }
.choice input { margin: 0; }
.form-error { color: #B3241B; font-weight: 600; margin: 0; }

/* Sponsorlogoer: bildet fyller boksen, og object-fit: contain holder alltid originalformatet
   (unngår at Safari strekker bilder i flex-bokser). */
.sponsor { position: relative; overflow: hidden; }
.sponsor img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; object-position: center; padding: 18px 12%; box-sizing: border-box; }
.tier-1 .sponsor img { padding: 32px 16%; }
.tier-2 .sponsor img { padding: 26px 14%; }
/* Logoer som har egen luft rundt seg i bildefilen får class="fill" */
.sponsor img.fill { padding: 0; }
/* Stående logoer (høyere enn brede) får mindre luft over og under */
.sponsor img.tall { padding-top: 8px; padding-bottom: 8px; }
/* Sponsorlogoer som lenker til bedriftens nettside */
a.sponsor { cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
a.sponsor:hover { border-color: var(--red); box-shadow: 0 6px 18px rgba(28,20,22,0.10); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { a.sponsor { transition: none; } a.sponsor:hover { transform: none; } }

/* ---------- Om klubben ---------- */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.value { padding: 28px; display: flex; flex-direction: column; gap: 10px; border-top: 6px solid var(--red); }
.value-word { font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1; text-transform: uppercase; color: var(--red); }
.value p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.stats { margin: 0; border-radius: var(--radius); padding: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 24px; }
.stats div { display: flex; flex-direction: column-reverse; gap: 6px; }
.stats dt { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: #FFB3AB; }
.stats dd { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1; }
.main-col > .era-events { flex: none; }

/* ---------- Klubbhistorie ---------- */
.kh-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.kh-toc { flex: 1 1 260px; max-width: 320px; padding: 24px; position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow-y: auto; }
.kh-toc h2 { font-size: 24px; margin-bottom: 12px; }
.kh-toc ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.4; }
.kh-toc a { text-decoration: none; }
.kh-toc a:hover { text-decoration: underline; }
.kh-article { flex: 999 1 560px; min-width: 0; max-width: 860px; font-size: 17px; line-height: 1.7; }
.kh-article p { margin: 0 0 16px; }
.kh-intro { font-size: 19px; padding-bottom: 8px; }
.kh-section { padding-top: 48px; scroll-margin-top: 100px; }
.kh-section h2 { font-size: clamp(2rem, 5vw, 2.75rem); margin-bottom: 20px; padding-top: 16px; border-top: 4px solid var(--red); }
.kh-article h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 24px; margin: 28px 0 10px; }
.kh-article ul, .kh-article ol { margin: 0 0 16px; padding-left: 22px; }
.kh-article li { margin-bottom: 6px; }
.kh-date { display: block; color: var(--red); font-family: var(--display); font-size: 20px; text-transform: uppercase; letter-spacing: 0.02em; margin-top: 8px; }
.kh-figure { margin: 24px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.kh-figure img { width: auto; max-width: 100%; height: auto; border-radius: 12px; background: #F3E6E4; }
.kh-figure figcaption { font-size: 14px; line-height: 1.55; color: var(--muted); max-width: 640px; }
.kh-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 24px; margin: 24px 0; align-items: start; }
.kh-gallery .kh-figure { margin: 0; align-items: stretch; }
.kh-gallery .kh-figure img { width: 100%; }
.kh-leaders { columns: 2 220px; column-gap: 32px; }
.kh-leaders li { break-inside: avoid; }
@media (max-width: 860px) { .kh-toc { position: static; max-width: none; max-height: none; } }
.vision { background: var(--red); color: var(--white); border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; gap: 12px; }
.vision .eyebrow { color: var(--red-light); }
.vision h2 { font-size: clamp(2.25rem, 6vw, 4.5rem); line-height: 0.95; }
.prose .quote { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 3.5vw, 2rem); line-height: 1.15; text-transform: uppercase; color: var(--red); border-left: 6px solid var(--red); padding-left: 18px; }
.side-col > .photo-wide + .photo-wide { margin-top: 0; }
.focus-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.focus { padding: 28px; display: flex; flex-direction: column; gap: 12px; border-top: 6px solid var(--red); }
.focus h3 { font-size: 28px; font-weight: 800; }
.focus .goal { font-weight: 600; font-size: 16px; line-height: 1.5; }
.focus ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.focus strong { color: var(--ink); }
.vision { text-align: center; align-items: center; padding: clamp(40px, 7vw, 88px) clamp(24px, 5vw, 64px); }
.vision h2 { font-size: clamp(2rem, 8vw, 6.5rem); max-width: 18ch; hyphens: manual; overflow-wrap: normal; }

/* ---------- Nyheter ---------- */
.news-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); }
.news-link:hover { color: var(--ink); }
.news-link:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; }
.news.featured .news-link { flex-direction: row; flex-wrap: wrap; }
.news img { object-position: center 30%; }
.news .link-strong { margin-top: auto; color: var(--red); }
.news-body { flex: 1; }
.article { max-width: 800px; }
.article-meta { font-size: 15px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--red-light) !important; }
.article-lead { font-size: 21px; line-height: 1.6; font-weight: 500; margin-bottom: 28px; }
.article-figure { margin: 0 0 32px; }
.article-figure img { width: 100%; height: auto; border-radius: var(--radius); }
.article-figure figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.article .prose { max-width: none; }
.article .prose img { border-radius: 12px; height: auto; }
.article .prose table { width: 100%; max-width: 480px; border-collapse: collapse; margin: 8px 0 24px; font-size: 16px; }
.article .prose th, .article .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line, #eadede); }
.article .prose th { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.article .prose td:last-child, .article .prose th:last-child { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.article .prose img { width: 100%; margin: 8px 0 24px; }
.article .prose h3 { margin-top: 32px; }

/* ---------- Dokumentsider (klubbhåndbok, sportsplan) ---------- */
.doc-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 960px) { .doc-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; } .doc-toc { position: sticky; top: 104px; } }
.doc-toc nav { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: 0 8px 24px rgba(28,20,22,0.06); }
.doc-toc ol { margin: 12px 0 16px; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.doc-toc a { color: var(--ink); }
.doc-toc a:hover { color: var(--red); }
.doc-toc .doc-other { display: inline-block; font-weight: 700; color: var(--red); font-size: 15px; }
.doc { max-width: 820px; }
.doc h2 { scroll-margin-top: 100px; margin-top: 40px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 22px; margin-top: 16px; }
.doc ol, .doc ul ul { padding-left: 22px; }
.doc ul ul { margin-top: 8px; }
.doc-table { overflow-x: auto; }
.doc-table table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.55; background: var(--white); border-radius: 12px; overflow: hidden; }
.doc-table th { text-align: left; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--white); background: var(--red); padding: 12px 16px; }
.doc-table td { padding: 14px 16px; border-bottom: 1px solid #eee3e3; vertical-align: top; }
.doc-table td:first-child { min-width: 150px; }
.doc-table tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .doc-table thead { display: none; }
  .doc-table table, .doc-table tbody, .doc-table tr, .doc-table td { display: block; }
  .doc-table tr { border-bottom: 1px solid #eee3e3; padding: 12px 0; }
  .doc-table td { border: 0; padding: 4px 16px; }
  .doc-table td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .doc-table td:first-child::before { display: none; }
  .doc-table td:first-child { font-size: 18px; }
}

/* ---------- Kamper ---------- */
.match-hall { display: block; font-weight: 400; font-size: 14px; color: var(--muted); margin-top: 2px; }
.kamp-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding: 20px 24px; margin-bottom: 32px; }
.kamp-felt { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.kamp-felt select { min-height: 44px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); font: inherit; font-weight: 500; background: var(--white); max-width: 100%; }
.kamp-check { display: flex; align-items: center; gap: 10px; font-size: 15px; min-height: 44px; }
.kamp-check input { width: 20px; height: 20px; accent-color: var(--red); }
.kamp-dag { font-size: 22px; margin: 32px 0 4px; }
.kampliste .kamp-dag:first-child { margin-top: 0; }
.kampliste .match-time { flex-basis: 64px; }
.kampliste .match-row .result, .weekend .match-row .result { margin-left: auto; }
.news h3, .article h1, .page-hero h1 { hyphens: manual; -webkit-hyphens: manual; overflow-wrap: break-word; }
.link-list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.link-list a { font-weight: 600; }
.box ul:not(.facts):not(.link-list) { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.box .doc-table table { font-size: 15px; }
.box .doc-table td[data-label="Pris"] { white-space: nowrap; }

/* ---------- Treningstider ---------- */
.ukeplan { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 20px; align-items: start; }
.dag-kort { padding: 20px 22px; }
.dag-kort h2 { font-size: 26px; margin: 0 0 8px; color: var(--red); }
.dag-kort ul { list-style: none; margin: 0; padding: 0; }
.dag-kort li { display: flex; gap: 14px; padding: 10px 0; border-top: 1px solid #eee3e3; }
.dag-kort li:first-child { border-top: 0; }
.okt-tid { flex: 0 0 104px; white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; font-size: 15px; }
.okt-lag { flex: 1; font-weight: 600; font-size: 15px; }
.okt-hall { display: block; font-weight: 400; font-size: 14px; color: var(--muted); }
.okt-lag .pill { font-size: 11px; padding: 2px 8px; vertical-align: 1px; }

/* ---------- Viktige datoer ---------- */
.hd-liste, .hd-boks { list-style: none; margin: 0; padding: 0; }
.hd { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-top: 1px solid #eee3e3; }
.hd:first-child { border-top: 0; }
.hd-dag { flex: 0 0 56px; height: 56px; border-radius: 12px; background: var(--red); color: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; line-height: 1; }
.hd-dag b { font-family: 'Barlow Condensed', sans-serif; font-size: 26px; letter-spacing: 0; margin-bottom: 2px; }
.hd-dag.hd-mnd { background: #f6e9e8; color: var(--red); font-size: 14px; }
.hd-meta { display: block; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.hd-tittel { display: block; font-size: 17px; margin-top: 2px; }
.hd-tittel a { color: var(--ink); }
.hd p { margin: 4px 0 0; font-size: 15px; color: var(--muted); }
.arshjul { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 20px; align-items: start; }
.hd-maaned { padding: 20px 22px; }
.hd-maaned h2 { font-size: 26px; margin: 0 0 4px; color: var(--red); display: flex; align-items: center; gap: 10px; }
.hd-maaned.denne { box-shadow: 0 0 0 3px var(--red); }
@media (min-width: 860px) { .hd-boks { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; } .hd-boks .hd:nth-child(2) { border-top: 0; } }
#vis-tidligere { margin-bottom: 8px; }
.pris-tabell th[scope="row"] { text-align: left; font-weight: 600; }
.pris-tabell td { white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.pris-tabell thead th:not(:first-child) { text-align: right; }
.pris-tabell td:last-child { font-weight: 700; }
.price .pris-tabell { min-width: 0; }
.price .pris-tabell th[scope="row"] { text-transform: none; letter-spacing: 0; color: var(--ink); font-size: 15px; font-weight: 600; padding: 12px 8px; border-top: 1px solid var(--line); }
.pris-del { display: none; font-weight: 400; font-size: 13px; color: var(--muted); margin-top: 2px; }
@media (max-width: 640px) {
  .pris-tabell thead th:nth-child(2), .pris-tabell thead th:nth-child(3),
  .pris-tabell tbody tr td:nth-last-child(2), .pris-tabell tbody tr td:nth-last-child(3) { display: none; }
  .pris-tabell tbody tr td:only-of-type { display: table-cell; }
  .pris-del { display: block; }
}

/* ---------- Forside: animert illustrasjon (mål!) ---------- */
.hero-illu { display: block; width: 100%; height: auto; overflow: visible; }
.hero-illu * { transform-box: fill-box; }
.hb-ball { transform: translate(104.0px, 262.0px); animation: hb-ball 5s cubic-bezier(.3,.1,.5,1) infinite; transform-box: view-box; transform-origin: 0 0; }
.hb-spor { stroke-dashoffset: 0; animation: hb-spor 5s linear infinite; opacity: 0; }
.hb-nett { transform-origin: 50% 50%; animation: hb-nett 5s ease-out infinite; }
.hb-tekst { transform-origin: 50% 80%; animation: hb-tekst 5s cubic-bezier(.2,1.6,.4,1) infinite; opacity: 0; }
.hb-spiller { transform-origin: 50% 100%; animation: hb-hopp 5s ease-in-out infinite; }
@keyframes hb-hopp { 0% { transform: translateY(0); } 5% { transform: translateY(-14px); } 12% { transform: translateY(-6px); } 20%, 100% { transform: translateY(0); } }
.hb-konf { opacity: 0; animation: hb-konf 5s ease-out infinite; transform-box: view-box; }
@keyframes hb-spor { 0% { opacity: .0; } 4% { opacity: .55; } 34% { opacity: .55; } 50%, 100% { opacity: 0; } }
@keyframes hb-nett { 0%, 33% { transform: none; } 38% { transform: translate(8px, 4px) scale(1.04, 1.03); } 46% { transform: translate(-2px, 0) scale(.99); } 54%, 100% { transform: none; } }
@keyframes hb-tekst { 0%, 35% { opacity: 0; transform: scale(.3) rotate(-8deg); } 42% { opacity: 1; transform: scale(1) rotate(-4deg); } 70% { opacity: 1; transform: scale(1) rotate(-4deg); } 78%, 100% { opacity: 0; transform: scale(1.1) rotate(-4deg); } }
@keyframes hb-konf { 0%, 35% { opacity: 0; transform: translate(0, 0) rotate(0); } 37% { opacity: 1; } 62% { opacity: 1; } 75%, 100% { opacity: 0; transform: translate(var(--dx), calc(var(--dy) + 40px)) rotate(var(--r)); } }
@keyframes hb-ball {
  0%, 6% { transform: translate(104.0px, 262.0px) rotate(0deg); opacity: 1; }
  8.00% { transform: translate(128.9px, 209.0px) rotate(48deg); opacity: 1; }
  10.00% { transform: translate(153.7px, 163.8px) rotate(96deg); opacity: 1; }
  12.00% { transform: translate(178.6px, 126.3px) rotate(144deg); opacity: 1; }
  14.00% { transform: translate(203.4px, 96.6px) rotate(192deg); opacity: 1; }
  16.00% { transform: translate(228.3px, 74.7px) rotate(240deg); opacity: 1; }
  18.00% { transform: translate(253.1px, 60.4px) rotate(288deg); opacity: 1; }
  20.00% { transform: translate(278.0px, 54.0px) rotate(336deg); opacity: 1; }
  22.00% { transform: translate(302.9px, 55.3px) rotate(384deg); opacity: 1; }
  24.00% { transform: translate(327.7px, 64.4px) rotate(432deg); opacity: 1; }
  26.00% { transform: translate(352.6px, 81.2px) rotate(480deg); opacity: 1; }
  28.00% { transform: translate(377.4px, 105.8px) rotate(528deg); opacity: 1; }
  30.00% { transform: translate(402.3px, 138.1px) rotate(576deg); opacity: 1; }
  32.00% { transform: translate(427.1px, 178.2px) rotate(624deg); opacity: 1; }
  34.00% { transform: translate(452.0px, 226.0px) rotate(672deg); opacity: 1; }
  40% { transform: translate(480px, 238px) rotate(700deg) scale(.92); opacity: 1; }
  72% { transform: translate(482px, 270px) rotate(720deg) scale(.92); opacity: 1; }
  80%, 99% { transform: translate(482px, 270px) rotate(720deg) scale(.92); opacity: 0; }
  100% { transform: translate(104.0px, 262.0px) rotate(0deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hb-ball, .hb-spor, .hb-nett, .hb-tekst, .hb-konf, .hb-spiller { animation: none; }
  .hb-ball { transform: translate(480px, 238px); }
  .hb-tekst { opacity: 1; transform: rotate(-4deg); }
  .hb-spor { opacity: .55; }
}
.hero-illu-wrap { max-width: 600px; }
@media (min-width: 1200px) {
  .hero-inner:has(.hero-illu-wrap) .hero-text { flex: 1 1 540px; }
  .hero-illu-wrap { flex: 1 1 520px; max-width: 640px; }
}
@media (min-width: 1200px) {
  .hero-inner:has(.hero-illu-wrap) .hero-title { font-size: clamp(3.5rem, 5.4vw, 5.25rem); white-space: nowrap; }
}
.doc-vedtatt { font-size: 14px !important; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .85; margin-top: 4px; }
