/* Nordic Gig – designsystem (6.11.2026). Ny visuell identitet 7.11.2026 (forslag 2): NG der diagonalen i N går over i en rund G,
   tegnet ordbilde «NORDIC GIG», mørk marineblå bunn og fargene fra det første Nordic Gig-designet (mint, blått, lilla, korall).
   Se docs/nordic-gig/designmanual.md.
   Logofilene genereres av tools/gig_merke.py (static/gig/merke).
   Egen merkevare, adskilt fra Nordic Base: dyp indigo, kjølig papir og scenelys (blå, fiolett, magenta). Ingen eksterne fonter
   (personvern og fart), ingen stockbilder: bilder kommer fra partnernes profiler og fra lageret i Nordic Base.
   Mål WCAG 2.2 AA: kontrast ≥ 4,5:1 for tekst, synlig fokus, trykkflater ≥ 44 px, respekterer «redusert bevegelse».
   Regel fra Christian 6.11: kort side om side er like høye (grid + align-items: stretch, innhold i flex-kolonne). */

:root {
  /* marineblått (hovedfarge), sølvhvitt og fargene fra første design – kontrast kontrollert mot WCAG 2.2 AA */
  --g-night: #0A1430; --g-night-2: #111E45; --g-night-3: #1B2B5E; --g-night-line: #24356A; --g-night-deep: #060B1D;
  --g-paper: #F4F5F9; --g-paper-2: #ECEEF5; --g-card: #ffffff; --g-line: #DFE2EC; --g-line-2: #C9CEDD;
  --g-ink: #0A1430; --g-ink-2: #2A3557; --g-muted: #545E7A; --g-on-night: #F3F5FB; --g-on-night-muted: #A9B2C8;
  --g-silver: #E8EBF4; --g-lilla: #A78BFA; --g-bla: #6FA8FF; --g-korall: #FF7A59; --g-mintb: #5EF2C3;
  --g-mint: #5EF2C3; --g-violet: #7C4DFF; --g-ember: #FF7A59; --g-blue: #3B6CF6;
  --g-brand: linear-gradient(100deg, #5EF2C3 0%, #6FA8FF 55%, #A78BFA 100%);   /* G i symbolet, merker og detaljer */
  --g-brand-text: linear-gradient(92deg, #5EF2C3 0%, #6FA8FF 38%, #A78BFA 68%, #FF7A59 100%);   /* uthevet tekst (som i første design) */
  --g-accent: #4F3CF0; --g-accent-hover: #3F2CD6; --g-accent-soft: #EEEBFF;   /* indigo: knapper og lenker på lys bunn */
  /* NG-symbolet: standard er effektversjonen for mørk bunn (spriten). På lys bunn: --g-logo-stem/-diag/-fg: #0A1430; --g-logo-g: #0B8A6B */
  --g-ok: #0b6e4f; --g-ok-soft: #e3f6ee; --g-warn: #8a5300; --g-warn-soft: #fff2dc; --g-err: #b42318; --g-err-soft: #fdecea;
  --g-radius: 20px; --g-radius-md: 14px; --g-radius-sm: 10px; --g-pill: 999px;
  --g-shadow: 0 1px 2px rgba(10, 11, 16, .05), 0 10px 30px rgba(10, 11, 16, .07);
  --g-shadow-lift: 0 2px 4px rgba(10, 11, 16, .06), 0 18px 44px rgba(10, 11, 16, .12);
  --g-font: "Inter var", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --g-wrap: 1200px; --g-gap: clamp(16px, 2.4vw, 28px);
  --g-aurora: radial-gradient(55% 80% at 6% 0%, rgba(94, 242, 195, .16), transparent 62%),
              radial-gradient(50% 72% at 96% 100%, rgba(124, 77, 255, .32), transparent 62%),
              radial-gradient(40% 60% at 50% 112%, rgba(255, 122, 89, .12), transparent 64%), var(--g-night);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body.g { margin: 0; font-family: var(--g-font); font-size: 16px; line-height: 1.6; color: var(--g-ink); background: var(--g-paper);
         -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: "ss01", "cv11"; }
.g img { max-width: 100%; height: auto; display: block; }
.g svg { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }   /* ikoner: størrelse fra teksten; større ikoner settes under */
.g a { color: var(--g-accent); text-underline-offset: 3px; }
.g a:hover { color: var(--g-accent-hover); }
.g :focus-visible { outline: 3px solid var(--g-accent); outline-offset: 3px; border-radius: 6px; }
.g .on-night :focus-visible, .g-hero :focus-visible, .g-header :focus-visible, .g-footer :focus-visible { outline-color: var(--g-mint); }
.g h1, .g h2, .g h3, .g h4 { line-height: 1.12; letter-spacing: -.022em; margin: 0 0 .45em; font-weight: 750; color: inherit; }
.g h1 { font-size: clamp(2.1rem, 5.2vw, 4.1rem); letter-spacing: -.035em; font-weight: 800; }
.g h2 { font-size: clamp(1.55rem, 3vw, 2.35rem); }
.g h3 { font-size: 1.16rem; letter-spacing: -.012em; }
.g p { margin: 0 0 1em; }
.g-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.g-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--g-mint); color: var(--g-night) !important; padding: 10px 16px;
          border-radius: var(--g-radius-sm); font-weight: 700; text-decoration: none; }
.g-skip:focus { top: 12px; }
.g-wrap { width: 100%; max-width: var(--g-wrap); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.g-muted { color: var(--g-muted); }
.g-small { font-size: .9rem; }
.g-tiny { font-size: .8rem; }
.g-center { text-align: center; }
.g-pre { white-space: pre-line; }
.g-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
             color: var(--g-accent); margin-bottom: 12px; }
.on-night .g-eyebrow, .g-hero .g-eyebrow, .night .g-eyebrow, .aurora .g-eyebrow, .g-page-head .g-eyebrow, .g-card.night .g-eyebrow, .g-phero .g-eyebrow { color: var(--g-mint); }
.g-lede { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--g-ink-2); max-width: 46em; }
.on-night .g-lede, .g-hero .g-lede, .g-page-head .g-lede, .night .g-lede, .aurora .g-lede { color: var(--g-on-night-muted); }

