/* Johans Trafikskola Vänersborg — design system (visual-direction C1–C19, mockup = visual contract). */
@font-face { font-family: 'Montserrat'; src: url('/assets/fonts/montserrat-latin-wght-normal.woff2') format('woff2-variations'); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Mulish'; src: url('/assets/fonts/mulish-latin-wght-normal.woff2') format('woff2-variations'); font-weight: 300 900; font-style: normal; font-display: swap; }

:root {
  --blue: #0067b3;
  --blue-mid: #2f7bd0;
  --navy: #0b2b57;
  --navy-deep: #071e3d;
  --sky: #e8f1fb;
  --sky-2: #dbe9f8;
  --mist: #f3f6fa;
  --ink: #25344a;
  --muted: #55657c;
  --line: #dde6f0;
  --white: #fff;
  --radius: 14px;
  --radius-lg: 18px;
  --shadow: 0 6px 24px rgba(11, 43, 87, .08);
  --shadow-hover: 0 14px 34px rgba(11, 43, 87, .14);
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 32px);
  --section: clamp(72px, 8.5vw, 124px);
  --display: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --body: 'Mulish', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* QRiousMedia statistics card (qm-consent, served from the tracker host): themed only through its documented
     --qm-consent-* variables (QRiousMedia Customer Website Standard rule 5) — the site's navy, type and radii. */
  --qm-consent-bg: var(--white); --qm-consent-fg: var(--navy); --qm-consent-muted: var(--muted); --qm-consent-line: var(--line);
  --qm-consent-accent: var(--blue); --qm-consent-action: var(--navy); --qm-consent-action-fg: #fff; --qm-consent-action-hover: #12386f;
  --qm-consent-link: var(--blue); --qm-consent-focus: var(--blue-mid); --qm-consent-secondary-hover: var(--sky);
  --qm-consent-radius: var(--radius); --qm-consent-button-radius: 999px; --qm-consent-shadow: var(--shadow-hover);
  --qm-consent-serif: var(--display); --qm-consent-sans: var(--body);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.62; color: var(--ink); background: var(--white); overflow-x: hidden; }
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--navy); line-height: 1.16; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-weight: 800; font-size: clamp(32px, 4.6vw, 54px); }
h2 { font-weight: 800; font-size: clamp(26px, 3.1vw, 38px); }
h3 { font-weight: 700; font-size: clamp(18px, 1.6vw, 21px); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--blue-mid); outline-offset: 3px; border-radius: 4px; }
.sr-only { 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 { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .62) 0; }
/* Two sections on the same background that read as one band: each keeps its own edge spacing. */
.section--pair-top { padding-bottom: calc(var(--section) * .55); }
.section--pair-bottom { padding-top: calc(var(--section) * .45); }
.section--mist { background: var(--mist); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(32px, 4vw, 52px); }
.section-head p { color: var(--muted); font-size: 17.5px; margin: 0; }
.icon { width: 24px; height: 24px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- buttons (signature: road-sign pill with white inner edge on navy) ---------- */
.btn { --b: var(--navy); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 999px; font-family: var(--display); font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; border: 0; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s, transform .2s var(--ease); }
.btn .icon { width: 19px; height: 19px; }
.btn--primary { background: var(--navy); color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.16); }
.btn--primary:hover { background: #12386f; color: #fff; }
.btn--light { background: #fff; color: var(--navy); box-shadow: 0 2px 10px rgba(7,30,61,.12); }
.btn--light:hover { color: var(--blue); }
.btn--ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--pill { min-height: 40px; padding: 9px 18px; font-size: 14px; background: var(--sky); color: var(--navy); }
.btn--pill:hover { background: var(--sky-2); color: var(--navy); }
.btn .arrow, .link-arrow .arrow { transition: transform .22s var(--ease); }
.btn:hover .arrow, .btn:focus-visible .arrow, a:hover > .arrow, a:focus-visible > .arrow { transform: translateX(3px); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 14.5px; color: var(--navy); text-decoration: none; }
.link-arrow .icon { width: 18px; height: 18px; }
.link-arrow:hover { color: var(--blue); }

/* ---------- header (C1) ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px rgba(11,43,87,.06); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.site-header__logo { display: block; width: clamp(180px, 18vw, 250px); flex: none; }
.site-header__logo img { width: 100%; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav a { position: relative; font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--navy); text-decoration: none; padding: 10px 0; white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1199px) { .site-header__inner { gap: 16px; } .nav { gap: 16px; } .nav a { font-size: 14px; } .site-header__cta .btn { padding-inline: 18px; } }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after, .nav a.is-section::after { transform: scaleX(1); }
.site-header__cta { flex: none; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; border-radius: 12px; background: var(--sky); color: var(--navy); cursor: pointer; }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-close { display: block; }
.nav-open .nav-toggle .i-menu { display: none; }
.mobile-panel { display: none; }
@media (max-width: 1023px) {
  .nav, .site-header__cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header__inner { min-height: 70px; }
  .mobile-panel { position: fixed; left: 0; right: 0; top: var(--header-h, 70px); bottom: 0; z-index: 99; display: block; overflow-y: auto; background: #fff; padding: 20px var(--gutter) 40px; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: none; }
  .nav-open .mobile-panel { visibility: visible; opacity: 1; transform: none; transition: transform .2s var(--ease); }
  .mobile-panel a.m-link { display: flex; align-items: center; justify-content: space-between; padding: 16px 4px; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--navy); text-decoration: none; }
  .mobile-panel a.m-link[aria-current="page"] { color: var(--blue); }
  .mobile-panel .btn { width: 100%; margin-top: 22px; }
  .mobile-panel .m-contact { margin-top: 22px; color: var(--muted); font-size: 15px; }
  .mobile-panel .m-contact a { font-weight: 700; display: inline-block; padding: 12px 2px; }
}

/* ---------- hero (C2) ---------- */
.hero { position: relative; isolation: isolate; color: #fff; min-height: clamp(560px, 47vw, 700px); display: flex; align-items: center; overflow: hidden; background: var(--navy-deep); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,30,61,.94) 0%, rgba(7,30,61,.84) 30%, rgba(7,30,61,.42) 56%, rgba(7,30,61,.06) 78%); }
.hero__content { max-width: 600px; padding: clamp(72px, 9vw, 120px) 0; }
.hero h1 { color: #fff; font-size: clamp(34px, 4.7vw, 60px); line-height: 1.08; letter-spacing: -.015em; margin-bottom: 22px; }
.hero__lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: rgba(255,255,255,.92); max-width: 520px; margin-bottom: 32px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .btn--primary { background: var(--navy); box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); }
.hero .btn--primary:hover { background: var(--blue); }
@media (max-width: 760px) {
  .hero { align-items: flex-end; min-height: min(86svh, 760px); }
  .hero::before { background: linear-gradient(180deg, rgba(7,30,61,.18) 0%, rgba(7,30,61,.55) 38%, rgba(7,30,61,.94) 72%); }
  .hero__media img { object-position: 50% 30%; }
  .hero__content { padding: 160px 0 44px; }
  .hero__ctas .btn { flex: 1 1 100%; }
}

/* ---------- trust row (C3) / facts band ---------- */
.trust { background: var(--sky); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 30px 0; }
.trust__item { display: flex; align-items: center; gap: 16px; font-family: var(--display); font-weight: 700; font-size: 15px; line-height: 1.35; color: var(--navy); }
.trust__item .icon { width: 36px; height: 36px; color: var(--navy); stroke-width: 1.6; }
.facts__item { display: flex; gap: 14px; align-items: flex-start; }
.facts__item .icon { width: 30px; height: 30px; color: var(--blue); margin-top: 2px; }
.facts__label { display: block; font-family: var(--display); font-weight: 700; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.facts__value { display: block; font-family: var(--display); font-weight: 700; font-size: 16.5px; color: var(--navy); line-height: 1.35; }
@media (max-width: 900px) { .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 22px 18px; padding: 26px 0; } .trust__item { font-size: 14px; } .trust__item .icon { width: 30px; height: 30px; } }

/* ---------- cards (C4, C9) ---------- */
.cards { display: grid; gap: clamp(18px, 2vw, 26px); grid-template-columns: repeat(var(--cols, 3), 1fr); }
.cards--4 { --cols: 4; }
.cards--2 { --cols: 2; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sky); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__media img { transform: scale(1.03); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.card__body h3 { margin-bottom: 8px; }
.card__body h3 a { color: inherit; text-decoration: none; }
.card__body h3 a::after { content: ''; position: absolute; inset: 0; }
.card { position: relative; }
.card__body p { font-size: 15.5px; color: var(--muted); margin-bottom: 18px; }
.card__body .btn, .card__body .link-arrow { margin-top: auto; align-self: flex-start; position: relative; z-index: 1; }
.card--noimg .card__body { padding-top: 26px; }
.card__kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.card__kicker .icon { width: 26px; height: 26px; }
@media (max-width: 1100px) { .cards--4 { --cols: 2; } }
@media (max-width: 860px) { .cards { --cols: 2; } }
@media (max-width: 599px) { .cards, .cards--4, .cards--2 { --cols: 1; } }

/* ---------- features (C5) ---------- */
.features { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: clamp(24px, 3vw, 40px); }
.features--3 { --cols: 3; }
.feature { text-align: center; padding: 0 6px; }
.feature .icon { width: 42px; height: 42px; color: var(--blue); margin: 0 auto 16px; stroke-width: 1.5; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { font-size: 15.5px; color: var(--muted); margin: 0; }
.features--left .feature { text-align: left; display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; padding: 0; }
.features--left .feature .icon { margin: 2px 0 0; width: 34px; height: 34px; grid-row: span 2; }
@media (max-width: 900px) { .features { --cols: 2; } }
@media (max-width: 560px) { .features, .features--3 { --cols: 1; } }

/* an incomplete last row is centred instead of leaving empty columns beside it */
.grid-center { display: flex; flex-wrap: wrap; justify-content: center; }
.cards.grid-center > * { flex: 0 1 calc((100% - (var(--cols, 3) - 1) * clamp(18px, 2vw, 26px)) / var(--cols, 3)); }
.features.grid-center > * { flex: 0 1 calc((100% - (var(--cols, 4) - 1) * clamp(24px, 3vw, 40px)) / var(--cols, 4)); }
.areas.grid-center > * { flex: 0 1 calc((100% - (var(--cols, 3) - 1) * 20px) / var(--cols, 3)); }

/* ---------- process (C6) / steps (C16) ---------- */
.process { background: var(--sky); border-radius: 22px; padding: clamp(36px, 4.6vw, 60px) clamp(24px, 4vw, 56px); }
.process h2 { text-align: center; margin-bottom: clamp(28px, 3.4vw, 44px); }
.process__steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: 16px; }
.process__step { text-align: center; }
.process__arrow { color: var(--blue-mid); margin-top: 12px; }
.process__arrow .icon { width: 28px; height: 28px; }
.num { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--blue-mid); color: #fff; font-family: var(--display); font-weight: 800; font-size: 19px; box-shadow: inset 0 0 0 3px var(--blue-mid), inset 0 0 0 5px rgba(255,255,255,.9); margin-bottom: 14px; }
.process__step h3 { font-size: 18px; margin-bottom: 6px; }
.process__step p { font-size: 15.5px; color: var(--muted); margin: 0 auto; max-width: 300px; }
@media (max-width: 860px) { .process__steps { grid-template-columns: 1fr; } .process__arrow { justify-self: center; margin: 0; transform: rotate(90deg); } }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; max-width: 880px; }
.steps li { display: grid; grid-template-columns: 46px 1fr; gap: 20px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.steps .num { margin: 0; }
.steps h3 { margin: 8px 0 6px; font-size: 18.5px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- split (C7) ---------- */
.split { display: grid; grid-template-columns: 1.04fr 1fr; gap: clamp(32px, 5vw, 76px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.split__media--portrait img { aspect-ratio: 3 / 4; max-width: 440px; margin-left: auto; }
.pill { display: inline-block; padding: 6px 13px; border-radius: 999px; background: var(--sky); color: var(--blue); font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 14px; }
.split__body p { font-size: 17px; }
.checklist { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--navy); }
.checklist .icon { width: 22px; height: 22px; color: var(--blue); margin-top: 2px; stroke-width: 2.2; }
.split__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } .split__media--portrait img { margin: 0; max-width: 360px; } }

/* ---------- location trio (C8) ---------- */
.location { display: grid; grid-template-columns: 1.25fr 1fr .9fr; gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.location__photo img, .location__map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; border-radius: var(--radius-lg); object-fit: cover; display: block; }
.location__map { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--sky); box-shadow: var(--shadow); }
.location__map a.map-link { position: absolute; left: 12px; top: 12px; background: #fff; color: var(--navy); font-family: var(--display); font-weight: 700; font-size: 13px; padding: 8px 12px; border-radius: 999px; text-decoration: none; box-shadow: 0 2px 10px rgba(7,30,61,.18); }
.contact-card { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px; display: grid; gap: 20px; align-content: start; }
.contact-card__row { display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-size: 15.5px; line-height: 1.45; }
.contact-card__row .icon { color: var(--navy); width: 22px; height: 22px; margin-top: 2px; }
.contact-card__row strong { display: block; font-family: var(--display); color: var(--navy); font-size: 14.5px; }
.contact-card__row a { color: var(--ink); }
@media (max-width: 1000px) { .location { grid-template-columns: 1fr 1fr; } .location__photo { grid-column: span 2; } .location__photo img { aspect-ratio: 16 / 9; height: auto; min-height: 0; } }
@media (max-width: 640px) { .location { grid-template-columns: 1fr; } .location__photo { grid-column: auto; } }

/* ---------- FAQ (C10) ---------- */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 22px; font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--navy); border-radius: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 22px; height: 22px; color: var(--navy); transition: transform .25s var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq summary:hover { color: var(--blue); }
.faq .faq__a { padding: 0 22px 20px; color: var(--ink); font-size: 16px; }
.faq .faq__a p:last-child { margin: 0; }

/* ---------- form band (C11) ---------- */
.form-band { position: relative; isolation: isolate; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; overflow: hidden; }
.form-band__media { position: absolute; top: 0; right: 0; bottom: 0; width: 34%; z-index: -1; }
.form-band__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.form-band__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-deep) 0%, rgba(7,30,61,.55) 40%, rgba(7,30,61,.1) 100%); }
.form-band__grid { display: grid; grid-template-columns: .95fr 1.1fr .55fr; gap: clamp(28px, 4vw, 56px); align-items: center; padding-block: clamp(64px, 7vw, 100px); }
.form-band__eyebrow { display: block; font-family: var(--display); font-weight: 700; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: #9fc6f2; margin-bottom: 12px; }
.form-band h2 { color: #fff; font-size: clamp(28px, 3.2vw, 40px); }
.form-band__text { color: rgba(255,255,255,.88); font-size: 17px; margin-bottom: 24px; }
.form-band .checklist li { color: #fff; }
.form-band .checklist .icon { color: #9fc6f2; }
.form-band__contact { margin-top: 18px; font-size: 15px; color: rgba(255,255,255,.8); }
.form-band__contact a { color: #fff; font-weight: 700; }
@media (max-width: 1100px) { .form-band__media { display: none; } .form-band__grid { grid-template-columns: 1fr 1.2fr; } }
@media (max-width: 860px) { .form-band__grid { grid-template-columns: 1fr; } }

.lead-form { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); box-shadow: 0 24px 50px rgba(0,0,0,.22); }
.lead-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-family: var(--display); font-weight: 600; font-size: 13.5px; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #cdd8e5; border-radius: 9px; padding: 11px 13px; min-height: 48px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-mid); box-shadow: 0 0 0 3px rgba(47,123,208,.22); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field-error { color: #b3261e; font-size: 13.5px; min-height: 0; }
.field-error:empty { display: none; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 14px; line-height: 1.5; margin: 4px 0 8px; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); }
.consent-note { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.lead-form .btn { width: 100%; border-radius: 10px; }
.lead-form .btn[disabled] { opacity: .55; cursor: not-allowed; }
.form-status { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; font-size: 15px; }
.form-status--ok { background: #e6f4ea; color: #1e5631; }
.form-status--error { background: #fdecea; color: #8c1d18; }
.form-status--info { background: var(--sky); color: var(--navy); }
.form-pending { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 480px) { .lead-form__row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- page hero (C13) ---------- */
.page-hero { background: var(--mist); padding: 28px 0 clamp(52px, 6vw, 84px); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: clamp(24px, 3vw, 40px); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li + li::before { content: '›'; margin-right: 6px; color: #8a9ab0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.page-hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero--text .page-hero__grid { grid-template-columns: minmax(0, 820px); }
.page-hero h1 { margin-bottom: 18px; }
.page-hero__lead { font-size: clamp(17px, 1.35vw, 19px); color: var(--ink); max-width: 640px; margin-bottom: 26px; }
.page-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.page-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.facts { background: var(--sky); }
.facts .trust__grid { padding: 28px 0; }
@media (max-width: 860px) { .page-hero__grid { grid-template-columns: 1fr; } .page-hero__media { order: -1; } }

/* ---------- tables (C15) / prices (C14) ---------- */
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
table.compare { width: 100%; border-collapse: collapse; font-size: 16px; }
table.compare th, table.compare td { text-align: left; padding: 16px 20px; vertical-align: top; }
table.compare thead th { background: var(--navy); color: #fff; font-family: var(--display); font-weight: 700; font-size: 15px; }
table.compare tbody tr:nth-child(even) { background: #f7fafd; }
table.compare tbody th { font-family: var(--display); font-weight: 700; color: var(--navy); font-size: 15px; width: 26%; }
.table-note { margin: 16px 0 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 720px) {
  table.compare thead { display: none; }
  table.compare, table.compare tbody, table.compare tr, table.compare th, table.compare td { display: block; width: 100%; }
  table.compare tbody tr { padding: 14px 18px; border-bottom: 1px solid var(--line); }
  table.compare tbody th { padding: 0 0 6px; width: auto; }
  table.compare tbody td { padding: 3px 0; }
  table.compare tbody td::before { content: attr(data-label) ': '; font-weight: 700; color: var(--navy); }
}
/* A price is one unit: "1 190 kr" never breaks between the digits or before "kr" in running text */
.price { white-space: nowrap; }
.prices { display: grid; gap: clamp(28px, 3vw, 40px); max-width: 920px; }
.prices h3 { margin-bottom: 10px; }
.price-list { list-style: none; padding: 0; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.price-list li { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; padding: 18px 22px; border-top: 1px solid var(--line); }
.price-list li:first-child { border-top: 0; }
.price-list__name { font-family: var(--display); font-weight: 700; color: var(--navy); }
.price-list__name a { color: inherit; }
.price-list__desc { grid-column: 1; color: var(--muted); font-size: 15px; }
.price-list__price { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-family: var(--display); font-weight: 800; font-size: 19px; color: var(--navy); white-space: nowrap; }

/* ---------- prose (C17) ---------- */
.prose { max-width: 740px; }
.prose--center { margin: 0 auto; }
.prose h2 { font-size: clamp(23px, 2.4vw, 29px); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { font-size: 17.5px; }
.prose li { margin-bottom: .45em; }
.fact { background: var(--sky); border-radius: 12px; padding: 18px 22px; margin: 1.4em 0; }
.fact p { margin: 0; }
table.mini { width: 100%; border-collapse: collapse; margin: 1em 0 1.4em; font-size: 16px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: table; }
table.mini th, table.mini td { padding: 12px 14px; text-align: left; border-top: 1px solid var(--line); overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 480px) { table.mini { font-size: 15px; } table.mini th, table.mini td { padding: 10px; } }
table.mini thead th { background: var(--sky); color: var(--navy); font-family: var(--display); border-top: 0; }
ol.timeline { list-style: none; counter-reset: t; padding: 0; }
ol.timeline li { counter-increment: t; position: relative; padding: 0 0 0 58px; margin-bottom: 18px; min-height: 42px; }
ol.timeline li::before { content: counter(t); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue-mid); color: #fff; font-family: var(--display); font-weight: 800; box-shadow: inset 0 0 0 3px var(--blue-mid), inset 0 0 0 5px rgba(255,255,255,.9); }
.sources { margin-top: 2.2em; font-size: 14px; color: var(--muted); }
.sources a { color: var(--muted); }
.article-meta { font-size: 14px; color: var(--muted); margin-bottom: 0; }

/* ---------- areas (C18) ---------- */
.areas { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 20px; }
/* fewer cards than columns: no empty column beside a lone row (2 → centred pair, 4 → one row) */
.areas--1 { --cols: 1; max-width: 420px; margin-inline: auto; }
.areas--2 { --cols: 2; max-width: 760px; margin-inline: auto; }
.areas--4 { --cols: 4; }
@media (max-width: 1100px) { .areas--4 { --cols: 2; } }
.area { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.area h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.area h3 .icon { color: var(--blue); width: 22px; height: 22px; }
.area p { color: var(--muted); font-size: 15.5px; }
.area__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.areas-more { margin-top: 26px; text-align: center; }
@media (max-width: 960px) { .areas { --cols: 2; } }
@media (max-width: 600px) { .areas { --cols: 1; } }

/* ---------- CTA strip (C19) ---------- */
.cta-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; background: var(--sky); border-radius: var(--radius-lg); padding: clamp(26px, 3.4vw, 40px) clamp(24px, 4vw, 48px); }
.cta-strip h2 { font-size: clamp(22px, 2.3vw, 28px); margin-bottom: 6px; }
.cta-strip p { margin: 0; color: var(--muted); }
.cta-strip__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.cta-strip__phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; color: var(--navy); text-decoration: none; }

/* ---------- footer (C12) ---------- */
.site-footer { background: var(--navy-deep); color: #c6d3e6; font-size: 15px; }
.site-footer a { color: #c6d3e6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.35fr 1fr 1.1fr 1.1fr; gap: 36px; padding-block: clamp(56px, 6vw, 80px) 40px; }
.site-footer__logo { width: 200px; margin-bottom: 18px; }
.site-footer h2 { color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .02em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer__contact li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.site-footer__contact .icon { width: 19px; height: 19px; color: #9fc6f2; margin-top: 3px; }
.site-footer__also a { display: inline-flex; align-items: center; gap: 8px; }
.site-footer__also .icon { width: 17px; height: 17px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; transition: transform .2s var(--ease), background-color .2s, color .2s; }
.socials a:hover, .socials a:focus-visible { transform: translateY(-3px); background: #fff; color: var(--navy); text-decoration: none; }
.socials svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 22px 30px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13.5px; color: #93a6c1; }
.site-footer__bottom a, .site-footer__bottom button { color: #93a6c1; }
.site-footer__bottom button { background: none; border: 0; padding: 0; font: inherit; line-height: inherit; cursor: pointer; text-decoration: none; }
.site-footer__bottom button:hover, .site-footer__bottom button:focus-visible { color: #fff; text-decoration: underline; }
.site-footer__legal { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; }
.attribution { font-size: 12.5px; color: #7f93b0; }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- motion (one-shot reveal, set before first paint) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: var(--section) 0; }
.notfound .btn { margin: 8px 6px 0; }
[tabindex="-1"]:focus { outline: none; }
