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

:root {
  --dark:   #00274B;
  --cta:    #F47A20;
  --cta-dk: #D9680E;
  --light:  #EFF0F4;
  --white:  #ffffff;
  --black:  #1a1a1a;
  --text:   #555555;
  --max-w:  1230px;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; transition: .3s; }
img { max-width: 100%; }

/* ── TOP BAR ── */
.top-bar {
  background: var(--dark);
  color: rgba(255,255,255,.85);
  font-size: 13px;
  padding: 8px 30px;
  position: relative;
  z-index: 1000;
}
.top-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.top-bar a { color: rgba(255,255,255,.85); }
.top-bar a:hover { color: #fff; }
.tb-some a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  transition: .3s;
  font-size: 13px;
}
.tb-some a:hover { background: rgba(255,255,255,.15); }
.tb-contact { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.tb-contact a { display: inline-flex; align-items: center; gap: 6px; }
.tb-contact i { font-size: 12px; opacity: .7; }

/* ── HEADER ── */
#masthead {
  position: absolute;
  top: 41px; left: 0;
  width: 100%;
  z-index: 999;
}
.inside-header {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.site-logo img { height: 52px; width: auto; }

/* Navigation */
.main-nav { display: flex; list-style: none; }
.main-nav li a {
  display: block;
  padding: 0 16px;
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  line-height: 80px;
  transition: .3s;
}
.main-nav li a:hover,
.main-nav li.current > a { color: rgba(255,255,255,.65); }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  font-size: 26px;
  padding: 0;
}

/* ── MOBILE MENU ── */
#mob-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
}
#mob-overlay.open { display: block; }
.mob-bg { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.mob-panel {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 285px;
  background: var(--white);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}
.mob-panel .close-btn {
  align-self: flex-end;
  background: none; border: none;
  font-size: 28px; cursor: pointer;
  color: var(--black); margin-bottom: 8px;
}
.mob-panel ul { list-style: none; }
.mob-panel ul li a {
  display: block;
  padding: 13px 0;
  font-size: 17px; font-weight: 700;
  color: var(--black);
  border-bottom: 1px solid #eee;
}
.mob-panel ul li a:hover { color: var(--cta); }
.mob-logo { margin-top: auto; padding-top: 28px; }
.mob-logo img { max-width: 160px; }

/* ── KNAPPER ── */
.btn {
  display: inline-block;
  background: var(--cta);
  color: var(--white) !important;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 30px;
  border-radius: 2px;
  transition: background .3s;
  line-height: 1.2;
}
.btn:hover { background: var(--cta-dk); }

/* ── PAGE HERO (undersider) ── */
.page-hero {
  background: linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)),
              url('images/hero-bg.jpg') center/cover no-repeat;
  padding: 180px 30px 80px;
  text-align: center;
  color: var(--white);
}
.page-hero h1 { font-size: clamp(24px, 4vw, 44px); font-weight: 700; margin-bottom: 12px; }
.page-hero p { font-size: 18px; opacity: .85; max-width: 600px; margin: 0 auto; }

/* ── INDHOLD (undersider) ── */
.page-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 80px 30px;
}
.page-content h2 { font-size: 26px; font-weight: 700; color: var(--dark); margin: 40px 0 14px; }
.page-content h2:first-child { margin-top: 0; }
.page-content p { margin-bottom: 16px; }
.page-content ul { margin: 0 0 20px 22px; }
.page-content ul li { margin-bottom: 8px; }