/* ---------------------------------------------------------------- toppmeny */
.g-header { position: sticky; top: 0; z-index: 40; background: rgba(10, 20, 48, .94); color: var(--g-on-night);
            backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--g-night-line); }
.g-util { border-bottom: 1px solid var(--g-night-line); font-size: .84rem; }
.g-util .g-wrap { display: flex; justify-content: flex-end; gap: 6px 18px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.g-util a { color: var(--g-on-night-muted); text-decoration: none; padding: 4px 0; }
.g-util a:hover, .g-util a[aria-current="page"] { color: #fff; }
.g-bar { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.g-logo { display: inline-flex; align-items: center; gap: 12px; color: #fff !important; text-decoration: none; font-weight: 850; font-size: 1.2rem; letter-spacing: .01em; text-transform: uppercase; line-height: 1.05; min-height: 44px; }
/* Logoen: symbol + ordbilde i faste proporsjoner (designmanualen: avstand = 30 % og versalhøyde = 34 % av symbolhøyden) */
.g-logo .g-logo-mark { width: auto; height: 38px; aspect-ratio: 150 / 100; flex: none; vertical-align: middle; }
.g-logo .g-logo-text { display: flex; flex-direction: column; gap: 5px; }
.g-logo .g-logo-word { width: auto; height: 13.3px; aspect-ratio: 920.29 / 103; flex: none; display: block; }
.g-logo b, .g-word b { font-weight: inherit; background: var(--g-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.g-logo small { display: block; font-size: .58rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--g-on-night-muted); margin-top: 0; }
.g-nav { display: flex; align-items: center; gap: 2px; margin-left: 10px; flex: 1; min-width: 0; }
.g-nav a { color: var(--g-on-night); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 10px 12px; border-radius: var(--g-pill); white-space: nowrap; }
.g-nav a:hover { background: var(--g-night-3); color: #fff; }
.g-nav a[aria-current="page"] { background: var(--g-night-3); color: var(--g-mint); }
.g-bar-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.g-cart-link { position: relative; display: inline-flex; align-items: center; gap: 8px; color: #fff !important; text-decoration: none; font-weight: 650;
               padding: 9px 14px; border-radius: var(--g-pill); border: 1px solid var(--g-night-line); min-height: 44px; }
.g-cart-link:hover { border-color: var(--g-mint); }
.g-cart-link svg { width: 20px; height: 20px; }
.g-cart-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--g-pill); background: var(--g-mintb); color: var(--g-night); font-size: .78rem;
                font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.g-menu { display: none; }
.g-menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px;
                  border: 1px solid var(--g-night-line); color: #fff; }
.g-menu summary::-webkit-details-marker { display: none; }
.g-menu summary svg { width: 22px; height: 22px; }
.g-menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--g-night); border-bottom: 1px solid var(--g-night-line); padding: 10px 16px 22px;
                max-height: calc(100vh - 70px); overflow-y: auto; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.g-menu-panel a { display: flex; align-items: center; justify-content: space-between; color: var(--g-on-night); text-decoration: none; font-weight: 650;
                  font-size: 1.06rem; padding: 14px 6px; border-bottom: 1px solid var(--g-night-line); }
.g-menu-panel a[aria-current="page"] { color: var(--g-mint); }
.g-menu-panel .g-btn { margin-top: 16px; width: 100%; justify-content: center; border-bottom: 0; }
@media (max-width: 1180px) { .g-nav a { padding: 10px 9px; font-size: .9rem; } }
@media (max-width: 1060px) { .g-nav, .g-util { display: none; } .g-menu { display: block; } .g-bar-actions .g-login-btn { display: none; } }

/* ---------------------------------------------------------------- knapper og brikker */
.g-btn { --b-bg: var(--g-accent); --b-fg: #fff; --b-bd: var(--g-accent);
         display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 22px; border-radius: var(--g-pill);
         background: var(--b-bg); color: var(--b-fg) !important; border: 1.5px solid var(--b-bd); font: inherit; font-weight: 700; font-size: .98rem;
         letter-spacing: -.005em; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
         white-space: nowrap; }
.g-btn:hover { --b-bg: var(--g-accent-hover); --b-bd: var(--g-accent-hover); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(79, 60, 240, .28); }
.g-btn:active { transform: translateY(0); }
.g-btn svg { width: 18px; height: 18px; flex: none; }
.g-btn.mint { --b-bg: var(--g-mintb); --b-fg: var(--g-night); --b-bd: var(--g-mintb); }   /* hovedknapp på mørk bunn (som i første design) */
.g-btn.mint:hover { --b-bg: #86F6D5; --b-bd: #86F6D5; box-shadow: 0 10px 30px rgba(94, 242, 195, .32); }
.g-btn.ghost { --b-bg: transparent; --b-fg: var(--g-ink); --b-bd: var(--g-line-2); }
.g-btn.ghost:hover { --b-bg: var(--g-paper-2); --b-bd: var(--g-ink); box-shadow: none; }
.g-btn.ghost-night { --b-bg: rgba(255, 255, 255, .04); --b-fg: #fff; --b-bd: rgba(255, 255, 255, .26); }
.g-btn.ghost-night:hover { --b-bg: rgba(255, 255, 255, .1); --b-bd: #fff; box-shadow: none; }
.g-btn.dark { --b-bg: var(--g-ink); --b-fg: #fff; --b-bd: var(--g-ink); }
.g-btn.dark:hover { --b-bg: #000; --b-bd: #000; box-shadow: 0 8px 20px rgba(0, 0, 0, .2); }
.g-btn.danger { --b-bg: #fff; --b-fg: var(--g-err); --b-bd: #f1b8b2; }
.g-btn.danger:hover { --b-bg: var(--g-err-soft); --b-bd: var(--g-err); box-shadow: none; }
.g-btn.sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.g-btn.block { width: 100%; }
.g-btn[disabled], .g-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.g-link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--g-accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 24px; }
.g-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.g-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.g-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--g-pill); background: var(--g-paper-2); color: var(--g-ink-2);
          font-size: .84rem; font-weight: 600; border: 1px solid var(--g-line); text-decoration: none; }
a.g-chip:hover { border-color: var(--g-ink); color: var(--g-ink); }
.on-night .g-chip { background: rgba(255, 255, 255, .06); color: var(--g-on-night); border-color: var(--g-night-line); }
.g-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--g-pill); font-size: .78rem; font-weight: 700;
           background: var(--g-paper-2); color: var(--g-ink-2); border: 1px solid var(--g-line); white-space: nowrap; }
.g-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .7; }
.g-badge.ok { background: var(--g-ok-soft); color: var(--g-ok); border-color: #b8e6d4; }
.g-badge.warn { background: var(--g-warn-soft); color: var(--g-warn); border-color: #f2d7a6; }
.g-badge.err { background: var(--g-err-soft); color: var(--g-err); border-color: #f4c3bd; }
.g-badge.info { background: var(--g-accent-soft); color: var(--g-accent-hover); border-color: #D9D3FF; }
.g-badge.public { background: var(--g-ok-soft); color: var(--g-ok); border-color: #b8e6d4; }
.g-badge.private { background: #f1f1f4; color: #474a57; border-color: #dcdce3; }

/* ---------------------------------------------------------------- seksjoner */
.g-main { min-height: 50vh; }
.g-section { padding: clamp(48px, 7vw, 96px) 0; }
.g-section.tight { padding: clamp(28px, 4vw, 48px) 0; }
.g-section.alt { background: var(--g-paper-2); }
.g-section.night { background: var(--g-night); color: var(--g-on-night); }
.g-section.aurora { background: var(--g-aurora); color: var(--g-on-night); }
.g-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: clamp(20px, 3vw, 34px); }
.g-sec-head > div { max-width: 720px; }
.g-sec-head h2 { margin-bottom: .25em; }
.g-sec-head p { margin: 0; color: var(--g-muted); }
.night .g-sec-head p, .aurora .g-sec-head p { color: var(--g-on-night-muted); }
.g-page-head { background: var(--g-aurora); color: var(--g-on-night); padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 5vw, 60px); }
.g-page-head h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); margin-bottom: .25em; }
.g-page-head .g-lede { margin: 0; }
.g-crumbs { font-size: .85rem; margin-bottom: 14px; color: var(--g-on-night-muted); }
.g-crumbs a { color: var(--g-on-night-muted); }
.g-crumbs a:hover { color: #fff; }

/* ---------------------------------------------------------------- forsiden (ny identitet 7.11.2026) */
/* Scenefoto med eget utsnitt per skjermstørrelse (<picture>, AVIF/WebP), mørk gradient bak teksten. */
.g-hero { position: relative; isolation: isolate; background: var(--g-night); color: var(--g-on-night); overflow: hidden;
          padding: clamp(56px, 7vw, 104px) 0 clamp(36px, 5vw, 56px); }
.g-hero-media { position: absolute; inset: 0; z-index: -2; }
.g-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.g-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 20, 48, .97) 0%, rgba(10, 20, 48, .9) 30%, rgba(10, 20, 48, .45) 58%, rgba(10, 20, 48, .12) 100%),
              linear-gradient(180deg, rgba(10, 20, 48, 0) 52%, rgba(10, 20, 48, .82) 84%, var(--g-night) 100%); }
.g-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(232, 235, 244, .18), transparent); }
.g-hero-inner { position: relative; }
.g-hero-copy { max-width: 840px; }
.g-claim { display: inline-flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 650; letter-spacing: .28em; text-transform: uppercase; color: var(--g-mint); margin: 0 0 18px; }
.g-claim::before { content: ""; width: 28px; height: 2px; background: var(--g-brand); border-radius: 2px; }
.g-hero h1 { max-width: 13.5em; margin-bottom: .35em; font-size: clamp(2.2rem, 5vw, 4rem); color: #fff; }
.g-hero h1 em { font-style: normal; background: var(--g-brand-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.g-hero .g-lede { margin-bottom: 26px; max-width: 34em; color: #C9D0E2; }
.g-offer { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 30px; padding: 0; }
.g-offer a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 9px 16px; border-radius: var(--g-pill); text-decoration: none; font-weight: 650; font-size: .94rem;
             color: var(--g-on-night) !important; background: rgba(232, 235, 244, .07); border: 1px solid rgba(232, 235, 244, .18); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.g-offer a:hover { background: rgba(94, 242, 195, .12); border-color: var(--g-mintb); }
.g-offer svg { width: 18px; height: 18px; color: var(--g-mintb); }
.g-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: clamp(34px, 5vw, 56px); }
.g-hero-ctas .g-btn { min-height: 52px; padding: 13px 26px; font-size: 1rem; }
/* Søk og book: kategori, sted og dato på én linje; arrangementstype og gjester under «Flere valg».
   Christians regel: felt og knapp står på samme linje og er like høye (52 px), ledeteksten står over feltet. */
.g-search { position: relative; z-index: 2; display: grid; grid-template-columns: 1.25fr 1.25fr 1fr auto; gap: 12px; background: #fff; color: var(--g-ink);
            border-radius: 22px; box-shadow: 0 30px 70px rgba(2, 6, 20, .45); padding: 16px 18px 10px; align-items: end; }
.g-search .g-sf { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.g-search label { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--g-ink-2); line-height: 1.2; white-space: nowrap; }
.g-search label svg { width: 14px; height: 14px; color: var(--g-accent); }
.g-search input, .g-search select { display: block; width: 100%; height: 52px; min-height: 52px; margin: 0; padding: 0 14px; box-sizing: border-box; font: inherit; font-size: 1rem; line-height: 1.25;
            color: var(--g-ink); background-color: #fff; border: 1.5px solid var(--g-line-2); border-radius: 12px; -webkit-appearance: none; appearance: none; min-width: 0;
            transition: border-color .15s ease, box-shadow .15s ease; }
.g-search select { padding-right: 40px; cursor: pointer; background-repeat: no-repeat; background-position: right 14px center; background-size: 14px;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A3557' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.g-search input[type=date]::-webkit-date-and-time-value { text-align: left; }
.g-search input:hover, .g-search select:hover { border-color: var(--g-ink-2); }
.g-search input:focus, .g-search select:focus { outline: none; border-color: var(--g-accent); box-shadow: 0 0 0 4px rgba(79, 60, 240, .16); }
.g-search > .g-btn { height: 52px; min-height: 52px; border-radius: 12px; padding: 0 30px; font-size: 1.02rem; }
.g-search-more { grid-column: 1 / -1; border-top: 1px solid var(--g-line); margin: 2px 0 0; }
.g-search-more > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 0; font-size: .9rem; font-weight: 650; color: var(--g-accent); }
.g-search-more > summary::-webkit-details-marker { display: none; }
.g-search-more > summary::before { content: "+"; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid currentColor; font-size: .9rem; line-height: 1; flex: none; }
.g-search-more[open] > summary::before { content: "–"; }
.g-search-more > summary .g-muted { font-weight: 500; }
.g-search-more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 0 10px; align-items: end; }
@media (max-width: 1000px) { .g-search { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 16px 16px 8px; }
  .g-search > .g-btn { grid-column: 1 / -1; } }
@media (max-width: 560px) { .g-search, .g-search-more-grid { grid-template-columns: 1fr; } .g-search-more > summary .g-muted { display: none; } }
.g-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 22px 0 0; color: var(--g-on-night-muted); font-size: .92rem; list-style: none; padding: 0; }
.g-trust li { display: inline-flex; align-items: center; gap: 8px; }
.g-trust svg { width: 18px; height: 18px; color: var(--g-mintb); }
/* Mobil: eget stående utsnitt øverst, teksten under lysene */
@media (max-width: 640px) {
  .g-hero { padding-top: clamp(150px, 46vw, 260px); }
  .g-hero-media { bottom: auto; height: min(118vw, 680px); }
  .g-hero-media img { object-position: 50% 0; }
  .g-hero::before { background: linear-gradient(180deg, rgba(10, 20, 48, .15) 0%, rgba(10, 20, 48, .35) 22%, rgba(10, 20, 48, .88) min(64vw, 380px), var(--g-night) min(100vw, 560px)); }
  .g-claim { letter-spacing: .2em; font-size: .72rem; }
  .g-offer { gap: 6px; margin-bottom: 24px; }
  .g-offer a { padding: 7px 13px; font-size: .9rem; }
  .g-hero-ctas .g-btn { flex: 1 1 100%; }
}
/* Snarveier under toppen (tidligere søylene i toppen) */
.g-quick { background: var(--g-night-2); color: var(--g-on-night); border-bottom: 1px solid var(--g-night-line); }
.g-pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; list-style: none; padding: 0; }
.g-pillars li { text-align: center; border-left: 1px solid rgba(232, 235, 244, .12); display: flex; justify-content: center; }
.g-pillars li:first-child { border-left: 0; }
.g-pillars a { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; color: var(--g-on-night) !important; text-decoration: none; font-weight: 600; padding: 6px 10px; border-radius: 12px; min-height: 44px; }
.g-pillars a:hover { background: rgba(232, 235, 244, .06); }
.g-pillars svg { width: 28px; height: 28px; color: var(--g-silver); }
@media (max-width: 560px) { .g-pillars { grid-template-columns: repeat(2, 1fr); row-gap: 12px; } .g-pillars li:nth-child(3) { border-left: 0; } }
svg.g-ribbon { display: none; }

/* ---------------------------------------------------------------- rutenett og kort (like høye) */
.g-grid { display: grid; gap: var(--g-gap); grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); align-items: stretch; }
.g-grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.g-grid.cols-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.g-grid.cols-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.g-grid.dense { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.g-card { position: relative; display: flex; flex-direction: column; background: var(--g-card); border: 1px solid var(--g-line); border-radius: var(--g-radius);
          box-shadow: var(--g-shadow); padding: clamp(18px, 2.2vw, 26px); min-width: 0; color: var(--g-ink); }
.g-card > :last-child { margin-bottom: 0; }
.g-card h2 { font-size: 1.3rem; }
.g-card .g-card-foot { margin-top: auto; padding-top: 14px; }
.g-card.flat { box-shadow: none; }
.g-card.night { background: var(--g-night-2); border-color: var(--g-night-line); color: var(--g-on-night); box-shadow: none; }
.g-card.accent { border-color: #D9D3FF; background: linear-gradient(180deg, #fff, var(--g-accent-soft)); }
.g-card.ok { border-color: #b8e6d4; background: linear-gradient(180deg, #fff, var(--g-ok-soft)); }
.g-card.warn { border-color: #f2d7a6; background: linear-gradient(180deg, #fff, var(--g-warn-soft)); }
a.g-card { text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.g a.g-card, .g a.g-card:hover, .g a.g-kpi, .g a.g-kpi:hover, .g .g-list a.g-li-main, .g .g-role-pick a { color: var(--g-ink); text-decoration: none; }
.g .g-list a.g-li-main:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.g a.g-card.night { color: var(--g-on-night); }
a.g-card:hover { transform: translateY(-3px); box-shadow: var(--g-shadow-lift); border-color: var(--g-line-2); color: var(--g-ink); }
.g-stack { display: flex; flex-direction: column; gap: var(--g-gap); min-width: 0; }
.g-cols { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); gap: var(--g-gap); align-items: start; }
.g-cols.even { grid-template-columns: 1fr 1fr; align-items: stretch; }
@media (max-width: 900px) { .g-cols, .g-cols.even { grid-template-columns: 1fr; } }
.g-sticky { position: sticky; top: 92px; }
@media (max-width: 900px) { .g-sticky { position: static; } }

/* kategorikort */
.g-tile { min-height: 210px; padding: 24px; overflow: hidden; isolation: isolate; }
.g-tile .g-tile-ico { width: 54px; height: 54px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px;
                      background: var(--g-night); color: var(--g-mint); }
.g-tile .g-tile-ico svg { width: 28px; height: 28px; }
.g-tile h3 { font-size: 1.28rem; margin-bottom: .3em; }
.g-tile p { color: var(--g-muted); font-size: .95rem; }
.g-tile .g-tile-go { margin-top: auto; font-weight: 700; color: var(--g-accent); display: inline-flex; align-items: center; gap: 6px; }
.g-tile::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 180px; height: 180px; border-radius: 50%; z-index: -1;
                 background: radial-gradient(circle, rgba(94, 242, 195, .16), transparent 70%); transition: transform .3s ease; }
a.g-tile:hover::after { transform: scale(1.3); }

/* profilkort */
.g-prof { padding: 0; overflow: hidden; }
.g-prof-img { aspect-ratio: 4 / 3; background: var(--g-night-2) center / cover no-repeat; position: relative; }
.g-prof-img.empty { display: flex; align-items: center; justify-content: center; background: var(--g-aurora); color: #fff; font-size: 3.2rem; font-weight: 800; letter-spacing: -.04em; }
.g-prof-kind { position: absolute; left: 12px; top: 12px; background: rgba(10, 20, 48, .8); color: #fff; font-size: .76rem; font-weight: 700; padding: 4px 10px;
               border-radius: var(--g-pill); letter-spacing: .02em; }
.g-prof-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.g-prof-body h3 { margin: 0; }
.g-prof-meta { font-size: .88rem; color: var(--g-muted); }
.g-prof-price { margin-top: auto; padding-top: 10px; font-size: .92rem; border-top: 1px solid var(--g-line); }

/* utstyrskort */
.g-item { padding: 0; overflow: hidden; }
.g-item-img { aspect-ratio: 1 / 1; background: #fff center / contain no-repeat; border-bottom: 1px solid var(--g-line); padding: 14px; }
.g-item-img img { width: 100%; height: 100%; object-fit: contain; }
.g-item-img.empty { display: flex; align-items: center; justify-content: center; background: var(--g-paper-2); color: var(--g-muted); }
.g-item-img.empty svg { width: 54px; height: 54px; opacity: .55; }
.g-item-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.g-item-body h3 { font-size: 1.02rem; margin: 0; }
.g-item-cat { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--g-muted); }
.g-price { margin-top: auto; padding-top: 10px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.g-price strong { font-size: 1.12rem; letter-spacing: -.01em; }
.g-price small { color: var(--g-muted); }

/* ---------------------------------------------------------------- steg, fordeler, FAQ */
.g-steps { counter-reset: s; display: grid; gap: var(--g-gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); list-style: none; padding: 0; margin: 0; }
.g-steps li { counter-increment: s; position: relative; padding: 26px 22px 22px; border-radius: var(--g-radius); background: var(--g-night-2); border: 1px solid var(--g-night-line);
              color: var(--g-on-night); display: flex; flex-direction: column; }
.g-steps li::before { content: counter(s, decimal-leading-zero); font-size: .82rem; font-weight: 800; letter-spacing: .12em; color: var(--g-mint); margin-bottom: 12px; }
.g-steps h3 { margin-bottom: .35em; }
.g-steps p { color: var(--g-on-night-muted); margin: 0; font-size: .95rem; }
.g-why .g-card h3 { display: flex; align-items: center; gap: 10px; }
.g-why svg { width: 22px; height: 22px; color: var(--g-accent); flex: none; }
.g-faq { border-top: 1px solid var(--g-line); }
.g-faq details { border-bottom: 1px solid var(--g-line); }
.g-faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 700; font-size: 1.04rem; position: relative; min-height: 44px; }
.g-faq summary::-webkit-details-marker { display: none; }
.g-faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--g-accent); }
.g-faq details[open] summary::after { content: "–"; }
.g-faq details > div { padding: 0 0 18px; color: var(--g-ink-2); max-width: 60em; }
.g-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--g-gap); align-items: stretch; }
@media (max-width: 860px) { .g-split { grid-template-columns: 1fr; } }
.g-split > .g-card { padding: clamp(24px, 3.4vw, 44px); }
.g-split h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }

