/* ==========================================================================
   Tannlegene Stensby og Tran - hovedstilark
   Ingen eksterne fonter eller ressurser (kreves for A+ sikkerhetsheadere)
   ========================================================================== */

:root {
  --brand-dark: #0c333d;
  --brand: #12586a;
  --brand-light: #e8f2f4;
  --accent: #2fb3a3;
  --accent-dark: #1c8b7e;
  --ink: #16242a;
  --muted: #5c7178;
  --line: #dfe8ea;
  --bg: #ffffff;
  --bg-soft: #f4f8f9;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(12, 51, 61, .10);
  --shadow-sm: 0 4px 14px rgba(12, 51, 61, .08);
  --wrap: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

img, svg, iframe { max-width: 100%; }
img { height: auto; display: block; }

a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--accent-dark); }

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  line-height: 1.2;
  color: var(--brand-dark);
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
/* Smal tekstkolonne som starter paa samme venstremarg som overskriften.
   Brukes inne i en vanlig .wrap, slik at teksten ikke sentreres. */
.narrow-col { max-width: 820px; margin-right: auto; }
.center { text-align: center; }
p.center { margin-top: 34px; }
.lead { font-size: 1.12rem; color: var(--muted); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------- Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: #fff; padding: 12px 18px; border-radius: 0 0 var(--radius-sm) 0;
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------------------------ Buttons */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--brand-dark); outline-offset: 3px; }
.btn-outline { background: transparent; border-color: currentColor; color: var(--brand-dark); }
.btn-outline:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { background: var(--brand-light); color: var(--brand-dark); }
.btn-sm { padding: 10px 18px; font-size: .95rem; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ------------------------------------------------------------------- Topbar */
.topbar {
  background: var(--brand-dark);
  color: rgba(255, 255, 255, .85);
  font-size: .9rem;
}
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: flex-end; padding: 7px 20px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--accent); }
.topbar span { white-space: nowrap; }

/* ------------------------------------------------------------------- Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--brand);
  box-shadow: 0 2px 14px rgba(0, 0, 0, .16);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; min-height: 74px; padding: 10px 20px;
}
.logo { display: flex; align-items: center; flex: 0 0 auto; }
.logo img { width: 210px; height: auto; }
.logo-fallback { color: #fff; font-weight: 700; text-decoration: none; font-size: 1.1rem; line-height: 1.2; }

/* ------------------------------------------------------- Hamburger (hvit!) */
.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  width: 52px; height: 44px; padding: 0 9px;
  margin-left: auto;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, .55);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.nav-toggle span {
  display: block; height: 3px; width: 100%;
  background: #ffffff;                 /* hvit hamburger */
  border-radius: 3px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------------------------------------------------------------- Main menu */
.main-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 4px;
}
.main-nav a {
  display: block; padding: 10px 13px;
  color: #ffffff; text-decoration: none; font-weight: 600; font-size: .98rem;
  border-radius: var(--radius-sm);
}
.main-nav a:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.main-nav .nav-cta a { background: var(--accent); padding: 11px 20px; border-radius: 999px; }
.main-nav .nav-cta a:hover { background: var(--accent-dark); }

/* aktiv side - styres av body-klassen, ingen JS */
body.page-hjem .nav-hjem > a,
body.page-behandlinger .nav-behandlinger > a,
body.page-prisliste .nav-prisliste > a,
body.page-om-oss .nav-om-oss > a,
body.page-pasientinformasjon .nav-pasientinformasjon > a,
body.page-aktuelt .nav-aktuelt > a {
  background: rgba(255, 255, 255, .18);
  box-shadow: inset 0 -3px 0 var(--accent);
}

@media (max-width: 1023px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--brand-dark);
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
    box-shadow: 0 18px 30px rgba(0, 0, 0, .25);
  }
  .main-nav.open { max-height: 80vh; overflow-y: auto; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 12px 18px; }
  .main-nav li { border-bottom: 1px solid rgba(255, 255, 255, .10); }
  .main-nav li:last-child { border-bottom: 0; }
  .main-nav a { padding: 15px 10px; font-size: 1.05rem; color: #ffffff; }
  .main-nav .nav-cta { margin-top: 14px; }
  .main-nav .nav-cta a { text-align: center; }
}
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .main-nav { max-height: none; }
}

