/* ==========================================================================
   Einvik Transport AS | style.css

   Designregler:
   1. To fonter: Barlow Condensed (overskrifter, skiltfølelse) + Barlow (brødtekst)
   2. Én aksentfarge (lilla fra SR Group-logoen), ellers papir og blekk
   3. Bare to radiuser: 2px og 0. Ingen piller, ingen skygger, ingen gradienter
   4. Struktur med tynne streker (regler), ikke bokser i bokser
   5. Alt venstrejustert, asymmetrisk rytme
   6. Alle bilder behandles likt (samme fargekorreksjon, skarpe hjørner)
   7. Én type bevegelse: rolig fade-up ved scroll + understrek på lenker
   ========================================================================== */

:root {
  --paper: #f2efe8;
  --paper-2: #e7e3d8;
  --ink: #111417;
  --ink-2: #1b1f23;
  --text: #1b1f23;
  --muted: #5b605d;
  --muted-inverse: #a9ada7;
  --rule: #cdc8ba;
  --rule-dark: rgba(255, 255, 255, 0.18);

  --accent: #5f45c9;
  --accent-light: #b9a8ff;

  --r: 2px;

  --header-h: 84px;
  --container-w: 1180px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Barlow", -apple-system, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0 0 0.45em;
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: 0.005em;
}

p { margin: 0 0 1em; color: var(--muted); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* Alle bilder behandles likt */
.hero-media img,
.equip-card img,
.split-media img,
.gallery-item img,
.lightbox-overlay img {
  filter: saturate(0.92) contrast(1.04);
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-dark .eyebrow { color: var(--accent-light); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: var(--r);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.08em;
  border: 1.5px solid transparent;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #4b34a8; }

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--accent); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: #fff; }

/* ==========================================================================
   Header: flat bar, solid when scrolled
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  transition: background 0.35s var(--ease);
}
.site-header.is-scrolled,
.site-header.menu-open { background: var(--ink); }

.site-header .container { padding: 0; }

.nav-box {
  max-width: var(--container-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 24px;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #fff;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.nav-links a {
  position: relative;
  display: inline-block;
  padding: 10px 14px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.3s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--accent-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 11px 18px;
  border-radius: var(--r);
  flex-shrink: 0;
  transition: background 0.3s var(--ease);
}
.nav-cta:hover { background: #4b34a8; }
.nav-cta svg path { stroke: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--r);
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  background: #fff;
  margin: 0 auto;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding: 180px 0 72px;
  background: var(--ink);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,12,14,.5) 0%, rgba(10,12,14,.28) 38%, rgba(10,12,14,.9) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container-w);
}
.hero h1 {
  font-size: clamp(48px, 8.2vw, 112px);
  line-height: 0.92;
  color: #fff;
  max-width: 15ch;
  margin-bottom: 28px;
}
.hero-lead {
  color: rgba(255,255,255,0.86);
  font-size: 20px;
  max-width: 520px;
  margin-bottom: 34px;
  margin-left: 12%;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
  margin-left: 12%;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(5, auto);
  justify-content: start;
  gap: 0;
  border-top: 1px solid var(--rule-dark);
  padding-top: 24px;
}
.hero-stats .stat {
  padding: 0 32px 0 20px;
  border-left: 1px solid var(--rule-dark);
}
.hero-stats .stat:first-child { padding-left: 0; border-left: 0; }
.hero-stats .stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
  color: #fff;
  font-weight: 600;
}
.hero-stats .stat span {
  font-size: 14px;
  color: rgba(255,255,255,0.68);
}

/* Page (inner) banner for sub-pages */
.page-hero {
  position: relative;
  min-height: 54vh;
  display: flex;
  align-items: flex-end;
  padding: 170px 0 64px;
  background: var(--ink);
  overflow: hidden;
}
.page-hero .hero-media img { object-position: center 55%; }
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(44px, 6.6vw, 88px);
  line-height: 0.95;
}
.page-hero p {
  color: rgba(255,255,255,0.84);
  font-size: 19px;
  max-width: 480px;
  margin-left: 12%;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 18px;
}
.breadcrumb span { color: #fff; }

/* ==========================================================================
   Sections / general
   ========================================================================== */

section { position: relative; }
.section { padding: 112px 0 96px; }
.section-tight { padding: 32px 0 96px; }
.section-soft { background: var(--paper-2); }
.section-dark {
  background: var(--ink);
  color: #fff;
}
.section-dark p { color: var(--muted-inverse); }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-head.center { margin-left: 0; text-align: left; }
.section-head h2 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.98;
}
.section-head p { font-size: 18px; max-width: 460px; }

section h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 0.98; }

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  counter-reset: feature;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