/* ---------------------------------------------------------------- filtre og lister */
.g-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: var(--g-gap); align-items: start; }
@media (max-width: 940px) { .g-layout { grid-template-columns: 1fr; } }
.g-filters { position: sticky; top: 92px; }
@media (max-width: 940px) { .g-filters { position: static; } }
.g-filters details > summary { display: none; }
@media (max-width: 940px) { .g-filters details > summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 700; min-height: 44px; list-style: none; }
  .g-filters details > summary::-webkit-details-marker { display: none; } .g-filters details:not([open]) > .g-filter-body { display: none; } }
.g-filter-body { display: flex; flex-direction: column; gap: 14px; }
.g-filter-body .g-btn { width: 100%; }
.g-results-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.g-results-bar p { margin: 0; color: var(--g-muted); }
.g-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.g-tabs a { padding: 9px 16px; border-radius: var(--g-pill); border: 1px solid var(--g-line-2); text-decoration: none; color: var(--g-ink-2); font-weight: 650; font-size: .92rem; background: #fff; min-height: 40px; display: inline-flex; align-items: center; }
.g-tabs a[aria-current="page"], .g-tabs a:hover { background: var(--g-ink); border-color: var(--g-ink); color: #fff; }
.g-list { list-style: none; margin: 0; padding: 0; }
.g-list > li { display: flex; align-items: center; gap: 14px; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--g-line); }
.g-list > li:last-child { border-bottom: 0; }
.g-list .g-li-main { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.g-list .g-li-main small { color: var(--g-muted); }
.g-dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; }
.g-dl dt { font-weight: 650; color: var(--g-ink-2); }
.g-dl dd { margin: 0; }
.g-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.g-table th, .g-table td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--g-line); vertical-align: top; }
.g-table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--g-muted); font-weight: 750; }
.g-table td.num, .g-table th.num { text-align: right; white-space: nowrap; }
.g-table-wrap { overflow-x: auto; }