/* ── SPLIT ── */
.split { display: flex; flex-wrap: wrap; }
.split-img {
  flex: 1 1 50%;
  min-height: 420px;
  background-size: cover;
  background-position: center;
}
.split-text {
  flex: 1 1 50%;
  padding: 70px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.split-text h2 {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  color: var(--dark);
  margin: 0;
  line-height: 1.25;
}
.split-text p { margin: 0; font-size: 15px; font-weight: 400; line-height: 1.8; color: #555; }

/* ── USP STRIP ── */
.usp-strip { background: var(--light); padding: 75px 30px; }
.usp-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}
.usp-item img { width: 52px; height: 52px; margin-bottom: 14px; mix-blend-mode: multiply; }
.usp-item h3 {
  font-size: 16px; font-weight: 300;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--dark); margin-bottom: 10px;
}
.usp-item p { font-size: 14px; font-weight: 400; color: #555; line-height: 1.7; }
.usp-item a { color: var(--cta); font-weight: 600; }

/* ── CTA BOKS ── */
.cta-section { background: var(--light); padding: 80px 30px 100px; }
.cta-box {
  background: var(--dark);
  color: var(--white);
  max-width: 840px;
  margin: 0 auto;
  padding: 60px 70px;
  text-align: center;
  border-radius: 2px;
}
.cta-box h3 { font-size: clamp(18px, 2.5vw, 26px); font-weight: 700; margin-bottom: 10px; }
.cta-box h4 { font-size: 17px; font-weight: 400; margin-bottom: 18px; opacity: .8; }
.cta-box p  { opacity: .75; margin-bottom: 30px; font-size: 15px; }

/* ── TJENESTE KORT ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 30px;
}
.service-card {
  background: var(--light);
  border-radius: 2px;
  padding: 36px 28px;
}
.service-card i {
  font-size: 32px;
  color: var(--cta);
  margin-bottom: 16px;
  display: block;
}
.service-card h3 { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.service-card p  { font-size: 14px; }

/* ── KONTAKTFORMULAR ── */
.contact-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}
.contact-info h2 { font-size: 26px; font-weight: 700; color: var(--dark); margin-bottom: 20px; }
.contact-info p  { margin-bottom: 14px; }
.contact-info a  { color: var(--cta); }
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.contact-item i { font-size: 18px; color: var(--cta); margin-top: 3px; min-width: 20px; }
.contact-item strong { display: block; color: var(--dark); font-weight: 700; margin-bottom: 2px; }
.contact-form h2 { font-size: 26px; font-weight: 700; color: var(--dark); margin-bottom: 20px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--dark); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 2px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: #fafafa;
  transition: border .3s;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--cta); background: #fff; }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 13px; color: #888; margin-top: 10px; }

/* ── OM MIG SEKTION ── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.about-img {
  background: url('images/split-1.jpg') center/cover no-repeat;
  min-height: 500px;
}
.about-text {
  padding: 70px 60px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.about-text h2 { font-size: 28px; font-weight: 700; color: var(--dark); }
.about-text .tag {
  display: inline-block;
  background: var(--cta);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 4px;
}
.facts-strip {
  background: var(--dark);
  color: var(--white);
  padding: 60px 30px;
}
.facts-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}
.fact-num { font-size: 48px; font-weight: 800; color: #fff; line-height: 1; }
.fact-label { font-size: 14px; opacity: .7; margin-top: 6px; }

/* ── FOOTER ── */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.8);
  padding: 70px 30px 0;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  padding-bottom: 50px;
}
.footer-inner h2 {
  font-size: 13px; font-weight: 700;
  color: var(--white); margin-bottom: 16px;
  text-transform: uppercase; letter-spacing: .08em;
}
.footer-inner p { font-size: 14px; line-height: 1.8; margin-bottom: 10px; }
.footer-inner a { color: rgba(255,255,255,.8); }
.footer-inner a:hover { color: var(--white); }
.footer-some { margin-top: 14px; }
.footer-some a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.1); margin-right: 6px;
  color: var(--white); font-size: 15px; transition: .3s;
}
.footer-some a:hover { background: rgba(255,255,255,.2); }
.site-info {
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center; padding: 20px 0;
  font-size: 13px; color: rgba(255,255,255,.4);
}

/* ── MOBIL BAR ── */
.mob-bar {
  display: none;
  position: sticky;
  bottom: 0; z-index: 999;
}
.mob-bar a {
  flex: 1; text-align: center;
  background: var(--dark); color: var(--white);
  padding: 14px 0; font-size: 21px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.mob-bar a:last-child { border-right: none; }
.mob-bar a:hover { filter: brightness(1.15); }

/* ── RESPONSIV ── */

/* ── STICKY HEADER VED SCROLL ── */
#masthead.scrolled {
  position: fixed;
  top: 0;
  background: var(--dark);
  box-shadow: 0 2px 20px rgba(0,0,0,.15);
  animation: slideDown .3s ease;
}
@keyframes slideDown {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}