/* -------------------------------------------------------------- Hero slider */
.hero { position: relative; background: var(--brand-dark); overflow: hidden; }

/* Fast hoeyde paa slideren, uavhengig av bildestoerrelse og tekstmengde.
   Alle bilder fyller samme flate med object-fit: cover. */
.slides {
  position: relative;
  height: clamp(340px, 46vw, 560px);
}
.slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .8s ease;
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide-media { position: absolute; inset: 0; }
.slide-media img { width: 100%; height: 100%; object-fit: cover; }
.slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(9, 40, 48, .82) 0%, rgba(9, 40, 48, .55) 55%, rgba(9, 40, 48, .25) 100%);
}
.slide-body {
  position: relative; z-index: 2;
  max-width: var(--wrap); height: 100%; margin: 0 auto;
  padding: 40px 20px;
  display: flex; flex-direction: column; justify-content: center;
  color: #fff;
}
.slide-body h1, .slide-body h2 { color: #fff; max-width: 20ch; margin-bottom: .4em; }
.slide-body p { color: rgba(255, 255, 255, .92); font-size: 1.15rem; max-width: 46ch; }
.slide-body .btn { align-self: flex-start; margin-top: 8px; }

.slider-dots {
  position: absolute; z-index: 3; bottom: 18px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 10px;
}
.slider-dots button {
  width: 12px; height: 12px; padding: 0;
  border-radius: 50%; border: 2px solid #fff; background: transparent;
  cursor: pointer;
}
.slider-dots button[aria-selected="true"] { background: #fff; }
.slider-dots button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.slider-arrow {
  position: absolute; z-index: 3; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .18); color: #fff;
  font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.slider-arrow:hover { background: rgba(255, 255, 255, .32); }
.slider-prev { left: 10px; }
.slider-next { right: 10px; }
@media (max-width: 640px) {
  .slider-arrow { display: none; }
  .slides { height: clamp(320px, 78vw, 420px); }
}

/* ---------------------------------------------------------- Page hero (sub) */
.page-hero {
  background: var(--brand-dark);
  color: #fff;
  padding: 54px 0 46px;
}
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: rgba(255, 255, 255, .88); max-width: 62ch; margin: 0; }
.breadcrumb { font-size: .9rem; color: rgba(255, 255, 255, .7); margin-bottom: 10px; }
.breadcrumb a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* ----------------------------------------------------------------- Sections */
.section { padding: 66px 0; }
.section-tight { padding: 40px 0; }
.section-soft { background: var(--bg-soft); }
.section-brand { background: var(--brand); color: #fff; }
.section-brand h2, .section-brand h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head p { color: var(--muted); margin: 0; }
.section-brand .section-head p { color: rgba(255, 255, 255, .9); }
.eyebrow {
  display: inline-block; margin-bottom: 12px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-dark);
}
.section-brand .eyebrow { color: #8fe3d8; }

/* -------------------------------------------------------------------- Grids */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card-icon { width: 58px; height: 58px; margin-bottom: 16px; }
.card-icon img { width: 58px; height: 58px; object-fit: contain; }

.info-tile {
  background: #fff; border-radius: var(--radius); padding: 24px;
  border-left: 5px solid var(--accent);
  box-shadow: var(--shadow-sm);
}
.info-tile h3 { font-size: 1.1rem; }
.info-tile + .info-tile, .info-stack { margin-top: 20px; }
.info-tile p, .info-tile ul { margin-bottom: 0; }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 14px; padding: 4px 0; border-bottom: 1px dashed var(--line); }
.hours li:last-child { border-bottom: 0; }
.hours span:last-child { font-weight: 600; white-space: nowrap; }

.phone-big {
  display: inline-block; font-size: 1.45rem; font-weight: 700;
  color: var(--brand-dark); text-decoration: none;
}
.phone-big:hover { color: var(--accent-dark); }

/* ------------------------------------------------------------------- Splits */
.split { display: grid; gap: 40px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr .95fr; } }
/* Toppstilt variant - brukes der hoeyre kolonne er et langt skjema */
.split-top { align-items: start; }
.split-media img, .split-media iframe { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.split-media iframe { display: block; border: 0; min-height: 340px; }

/* ------------------------------------------------------------------- People */
.person { text-align: center; }
.person-photo {
  width: 150px; height: 150px; margin: 0 auto 16px;
  border-radius: 50%; overflow: hidden;
  background: var(--brand-light);
  display: flex; align-items: center; justify-content: center;
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-initials { font-size: 2.2rem; font-weight: 700; color: var(--brand); }
.person h3 { margin-bottom: .1em; }
.person .role { display: block; color: var(--accent-dark); font-weight: 600; margin-bottom: .7em; }
.person p { color: var(--muted); font-size: .98rem; }

/* --------------------------------------------------------------- Price list */
.price-tools { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 26px; }
.price-tools input[type="search"] {
  flex: 1 1 260px; padding: 13px 16px; font-size: 1rem;
  border: 1px solid var(--line); border-radius: 999px; font-family: var(--font);
}
.price-group { margin-bottom: 34px; }
.price-group h3 {
  padding-bottom: 10px; margin-bottom: 0;
  border-bottom: 3px solid var(--accent);
}
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { text-align: left; padding: 13px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table th { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.price-table th.price { text-align: right; }
.price-table td.price { text-align: right; white-space: nowrap; font-weight: 700; color: var(--brand-dark); }
.price-table td .note { display: block; color: var(--muted); font-size: .9rem; }
.price-updated { color: var(--muted); font-size: .92rem; }
@media (max-width: 560px) {
  .price-table thead { display: none; }
  .price-table tr { display: grid; grid-template-columns: 1fr auto; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .price-table td { border: 0; padding: 2px 0; }
}

/* ---------------------------------------------------------------------- FAQ */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 20px 44px 20px 0; position: relative;
  font-weight: 700; font-size: 1.08rem; color: var(--brand-dark);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 8px; top: 50%;
  width: 11px; height: 11px; margin-top: -8px;
  border-right: 2px solid var(--accent-dark);
  border-bottom: 2px solid var(--accent-dark);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq-item summary:hover { color: var(--accent-dark); }
.faq-item summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.faq-answer { padding: 0 44px 22px 0; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------- Anmeld. */
.reviews-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.review {
  background: #fff; border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
}
.review-head { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto;
  background: var(--brand-light); color: var(--brand);
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.review-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.review-name { display: block; font-weight: 700; color: var(--brand-dark); line-height: 1.3; }
.review-date { display: block; font-size: .85rem; color: var(--muted); }
.stars { color: #f6a623; letter-spacing: 2px; font-size: 1.05rem; }
.review-text { margin: 0; color: var(--ink); font-size: .99rem; }
.reviews-footer { margin-top: 32px; text-align: center; }
.reviews-status { text-align: center; color: var(--muted); }

/* Sammendrag med Google-logo, tallscore og stjerner */
.reviews-summary {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 8px 16px; margin: 0 auto 34px; text-align: center;
}
.reviews-summary img { width: 92px; height: auto; }
.reviews-score {
  font-size: 1.9rem; font-weight: 700; line-height: 1;
  color: var(--brand-dark);
}
.reviews-summary .stars { font-size: 1.3rem; }
.reviews-count { color: var(--muted); font-size: .95rem; width: 100%; }
@media (min-width: 620px) { .reviews-count { width: auto; } }

.review-badge {
  position: absolute; top: 20px; right: 20px;
  width: 20px; height: 20px; opacity: .85;
}
.review { position: relative; }
.review-head { padding-right: 30px; }

/* --------------------------------------------------------------------- Form */
.form-card {
  background: #fff; border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; margin-bottom: 7px; color: var(--brand-dark); }
.field .hint { display: block; font-weight: 400; font-size: .88rem; color: var(--muted); margin-top: 4px; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field select,
.field textarea {
  width: 100%; padding: 13px 14px; font-size: 1rem; font-family: var(--font);
  color: var(--ink); background: #fff;
  border: 1px solid #c6d5d9; border-radius: var(--radius-sm);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid rgba(47, 179, 163, .35); outline-offset: 1px; border-color: var(--accent);
}
.field-row { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .field-row { grid-template-columns: 1fr 1fr; } }
.req { color: #b3261e; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 20px; }
.check input { width: 22px; height: 22px; margin-top: 2px; flex: 0 0 auto; }
.check label { font-weight: 400; color: var(--ink); margin: 0; }
.form-note { font-size: .9rem; color: var(--muted); }
.form-message { border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 20px; font-weight: 600; }
.form-message.error { background: #fdecea; color: #8c1d18; border: 1px solid #f5c2bd; }
.form-message.ok { background: #e7f6f2; color: #14584c; border: 1px solid #b4e2d6; }
.is-hidden { display: none !important; }
.form-success {
  text-align: center; padding: 22px 10px;
}
.form-success .check-badge {
  width: 74px; height: 74px; margin: 0 auto 20px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 2.2rem; font-weight: 700;
}
.receipt-list { list-style: none; margin: 24px 0 0; padding: 0; text-align: left; }
.receipt-list li { padding: 9px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; justify-content: space-between; }
.receipt-list li:last-child { border-bottom: 0; }
.receipt-list .rk { color: var(--muted); }
.receipt-list .rv { font-weight: 600; text-align: right; }
button[disabled] { opacity: .6; cursor: progress; }

/* ------------------------------------------------------- Juridiske sider -- */
.legal h2 { margin-top: 1.8em; font-size: clamp(1.2rem, 2vw, 1.5rem); scroll-margin-top: 100px; }
.legal h2:first-of-type { margin-top: .6em; }
.legal p { max-width: 70ch; }
.legal .pv-liste { margin: 0 0 1.2em; padding-left: 1.3em; }
.legal .pv-liste li { margin-bottom: .4em; }
.toc {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 26px; margin-bottom: 34px;
}
.toc h2 { margin: 0 0 .5em; font-size: 1.05rem; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { margin-bottom: .35em; }
.toc a { color: var(--brand); }

/* -------------------------------------------------------------------- Lists */
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.doc-list li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; box-shadow: var(--shadow-sm);
  display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between;
}
.doc-list h3 { margin: 0; font-size: 1.08rem; }
.doc-list p { margin: 4px 0 0; color: var(--muted); font-size: .95rem; width: 100%; }
.news-item { border-bottom: 1px solid var(--line); padding: 26px 0; }
.news-item:first-child { padding-top: 0; }
.news-item:last-child { border-bottom: 0; }
.news-item h3 { margin-bottom: .35em; }
.news-item p:last-child { margin-bottom: 0; }

/* -------------------------------------------------------------------- CTA */
.cta-band { background: var(--brand-dark); color: #fff; padding: 54px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .88); }
/* Lenker paa moerk bakgrunn maa vaere hvite - merkefargen gir for lav kontrast */
.cta-band a { color: #fff; font-weight: 700; text-decoration-thickness: 2px; }
.cta-band a:hover { color: var(--accent); }
/* ... men knapper er ikke vanlige lenker: den hvite knappen fikk hvit tekst
   paa hvit flate fordi regelen over slaar .btn-light paa spesifisitet. */
.cta-band a.btn { color: #fff; text-decoration: none; }
.cta-band a.btn:hover { color: #fff; }
.cta-band a.btn-light { background: #fff; color: var(--brand-dark); }
.cta-band a.btn-light:hover { background: var(--brand-light); color: var(--brand-dark); }
.cta-inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-inner div { max-width: 620px; }
.cta-inner p:last-child { margin-bottom: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ------------------------------------------------------------------- Footer */
.site-footer { background: var(--brand-dark); color: rgba(255, 255, 255, .82); padding: 54px 0 24px; font-size: .97rem; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: .8em; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.footer-grid { display: grid; gap: 34px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.footer-logo img { width: 200px; margin-bottom: 18px; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 9px; }
.footer-bottom {
  margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .16);
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  font-size: .9rem; color: rgba(255, 255, 255, .65);
}
.footer-credit { width: 100%; }
@media (min-width: 900px) { .footer-credit { width: auto; } }

/* ------------------------------------------------- GTM noscript (skjult) -- */
.gtm-noscript { display: none; visibility: hidden; border: 0; width: 0; height: 0; }

/* ------------------------------------------------------------------ Utility */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.tag {
  display: inline-block; background: var(--brand-light); color: var(--brand);
  border-radius: 999px; padding: 4px 12px; font-size: .84rem; font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