/* ---------------------------------------------------------------- skjema */
.g-form { display: flex; flex-direction: column; gap: var(--g-gap); }
.g-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.g-fieldset > legend, .g-form-sec-title { font-size: 1.2rem; font-weight: 750; letter-spacing: -.012em; margin-bottom: 4px; padding: 0; }
.g-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; align-items: start; }
.g-form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .g-form-grid { grid-template-columns: 1fr; } }
.g-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.g-field > label, .g-label { font-weight: 650; font-size: .92rem; color: var(--g-ink-2); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.g-field .req { color: var(--g-err); }
.g-input, .g .g-field input:not([type=checkbox]):not([type=radio]):not([type=file]), .g .g-field select, .g .g-field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; font-size: 1rem; color: var(--g-ink); background: #fff;
  border: 1.5px solid var(--g-line-2); border-radius: var(--g-radius-sm); transition: border-color .15s ease, box-shadow .15s ease; }
.g .g-field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
/* iOS: dato- og tidsfelt har en innebygd minstebredde og går ellers ut av kortet; tomme felt får samme høyde som de andre. */
.g .g-field input[type=date], .g .g-field input[type=time], .g-search input[type=date] { min-width: 0; max-width: 100%; display: block; -webkit-appearance: none; appearance: none; }
.g .g-field input[type=date]::-webkit-date-and-time-value, .g .g-field input[type=time]::-webkit-date-and-time-value { text-align: left; min-height: 1.4em; }
.g .g-field input:focus, .g .g-field select:focus, .g .g-field textarea:focus, .g-input:focus { outline: none; border-color: var(--g-accent); box-shadow: 0 0 0 4px rgba(79, 60, 240, .16); }
.g .g-field input[aria-invalid="true"], .g .g-field select[aria-invalid="true"] { border-color: var(--g-err); }
.g-hint { font-size: .84rem; color: var(--g-muted); }
.g-check { display: flex; align-items: flex-start; gap: 12px; padding: 8px 0; cursor: pointer; font-size: .96rem; min-height: 44px; }
.g-check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--g-accent); flex: none; }
.g-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.g-checks label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1.5px solid var(--g-line-2); border-radius: var(--g-pill);
                  background: #fff; cursor: pointer; font-weight: 600; font-size: .9rem; min-height: 40px; }