/* ── TABLET ── */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .hamburger { display: block; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-split { grid-template-columns: 1fr; }
  .about-img { min-height: 300px; }
  .about-text { padding: 50px 40px; }
  .split-text { padding: 50px 40px; }
  .usp-inner { gap: 24px; }
  .cta-box { padding: 50px 40px; }
  .facts-inner { gap: 24px; }
  .footer-inner { gap: 40px; }
}

/* ── MOBIL ── */
@media (max-width: 768px) {
  /* Layout */
  .split { flex-direction: column; }
  .split-img { width: 100%; min-height: 260px; order: -1 !important; }
  .split-text { width: 100%; padding: 36px 20px !important; }
  .split-text h2 { font-size: 20px; }

  /* USP */
  .usp-strip { padding: 50px 20px; }
  .usp-inner { grid-template-columns: 1fr; gap: 32px; }

  /* CTA */
  .cta-section { padding: 50px 20px 70px; }
  .cta-box { padding: 36px 20px; }
  .cta-box h3 { font-size: 20px; }
  .cta-box h4 { font-size: 15px; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 28px; padding-bottom: 36px; }
  .site-footer { padding: 50px 20px 0; }

  /* Undersider */
  .page-hero { padding: 140px 20px 50px; }
  .page-hero h1 { font-size: 26px; }
  .page-hero p { font-size: 15px; }
  .services-grid { grid-template-columns: 1fr; padding: 40px 20px; gap: 16px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 36px; padding: 40px 20px; }
  .facts-inner { grid-template-columns: 1fr; gap: 28px; }
  .fact-num { font-size: 38px; }
  .about-text { padding: 36px 20px; }

  /* Top bar */
  .tb-hide { display: none; }
  .top-bar { padding: 7px 16px; font-size: 12px; }
  .tb-contact { gap: 12px; }

  /* Header */
  #masthead { top: 37px; }
  .inside-header { padding: 0 16px; height: 68px; }
  .site-logo img { height: 42px; }

  /* Mobil bar */
  .mob-bar { display: flex; }

  /* Knapper */
  .btn { padding: 13px 24px; font-size: 14px; width: 100%; text-align: center; display: block; }
  .split-text .btn { width: auto; display: inline-block; }
}

/* ── SMÅ MOBILER ── */
@media (max-width: 420px) {
  .top-bar .tb-some { display: none; }
  .tb-contact { justify-content: flex-end; }
  .split-img { min-height: 220px; }
  .usp-item img { width: 40px; height: 40px; }
  .cta-box h3 { font-size: 18px; }
  .service-card { padding: 28px 20px; }
}

/* ── COOKIE BANNER ── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: #fff;
  border-top: 3px solid var(--cta);
  box-shadow: 0 -4px 24px rgba(0,0,0,.12);
  padding: 22px 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text);
  transform: translateY(100%);
  transition: transform .4s ease;
}
#cookie-banner.visible { transform: translateY(0); }
#cookie-banner p { flex: 1; min-width: 220px; margin: 0; line-height: 1.55; }
#cookie-banner a { color: var(--cta); font-weight: 600; text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-accept {
  background: var(--cta);
  color: #fff;
  border: none;
  padding: 11px 22px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 2px;
  transition: filter .3s;
  white-space: nowrap;
}
.cookie-btn-accept:hover { filter: brightness(1.15); }
.cookie-btn-decline {
  background: #f0f0f0;
  color: var(--text);
  border: none;
  padding: 11px 22px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 2px;
  transition: background .3s;
  white-space: nowrap;
}
.cookie-btn-decline:hover { background: #e0e0e0; }
@media (max-width: 600px) {
  #cookie-banner { padding: 18px 16px 80px; }
  .cookie-btns { width: 100%; }
  .cookie-btn-accept, .cookie-btn-decline { flex: 1; text-align: center; }
}