/* Equipment: bilde over, bildetekst under streken */
.equip-card {
  display: flex;
  flex-direction: column;
  cursor: zoom-in;
}
.grid-4 .equip-card:nth-child(even),
.grid-5 .equip-card:nth-child(even) { margin-top: 44px; }
.equip-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--r);
}
.equip-card-body {
  padding: 18px 0 0;
  margin-top: 16px;
  border-top: 2px solid var(--accent-light);
}
.equip-num {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent-light);
  margin-bottom: 6px;
}
.equip-card-body h3 { color: #fff; font-size: 28px; margin-bottom: 8px; }
.equip-card-body p { color: var(--muted-inverse); font-size: 15.5px; margin: 0; }

/* Verdier: nummerert kolonne, ingen boks */
.feature-card {
  border-top: 2px solid var(--ink);
  padding-top: 18px;
  counter-increment: feature;
}
.feature-card::before {
  content: "0" counter(feature);
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 26px;
}
.feature-icon { display: none; }
.feature-card h3 { font-size: 32px; }
.feature-card p { margin: 0; font-size: 16.5px; max-width: 320px; }
.section-dark .feature-card { border-top-color: #fff; }

/* Split content (text + image) */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 88px;
  align-items: start;
}
.split-media {
  position: relative;
  margin-top: 36px;
  cursor: zoom-in;
}
.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
  border-radius: var(--r);
}
.split-badge {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--accent);
  border-radius: var(--r);
  padding: 14px 20px;
  color: #fff;
}
.split-badge b { display: block; font-family: var(--font-display); font-size: 26px; line-height: 1.05; font-weight: 600; }
.split-badge span { font-size: 14px; color: rgba(255,255,255,0.88); }

.check-list { margin: 26px 0 32px; display: flex; flex-direction: column; }
.check-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--text);
  font-size: 17px;
  padding: 13px 0;
  border-top: 1px solid var(--rule);
}
.check-list li:last-child { border-bottom: 1px solid var(--rule); }
.check-list svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--accent); margin-top: 3px; }

/* Galleri: asymmetrisk */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 290px 290px;
  gap: 14px;
}
.gallery-strip .gallery-item {
  display: block;
  overflow: hidden;
  cursor: zoom-in;
  border-radius: var(--r);
}
.gallery-strip .gallery-item:nth-child(1),
.gallery-strip .gallery-item:nth-child(4),
.gallery-strip .gallery-item:nth-child(5) { grid-column: span 2; }
.gallery-strip img { width: 100%; height: 100%; object-fit: cover; }

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  background: rgba(10, 12, 14, 0.95);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.lightbox-overlay.is-open { opacity: 1; visibility: visible; }
.lightbox-overlay img {
  max-width: 88vw;
  max-height: 84vh;
  border-radius: var(--r);
}
.lightbox-close {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 46px;
  height: 46px;
  border-radius: var(--r);
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.3s var(--ease);
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.16); }
.lightbox-close svg { width: 18px; height: 18px; }