.g-checks input { accent-color: var(--g-accent); width: 18px; height: 18px; margin: 0; }
.g-checks label:has(input:checked) { border-color: var(--g-accent); background: var(--g-accent-soft); color: var(--g-accent-hover); }
.g-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.g-qty { display: inline-flex; align-items: stretch; border: 1.5px solid var(--g-line-2); border-radius: var(--g-pill); overflow: hidden; background: #fff; }
.g-qty button { width: 44px; border: 0; background: transparent; font-size: 1.2rem; cursor: pointer; color: var(--g-ink); }
.g-qty button:hover { background: var(--g-paper-2); }
.g-qty input { width: 64px; text-align: center; border: 0 !important; min-height: 44px !important; padding: 0 !important; font-weight: 700; box-shadow: none !important; }
.g-sticky-bar { position: sticky; bottom: 0; z-index: 20; background: rgba(244, 245, 249, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
                border-top: 1px solid var(--g-line); padding: 14px 0; margin-top: 10px; }
.g-sticky-bar .g-wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 0; }

/* ---------------------------------------------------------------- meldinger, tomme sider, lasting */
.g-flashes { display: flex; flex-direction: column; gap: 10px; margin: 18px 0; }
.g-alert { display: block; padding: 14px 18px; border-radius: var(--g-radius-md); border: 1px solid var(--g-line); background: #fff; font-weight: 550; }
.g-alert.success { background: var(--g-ok-soft); border-color: #b8e6d4; color: #074d37; }
.g-alert.error { background: var(--g-err-soft); border-color: #f4c3bd; color: #8a1a12; }
.g-alert.info, .g-alert.message { background: var(--g-accent-soft); border-color: #D9D3FF; color: #2F1FB8; }
.g-alert.warn { background: var(--g-warn-soft); border-color: #f2d7a6; color: #6b4000; }
.g-empty { text-align: center; padding: clamp(32px, 6vw, 64px) 24px; border: 1.5px dashed var(--g-line-2); border-radius: var(--g-radius); background: #fff; color: var(--g-ink-2); }
.g-empty h2, .g-empty h3 { margin-bottom: .3em; }
.g-empty p { color: var(--g-muted); max-width: 34em; margin: 0 auto 18px; }
.g-empty svg { width: 46px; height: 46px; color: var(--g-violet); margin: 0 auto 12px; }
.g-skel { background: linear-gradient(90deg, var(--g-paper-2), #fff, var(--g-paper-2)); background-size: 200% 100%; animation: g-skel 1.2s linear infinite; border-radius: 8px; min-height: 1em; }
@keyframes g-skel { to { background-position: -200% 0; } }
.g-avail { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: .94rem; min-height: 28px; }
.g-avail::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--g-line-2); }
.g-avail.ok { color: var(--g-ok); } .g-avail.ok::before { background: var(--g-ok); }
.g-avail.part { color: var(--g-warn); } .g-avail.part::before { background: #d48a00; }
.g-avail.none { color: var(--g-err); } .g-avail.none::before { background: var(--g-err); }
.g-avail.loading::before { animation: g-pulse 1s ease-in-out infinite alternate; }
@keyframes g-pulse { to { opacity: .2; } }
.g-preview-banner { background: #fbbf24; color: #1c1405; text-align: center; font-weight: 700; font-size: .9rem; padding: 8px 16px; }
.g-preview-banner a { color: #1c1405; }

/* ---------------------------------------------------------------- profilside */
.g-phero { position: relative; color: #fff; background: var(--g-aurora); background-size: cover; background-position: center; }
.g-phero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 20, 48, .25), rgba(10, 20, 48, .9)); }
.g-phero .g-wrap { position: relative; display: flex; align-items: flex-end; gap: clamp(16px, 3vw, 30px); padding-top: clamp(80px, 14vw, 180px); padding-bottom: clamp(26px, 4vw, 44px); }
.g-avatar { width: clamp(96px, 14vw, 156px); aspect-ratio: 1; border-radius: 28px; background: var(--g-night-3) center / cover no-repeat; border: 3px solid rgba(255, 255, 255, .9);
            flex: none; box-shadow: 0 20px 40px rgba(0, 0, 0, .35); display: flex; align-items: center; justify-content: center; font-size: 3rem; font-weight: 800; }
.g-phero h1 { margin-bottom: .15em; }
.g-phero p { margin: 0; color: rgba(255, 255, 255, .86); }
@media (max-width: 600px) { .g-phero .g-wrap { flex-direction: column; align-items: flex-start; } }
.g-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.g-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--g-radius-sm); }
.g-media-links { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.g-media-links a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--g-line); border-radius: var(--g-radius-sm); text-decoration: none; color: var(--g-ink); font-weight: 650; min-height: 48px; }
.g-media-links a:hover { border-color: var(--g-ink); }
.g-stars { color: #b26b00; letter-spacing: 1px; }
.g-share { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- kurv */
.g-cart-line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--g-line); }
.g-cart-line:last-child { border-bottom: 0; }
.g-cart-thumb { width: 72px; height: 72px; border-radius: 14px; background: var(--g-paper-2) center / contain no-repeat; display: flex; align-items: center; justify-content: center; color: var(--g-violet); border: 1px solid var(--g-line); }
.g-cart-thumb svg { width: 30px; height: 30px; }
.g-cart-line h3 { font-size: 1rem; margin: 0 0 2px; }
.g-cart-line .g-cart-meta { font-size: .86rem; color: var(--g-muted); }
.g-cart-line .g-cart-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
@media (max-width: 560px) { .g-cart-line { grid-template-columns: 56px minmax(0, 1fr); } .g-cart-thumb { width: 56px; height: 56px; } .g-cart-line .g-cart-right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; } }
.g-sum { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; }
.g-sum.total { border-top: 2px solid var(--g-ink); margin-top: 6px; padding-top: 14px; font-size: 1.15rem; font-weight: 800; }
.g-missing { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.g-missing li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; }
.g-missing li::before { content: "!"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--g-warn-soft); color: var(--g-warn); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; }
.g-notice { padding: 14px 16px; border-radius: var(--g-radius-md); background: var(--g-paper-2); font-size: .9rem; color: var(--g-ink-2); border: 1px solid var(--g-line); }

/* ---------------------------------------------------------------- konto (kunde) */
.g-acct { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: var(--g-gap); align-items: start; padding: clamp(24px, 4vw, 44px) 0 60px; }
@media (max-width: 900px) { .g-acct { grid-template-columns: 1fr; } }
.g-acct-nav { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 92px; }
/* Mobil (designrunden 8.11.2026): alle åtte punktene synlige som fliser i stedet for en rad der fem lå utenfor skjermen */
@media (max-width: 900px) {
  .g-acct-nav { position: static; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .g-acct-nav a { flex-direction: column; justify-content: center; gap: 4px; padding: 8px 4px; min-height: 60px; font-size: .78rem; text-align: center;
    white-space: normal; line-height: 1.15; border: 1px solid var(--g-line); background: #fff; }
  .g-acct-nav form { grid-column: 1 / -1; text-align: right; }
}
.g-acct-nav a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; text-decoration: none; color: var(--g-ink-2); font-weight: 650; white-space: nowrap; min-height: 44px; }
.g-acct-nav a:hover { background: var(--g-paper-2); color: var(--g-ink); }
.g-acct-nav a[aria-current="page"] { background: var(--g-ink); color: #fff; }
.g-acct-nav svg { width: 18px; height: 18px; }
.g-kpis { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); align-items: stretch; }
.g-kpi { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px; border-radius: var(--g-radius-md); background: #fff; border: 1px solid var(--g-line); }
.g-kpi strong { font-size: 1.8rem; letter-spacing: -.03em; line-height: 1.1; }
.g-kpi span { font-size: .86rem; color: var(--g-muted); }
.g-auth { max-width: 460px; margin: clamp(32px, 6vw, 72px) auto; }
.g-auth .g-card { padding: clamp(24px, 4vw, 40px); }
.g-code-input { font-size: 1.6rem !important; letter-spacing: .4em; text-align: center; font-weight: 800; }
.g-role-pick { display: grid; gap: 12px; }
.g-role-pick a { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--g-radius-md); border: 1.5px solid var(--g-line-2); text-decoration: none; color: var(--g-ink); background: #fff; }
.g-role-pick a:hover { border-color: var(--g-accent); background: var(--g-accent-soft); }
.g-role-pick strong { display: block; font-size: 1.04rem; }
.g-role-pick small { color: var(--g-muted); }
.g-role-pick svg { width: 30px; height: 30px; color: var(--g-accent); flex: none; }

/* ---------------------------------------------------------------- bunntekst */
.g-footer { background: var(--g-night-deep); color: var(--g-on-night-muted); padding: clamp(44px, 6vw, 72px) 0 calc(28px + env(safe-area-inset-bottom)); font-size: .94rem; }
.g-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
@media (max-width: 820px) { .g-footer-grid { grid-template-columns: 1fr 1fr; } .g-footer-grid > :first-child { grid-column: 1 / -1; } }
.g-footer h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: #fff; margin-bottom: 14px; }
.g-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.g-footer a { color: var(--g-on-night-muted); text-decoration: none; display: inline-block; padding: 4px 0; }
.g-footer a.g-logo { display: inline-flex; }   /* logoen i bunnteksten: symbol og ordbilde på én linje (designrunden 8.11.2026) */
.g-footer a:hover { color: #fff; text-decoration: underline; }
.g-footer-bottom { border-top: 1px solid var(--g-night-line); margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; }
.g-lang { display: inline-flex; gap: 4px; }
.g-lang a { padding: 4px 10px; border-radius: var(--g-pill); border: 1px solid var(--g-night-line); }
.g-lang a[aria-current="true"] { color: var(--g-night); background: var(--g-mint); border-color: var(--g-mint); }

/* ---------------------------------------------------------------- samtykke (bare når sporing er satt opp) */
.g-consent { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); max-width: 560px; margin: 0 auto; background: var(--g-night);
             color: var(--g-on-night); border: 1px solid var(--g-night-line); border-radius: var(--g-radius); padding: 20px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.g-consent p { color: var(--g-on-night-muted); font-size: .92rem; }
.g-consent[hidden] { display: none; }

/* ---------------------------------------------------------------- app (Nordic Gig-appen): egen bunnlinje, ingen nettmeny */
body.g-app .g-util, body.g-app .g-nav, body.g-app .g-menu, body.g-app .g-footer, body.g-app .g-cart-link .g-cart-label { display: none !important; }
body.g-app .g-header { padding-top: env(safe-area-inset-top); }
body.g-app .g-bar { min-height: 56px; }
body.g-app .g-main { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
.g-tabbar { display: none; }
body.g-app .g-tabbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; z-index: 50; left: 0; right: 0; bottom: 0;
                        background: rgba(6, 11, 29, .96); border-top: 1px solid var(--g-night-line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
                        backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.g-tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px; text-decoration: none; color: var(--g-on-night-muted);
              font-size: .7rem; font-weight: 650; min-height: 52px; justify-content: center; position: relative; }
.g-tabbar a svg { width: 24px; height: 24px; }
.g-tabbar a[aria-current="page"] { color: var(--g-mint); }
.g-tabbar .g-cart-count { position: absolute; top: 2px; left: calc(50% + 6px); min-width: 18px; height: 18px; font-size: .68rem; }
body.g-app .g-sticky-bar { bottom: calc(68px + env(safe-area-inset-bottom)); }

@media print { .g-header, .g-footer, .g-tabbar, .g-consent, .g-sticky-bar { display: none !important; } body.g { background: #fff; } }
@media (max-width: 440px) { .g-logo small { display: none; } .g-logo { font-size: 1.08rem; gap: 10px; } .g-logo .g-logo-mark { height: 32px; } .g-logo .g-logo-word { height: 11.2px; } .g-cart-link { padding: 9px 12px; } }
