:root {
  --navy: #0f2437;
  --navy-2: #142f46;
  --steel: #5f7180;
  --light: #f5f7f8;
  --white: #ffffff;
  --line: #dbe2e7;
  --accent: #d6a72c;
  --accent-dark: #b98b18;
  --text: #1b2630;
  --muted: #62717d;
  --shadow: 0 24px 60px rgba(15, 36, 55, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 36, 55, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--white); font-weight: 800; letter-spacing: -0.02em; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--navy);
  font-size: 0.9rem;
}
.brand-text { font-size: 1rem; }
.nav-links { display: flex; align-items: center; gap: 28px; color: rgba(255,255,255,0.86); font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--white); }
.nav-toggle { display: none; border: 0; background: transparent; color: var(--white); font-size: 1.8rem; cursor: pointer; }

.hero {
  background:
    linear-gradient(115deg, rgba(15,36,55,0.95), rgba(15,36,55,0.72)),
    radial-gradient(circle at 78% 22%, rgba(214,167,44,0.25), transparent 32%),
    linear-gradient(135deg, #10283d, #0b1b2a);
  color: var(--white);
  padding: 96px 0 86px;
}
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 48px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.78rem; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.04em; }
h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); max-width: 850px; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.35rem; }
p { margin: 16px 0 0; }
.hero-lead { max-width: 720px; color: rgba(255,255,255,0.84); font-size: 1.22rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 800; transition: transform .2s ease, background .2s ease, border .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: var(--navy); }
.button-primary:hover { background: #e2b53e; }
.button-secondary { border: 1px solid rgba(255,255,255,0.28); color: var(--white); }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.trust-row span { border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.06); padding: 10px 14px; border-radius: 999px; color: rgba(255,255,255,0.85); font-size: 0.92rem; }
.hero-card { background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.16); border-radius: 28px; padding: 34px; box-shadow: var(--shadow); }
.hero-card h2 { font-size: 2rem; }
.hero-card p { color: rgba(255,255,255,0.78); }
.card-line { width: 64px; height: 5px; background: var(--accent); border-radius: 999px; margin-bottom: 24px; }

.section { padding: 86px 0; }
.section.muted { background: var(--light); }
.section-heading { max-width: 760px; margin-bottom: 36px; }
.section-heading p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }
.cards { display: grid; gap: 22px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.service-card, .checklist-card, .stats-card, .cta-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 14px 40px rgba(15, 36, 55, 0.08);
}
.service-card { padding: 30px; }
.service-card p { color: var(--muted); }
.icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(214,167,44,0.16); color: var(--navy); font-weight: 900; margin-bottom: 22px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split p { color: var(--muted); font-size: 1.05rem; }
.split .button { margin-top: 28px; }
.checklist-card { padding: 34px; }
.checklist { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 32px; color: var(--text); font-weight: 600; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent-dark); font-weight: 900; }
.stats-card { padding: 34px; display: grid; gap: 18px; background: var(--navy); color: var(--white); }
.stats-card div { padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,0.14); }
.stats-card div:last-child { border-bottom: 0; padding-bottom: 0; }
.stats-card strong { display: block; font-size: 1.15rem; }
.stats-card span { display: block; color: rgba(255,255,255,0.76); margin-top: 6px; }
.cta-section { background: var(--navy); color: var(--white); }
.cta-card { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 34px; align-items: center; padding: 42px; background: var(--navy-2); border-color: rgba(255,255,255,0.12); }
.cta-card p { color: rgba(255,255,255,0.78); }
.contact-box { background: rgba(255,255,255,0.08); border-radius: 22px; padding: 26px; border: 1px solid rgba(255,255,255,0.12); }
.contact-box p { margin-top: 10px; }
.contact-box a { color: var(--white); font-weight: 700; }
.small { font-size: 0.86rem; opacity: 0.78; }
.footer { background: #091722; color: rgba(255,255,255,0.75); padding: 24px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.footer p { margin: 0; }
.footer a { color: var(--white); font-weight: 700; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 74px; left: 0; right: 0; display: none; flex-direction: column; align-items: flex-start; gap: 0; background: var(--navy); padding: 10px 20px 24px; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 14px 0; }
  .hero { padding: 74px 0 58px; }
  .hero-grid, .split, .cta-card { grid-template-columns: 1fr; }
  .cards.three { grid-template-columns: 1fr; }
  .reverse .stats-card { order: 2; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .container { width: min(100% - 28px, 1120px); }
  .brand-text { font-size: 0.92rem; }
  .hero-card, .service-card, .checklist-card, .stats-card, .cta-card { border-radius: 20px; padding: 24px; }
  .button { width: 100%; }
}


/* Team / Hvem er vi */
.team-hero {
  padding: 86px 0 76px;
}

.team-profile {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 42px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 14px 40px rgba(15, 36, 55, 0.08);
  padding: 36px;
}

.profile-photo {
  min-height: 380px;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(15,36,55,0.10), rgba(214,167,44,0.18)),
    var(--light);
  border: 1px dashed rgba(15,36,55,0.25);
  display: grid;
  place-items: center;
  color: var(--steel);
  font-weight: 800;
  font-size: 1.15rem;
}

.profile-title {
  margin-top: 10px;
  color: var(--accent-dark);
  font-weight: 800;
}

.profile-body p:not(.eyebrow):not(.profile-title):not(.small) {
  color: var(--muted);
  font-size: 1.05rem;
}

.profile-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 30px;
}

.checklist.compact {
  gap: 10px;
  margin-top: 16px;
}

.checklist.compact li {
  font-weight: 600;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button-outline {
  border: 1px solid var(--line);
  color: var(--navy);
  background: var(--white);
}

.button-outline:hover {
  border-color: var(--accent);
}

.profile-note {
  color: var(--muted);
  margin-top: 18px;
}

.future-profiles {
  margin-top: 46px;
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 34px;
}

.future-profiles p:not(.eyebrow) {
  color: var(--muted);
  max-width: 760px;
}

@media (max-width: 860px) {
  .team-profile {
    grid-template-columns: 1fr;
  }

  .profile-columns {
    grid-template-columns: 1fr;
  }

  .profile-photo {
    min-height: 260px;
  }
}


/* Language selector */
.language-switch { display: inline-flex; align-items: center; gap: 4px; margin-left: 2px; padding-left: 16px; border-left: 1px solid rgba(255,255,255,0.18); }
.language-switch a { width: auto; padding: 6px 9px; border-radius: 999px; color: rgba(255,255,255,0.72); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; }
.language-switch a:hover { color: var(--white); }
.language-switch a.active { background: var(--accent); color: var(--navy); }
@media (max-width: 860px) { .language-switch { width: 100%; margin: 8px 0 0; padding: 14px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,0.12); } .language-switch a { width: auto; padding: 8px 12px; } }