/* CTA band: flat signalblokk */
.cta-band {
  background: var(--accent);
  padding: 56px 64px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  border-radius: var(--r);
}
.cta-band-text { max-width: 620px; }
.cta-band h2 { color: #fff; font-size: clamp(34px, 4.4vw, 56px); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.9); margin: 0; font-size: 18px; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-primary { background: var(--ink); }
.cta-band .btn-primary:hover { background: #fff; color: var(--ink); }

.role-card {
  border: 1.5px solid var(--ink);
  border-radius: var(--r);
  padding: 40px;
  margin-top: 20px;
}
.role-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.role-card-head h3 { margin: 0; font-size: 38px; }
.tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  border-radius: var(--r);
  border: 1.5px solid var(--accent);
  color: var(--accent);
  white-space: nowrap;
}
.role-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 56px;
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--rule);
}
.role-grid h4 {
  font-size: 16px;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 10px;
}
.role-grid p { font-size: 16px; margin: 0; }

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 640px);
  gap: 72px;
  align-items: start;
}
.contact-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r);
  padding: 44px;
}
.contact-card h3 { color: #fff; font-size: 40px; }
.contact-card p { color: var(--muted-inverse); }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--rule-dark);
}
.contact-item:first-of-type { margin-top: 20px; }
.contact-item-icon {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon svg { width: 24px; height: 24px; color: var(--accent-light); }
.contact-item a, .contact-item span.label { font-weight: 600; }
.contact-item a { position: relative; }
.contact-item .label { display: block; font-size: 14px; color: var(--muted-inverse); font-weight: 400; margin-bottom: 2px; }

.form-card { padding: 4px 0 0; }
.form-card h3 { font-size: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.field { margin-bottom: 26px; }
.field label { display: block; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 4px; }
.field input, .field textarea {
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-bottom: 1.5px solid var(--ink);
  border-radius: var(--r);
  background: transparent;
  font-family: inherit;
  font-size: 17px;
  color: var(--text);
  transition: border-color .3s;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.form-note { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--ink);
  color: var(--muted-inverse);
  padding: 88px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 1fr;
  gap: 60px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--rule-dark);
}
.footer-brand .brand { color: #fff; margin-bottom: 16px; font-size: 34px; }
.footer-brand p { max-width: 340px; font-size: 16px; }
.footer-links h4, .footer-contact h4 {
  color: var(--accent-light);
  font-size: 15px;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
}
.footer-links a, .footer-contact a {
  display: block;
  padding: 6px 0;
  font-size: 16px;
  color: var(--muted-inverse);
  transition: color .3s;
}
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 14px;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { margin: 0; color: var(--muted-inverse); }
.footer-bottom-links { display: flex; gap: 18px; }

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 .equip-card:nth-child(even),
  .grid-5 .equip-card:nth-child(even) { margin-top: 0; }
  .grid-3 { gap: 32px; }
  .role-grid { grid-template-columns: 1fr; gap: 20px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-media { margin-top: 0; }
  .split-media img, .slider-track img { aspect-ratio: 16/10; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .gallery-strip { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 220px; }
  .gallery-strip .gallery-item:nth-child(1) { grid-row: auto; grid-column: 1 / span 2; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 44px; }
  .hero-lead, .hero-actions, .page-hero p { margin-left: 0; }
}

@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 24px 20px;
    display: none;
    flex-direction: column;
  }
  .mobile-menu.is-open { display: flex; }
  .mobile-menu a {
    padding: 15px 0;
    border-top: 1px solid var(--rule-dark);
    color: #fff;
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 500;
  }
  .mobile-menu a.active { color: var(--accent-light); }
  .mobile-menu .nav-cta {
    display: flex;
    justify-content: center;
    margin-top: 12px;
    font-size: 20px;
    border-top: 0;
    text-transform: none;
    color: #fff;
  }

  .hero, .page-hero { padding-top: 140px; }
  .hero-stats { grid-template-columns: repeat(2, auto); row-gap: 22px; }
  .hero-stats .stat:nth-child(3),
  .hero-stats .stat:nth-child(5) { padding-left: 0; border-left: 0; }
  .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .section { padding: 72px 0 64px; }
  .section-tight { padding: 16px 0 72px; }
  .contact-card { padding: 30px; }
  .role-card { padding: 28px; }
  .role-card-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .container, .nav-box, .mobile-menu { padding-left: 18px; padding-right: 18px; }
  .cta-band { padding: 32px 24px; }
  .gallery-strip { grid-auto-rows: 170px; }
  .hero-actions .btn, .hero-actions { width: 100%; }
  .hero-actions { flex-direction: column; }
  .hero h1 { max-width: none; }
}

/* Store bokstaver kun på små etiketter (Ø får feil bredde i Barlow Condensed versalt) */
.eyebrow, .tag, .role-grid h4, .footer-links h4, .footer-contact h4 { text-transform: uppercase; }

.site-footer p { color: var(--muted-inverse); }
.footer-bottom { padding: 24px; }

/* Bildekarusell (Om oss) */
.slider { cursor: auto; overflow: hidden; border-radius: var(--r); }
.slider-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track img {
  flex: 0 0 100%;
  scroll-snap-align: start;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 0;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255,255,255,0.7);
  border-radius: var(--r);
  background: rgba(17,20,23,0.55);
  color: #fff;
  transition: background 0.3s var(--ease);
}
.slider-btn:hover { background: var(--accent); border-color: var(--accent); }
.slider-btn svg { width: 20px; height: 20px; }
.slider-prev { left: 14px; }
.slider-next { right: 14px; }
.slider-count {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 10px;
  border-radius: var(--r);
  background: rgba(17,20,23,0.65);
  color: #fff;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.08em;
}

.role-list li {
  padding: 8px 0;
  border-top: 1px solid var(--rule);
  font-size: 16px;
  color: var(--text);
}
.role-list li:last-child { border-bottom: 1px solid var(--rule); }

/* Mobil: bildet vises i sin helhet over teksten, ikke zoomet inn bak den */
@media (max-width: 860px) {
  .hero { display: block; min-height: 0; padding: 0; }
  .hero-media { position: relative; inset: auto; aspect-ratio: 4 / 3; }
  .hero-media img { object-position: center 45%; }
  .hero-content { padding-top: 28px; padding-bottom: 48px; }
  .hero h1 { font-size: clamp(40px, 11vw, 64px); max-width: none; }
  .page-hero { min-height: 340px; }
}
