:root{
  --bg:#fbfcfb;
  --bg2:#f6faf8;
  --text:#0f1b17;
  --muted:#4a5b55;
  --line:#e3ece8;
  --card:#ffffff;
  --shadow: 0 14px 28px rgba(16, 24, 40, .08);
  --radius: 18px;
  --accent:#18a866;
  --accent2:#0f8f54;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(900px 500px at 20% 0%, rgba(24,168,102,.10), transparent 60%),
    radial-gradient(800px 450px at 90% 20%, rgba(24,168,102,.08), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
}

.container{max-width:1160px;margin:0 auto;padding:0 18px}
a{color:inherit}
a:hover{color:var(--accent)}
.muted{color:var(--muted)}
.small{font-size:.92rem}
.lead{font-size:1.12rem;color:var(--muted)}
.kicker{margin:0 0 10px;color:var(--accent);font-weight:800;letter-spacing:.02em}
.sr-only{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}

.header{
  position:sticky;top:0;z-index:50;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav{display:flex;align-items:center;justify-content:space-between;padding:14px 0;gap:12px;position:relative}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none}
.brand-mark{
  width:46px;height:46px;border-radius:14px;
  display:grid;place-items:center;
  background: var(--bg2);
  border:1px solid var(--line);
  box-shadow: var(--shadow);
}
.brand-mark img{width:38px;height:38px;border-radius:10px}
.brand-text{display:flex;flex-direction:column;gap:2px}
.brand-title{font-weight:900;letter-spacing:-.01em}
.brand-sub{font-size:.92rem;color:var(--muted)}

.nav-links{display:flex;gap:10px;align-items:center}
.nav-links > a, .dropbtn{
  padding:10px 10px;border-radius:12px;text-decoration:none;color:var(--text);
  border:none;background:transparent;font:inherit;cursor:pointer;
}
.nav-links > a:hover, .dropbtn:hover{background: rgba(24,168,102,.08)}

.dropdown{position:relative}
.dropdown-menu{
  position:absolute;top:44px;left:0;
  background:#fff;border:1px solid var(--line);
  border-radius:14px;box-shadow: var(--shadow);
  padding:8px;min-width:220px;display:none;z-index:60;
}
.dropdown-menu a{
  display:block;padding:10px 10px;border-radius:12px;text-decoration:none;
}
.dropdown-menu a:hover{background: var(--bg2)}
.dropdown.open .dropdown-menu{display:block}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:11px 15px;border-radius:14px;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  color:#fff;text-decoration:none;font-weight:800;
  border:1px solid rgba(0,0,0,.05);
  box-shadow: 0 12px 18px rgba(24,168,102,.18);
}
.btn:hover{filter: brightness(1.03)}
.btn-ghost{
  background:#fff;color:var(--text);
  border:1px solid var(--line);
  box-shadow: var(--shadow);
}
.btn-ghost:hover{background: var(--bg2)}
.link{color:var(--accent);text-decoration:none;font-weight:700}
.link:hover{text-decoration:underline}

.nav-toggle{
  display:none;width:44px;height:40px;border-radius:12px;
  border:1px solid var(--line);background:#fff;box-shadow: var(--shadow);
}
.nav-toggle span{display:block;height:2px;width:18px;margin:5px auto;background:var(--text);border-radius:2px}

.hero{padding:44px 0 18px}
.hero-grid{display:grid;grid-template-columns: 1.05fr .95fr; gap:22px; align-items:start}
.hero h1{margin:0 0 10px;font-size:2.45rem;letter-spacing:-.03em}
.cta{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}

.hero-points{display:grid;gap:10px;margin-top:18px}
.point{display:flex;gap:10px;align-items:flex-start}
.check{color:var(--accent);font-weight:900;margin-top:2px}

.hero-media{position:relative}
.hero-media img{
  width:100%;height:auto;border-radius:22px;border:1px solid var(--line);
  box-shadow: var(--shadow);background:#fff;
}
.hero-badge{
  position:absolute;left:14px;right:14px;bottom:14px;
  background: rgba(255,255,255,.92);
  border:1px solid var(--line);
  border-radius:18px;padding:12px 14px;
  box-shadow: var(--shadow);
  display:grid;gap:6px;
}
.badge-title{font-weight:900}

.section{padding:34px 0}
.section.alt{background: linear-gradient(180deg, rgba(246,250,248,.95), transparent)}
.section-head{margin-bottom:14px}

.grid-2{display:grid;grid-template-columns: 1fr 1fr; gap:16px}
.grid-3{display:grid;grid-template-columns: repeat(3, 1fr); gap:16px}

.card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding:20px;
  box-shadow: var(--shadow);
}

.service-img{
  width:100%;
  border-radius:16px;
  border:1px solid var(--line);
  background:#fff;
  margin-bottom:12px;
}
.service-body p{margin-top:6px}

.list{margin:10px 0 0;padding-left:18px;color:var(--muted)}
.list li{margin:7px 0}

.cta-band{
  margin-top:18px;
  padding:18px;
  border:1px dashed rgba(24,168,102,.35);
  background: rgba(24,168,102,.06);
  border-radius: var(--radius);
  display:flex;align-items:center;justify-content:space-between;gap:16px;
}
.cta-band h3{margin:0 0 6px}
.cta-band p{margin:0}

.price-list{display:grid;gap:10px;margin-top:10px}
.price-row{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:12px;border-radius:14px;border:1px solid var(--line);background:#fff;
}

.pagehead{padding:34px 0 10px;background: linear-gradient(180deg, rgba(246,250,248,.95), transparent)}
.pagehead h1{margin:0 0 8px;font-size:2.05rem}

.steps{margin:10px 0 0;padding-left:18px;color:var(--muted)}
.steps li{margin:7px 0}
.prose{max-width:920px}

label{display:block;margin:12px 0 0;font-weight:800}
input, textarea{
  width:100%;
  margin-top:6px;
  padding:11px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  color: var(--text);
}
input:focus, textarea:focus{outline:2px solid rgba(24,168,102,.25); border-color: rgba(24,168,102,.55)}

.footer{margin-top:34px;border-top:1px solid var(--line); background: var(--bg2)}
.footer-grid{display:grid;grid-template-columns: 1.2fr 1fr 1fr 1fr; gap:16px; padding:24px 0}
.footer a{text-decoration:none}
.footer-brand{font-weight:900;letter-spacing:-.01em}
.footer-title{font-weight:900;margin-bottom:6px}
.footer-bottom{padding:10px 0 22px}

.cookie-banner{display:none;border-bottom:1px solid var(--line);background: rgba(255,255,255,.92)}
.cookie-inner{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:12px 0}
.cookie-title{font-weight:900;margin-bottom:4px}
.cookie-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}

@media (max-width: 1000px){
  .hero-grid{grid-template-columns: 1fr}
  .grid-3{grid-template-columns: 1fr}
  .grid-2{grid-template-columns: 1fr}
  .footer-grid{grid-template-columns: 1fr}
  .cta-band{flex-direction:column;align-items:flex-start}

  .nav-toggle{display:inline-flex;align-items:center;justify-content:center}
  .nav-links{
    position:absolute;left:0;right:0;top:74px;
    background: rgba(255,255,255,.97);
    border-bottom:1px solid var(--line);
    display:none;
    flex-direction:column;
    padding:12px 18px;
    gap:6px;
    border-radius: 0 0 18px 18px;
    box-shadow: var(--shadow);
  }
  .nav-links.open{display:flex}
  .dropdown-menu{position:static;display:block;border:none;box-shadow:none;padding:0}
  .dropdown{width:100%}
  .dropbtn{width:100%;text-align:left}
}

/* Page head background images */
.pagehead.with-bg{
  position: relative;
  overflow: hidden;
  padding: 56px 0 18px;
}
.pagehead.with-bg::before{
  content:"";
  position:absolute; inset:0;
  background-image: var(--bgimg);
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1.03);
}
.pagehead.with-bg::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(251,252,251,.92), rgba(251,252,251,.82) 40%, rgba(251,252,251,.95));
  border-bottom: 1px solid var(--line);
}
.pagehead.with-bg .container{ position: relative; z-index: 1; }
.pagehead .tagline{ margin-top: 6px; }

/* References */
.refs-grid{ display:grid; gap:16px; }
.ref-block{ padding: 18px; }
.ref-meta{ display:flex; align-items:flex-start; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.ref-meta h2{ margin: 0 0 6px; }
.ref-meta p{ margin: 0; }
.ref-media{ margin-top: 14px; }

/* Before/After slider */
.ba{
  position: relative;
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}
.ba img{ display:block; width:100%; height:auto; }
.ba .after{
  position:absolute; inset:0;
  width: 50%;
  overflow:hidden;
}
.ba .after img{ width:100%; height:auto; }
.ba .handle{
  position:absolute; top:0; bottom:0;
  left: calc(50% - 1px);
  width: 2px;
  background: rgba(15,27,23,.55);
}
.ba .knob{
  position:absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 44px; height: 44px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display:grid; place-items:center;
  font-weight: 900;
}
.ba-controls{
  display:flex; align-items:center; gap:10px;
  margin-top: 10px;
}
.ba-controls input[type="range"]{ width: 100%; }
.ba-labels{ display:flex; justify-content:space-between; font-weight:900; margin-top: 8px; }

/* 3-step gallery */
.steps3{
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
  background:#fff;
}
.steps3 .tabs{
  display:flex; gap:6px; padding:10px;
  background: rgba(24,168,102,.06);
  border-bottom: 1px solid var(--line);
  flex-wrap:wrap;
}
.steps3 .tabs button{
  border:1px solid var(--line);
  background:#fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 900;
  cursor:pointer;
}
.steps3 .tabs button.active{
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  color:#fff;
  border-color: rgba(0,0,0,.05);
}
.steps3 .stage img{ width:100%; height:auto; display:none; }
.steps3 .stage img.active{ display:block; }
.steps3 .caption{ padding: 12px 14px; color: var(--muted); }

/* Home service cards */
.service-img--tall{
  height: 260px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 12px;
}
@media (min-width: 900px){
  .service-img--tall{
  height: 260px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 12px;
}
}

/* References: grids */
.ref-pair{ display:grid; grid-template-columns: 1fr; gap:14px; }
.ref-trip{ display:grid; grid-template-columns: 1fr; gap:14px; }
@media (min-width: 860px){
  .ref-pair{ grid-template-columns: 1fr 1fr; }
  .ref-trip{ grid-template-columns: 1fr 1fr 1fr; }
}
.ref-fig{ margin:0; }
.ref-fig img{
  width:100%;
  height:260px;
  object-fit:cover;
  border-radius:16px;
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  display:block;
}
.ref-fig figcaption{ margin-top:8px; font-weight:900; }
.ref-single img{ height:360px; }
@media (max-width: 520px){
  .ref-fig img{ height:220px; }
  .ref-single img{ height:280px; }
}

/* Lightbox */
.lightbox{
  position:fixed;
  inset:0;
  background: rgba(15,27,23,.82);
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  z-index:9999;
}
.lightbox.open{ display:flex; }
.lightbox-figure{
  max-width:min(980px, 100%);
  width:100%;
  margin:0;
  position:relative;
}
.lightbox-figure img{
  width:100%;
  height:auto;
  max-height:78vh;
  object-fit:contain;
  border-radius:18px;
  background:#fff;
}
.lightbox-figure figcaption{
  color:#fff;
  margin-top:10px;
  font-weight:900;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next{
  position:fixed;
  top:18px;
  border:1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.10);
  color:#fff;
  width:44px;
  height:44px;
  border-radius:999px;
  font-size:26px;
  line-height:1;
  cursor:pointer;
  display:grid;
  place-items:center;
}
.lightbox-close{ right:18px; }
.lightbox-prev{ left:18px; top:50%; transform: translateY(-50%); }
.lightbox-next{ right:18px; top:50%; transform: translateY(-50%); }
@media (max-width: 520px){
  .lightbox-prev{ left:10px; }
  .lightbox-next{ right:10px; }
  .lightbox-close{ right:10px; }
}

/* Image grids for service pages */
.imggrid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 12px;
}
@media (min-width: 720px){
  .imggrid{ grid-template-columns: 1fr 1fr; }
}
.imggrid-4{
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 980px){
  .imggrid-4{ grid-template-columns: 1fr 1fr 1fr 1fr; }
}
.imggrid a{ display:block; }
.imggrid img{
  width:100%;
  height:240px;
  object-fit:cover;
  border-radius:16px;
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  display:block;
}
@media (max-width: 520px){
  .imggrid img{ height:210px; }
}


/* ---------- Pro Polish (V14) ---------- */
:root{
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

body{
  letter-spacing: .1px;
}

h1{ letter-spacing: -.3px; }
h2{ letter-spacing: -.2px; }
h3{ letter-spacing: -.15px; }

.section{
  padding: 54px 0;
}
@media (max-width: 520px){
  .section{ padding: 42px 0; }
}

.container{
  max-width: 1120px;
}

.card{
  border-radius: var(--radius-lg);
}

.btn{
  border-radius: 999px;
  font-weight: 900;
  transform: translateY(0);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.02);
}
.btn:active{
  transform: translateY(0);
}

a{ text-underline-offset: 3px; }

/* Hero polish */
.pagehead.with-bg{
  padding: 72px 0 22px;
}
.pagehead.with-bg::after{
  background: linear-gradient(180deg, rgba(251,252,251,.94), rgba(251,252,251,.80) 42%, rgba(251,252,251,.96));
}

/* Premium service cards on homepage */
.services-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 820px){
  .services-grid{ grid-template-columns: repeat(3, 1fr); }
}

.service-card{
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.service-card .img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .6s ease;
}
.service-card::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.60) 72%, rgba(0,0,0,.70));
}
.service-card:hover .img{
  transform: scale(1.06);
}
.service-card .content{
  position: relative;
  padding: 18px;
  color: #fff;
}
.service-card .content h3{
  margin: 0 0 8px;
  font-size: 22px;
}
.service-card .content p{
  margin: 0 0 14px;
  color: rgba(255,255,255,.88);
}
.service-card .actions{
  display:flex;
  gap:10px;
  flex-wrap: wrap;
}
.service-card .actions .btn{
  background: rgba(255,255,255,.92);
  color: #0f1b17;
  border: 1px solid rgba(255,255,255,.30);
  box-shadow: none;
}
.service-card .actions .btn.btn-ghost{
  background: rgba(255,255,255,.10);
  color:#fff;
  border: 1px solid rgba(255,255,255,.28);
}
.service-card.is-logo{
  background: linear-gradient(180deg, rgba(24,168,102,.08), rgba(15,27,23,.04));
}
.service-card.is-logo::before{ background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.92)); }
.service-card.is-logo .content{ color:#0f1b17; }
.service-card.is-logo .content p{ color: var(--muted); }
.service-card.is-logo .actions .btn.btn-ghost{
  background: transparent;
  color: #0f1b17;
  border: 1px solid var(--line);
}

/* Trust strip */
.trust{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 900px){
  .trust{ grid-template-columns: repeat(3, 1fr); }
}
.trust .pill{
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(24,168,102,.06);
  font-weight: 900;
}

/* Lightbox buttons slightly larger */
.lightbox-close, .lightbox-prev, .lightbox-next{
  width: 48px;
  height: 48px;
}

/* ---------- Refinements (V17) ---------- */
.service-card .content p{
  max-width: 34ch;
  background: rgba(0,0,0,.22);
  backdrop-filter: blur(2px);
  display: inline-block;
  padding: 6px 10px;
  border-radius: 12px;
}
.service-card .content h3{
  background: rgba(0,0,0,.18);
  display: inline-block;
  padding: 6px 10px;
  border-radius: 12px;
}
.service-card .content{
  padding: 22px;
}

/* ---------- Contrast Patch (V18) ---------- */
.service-card::before{
  background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.78) 58%, rgba(0,0,0,.86));
}
.service-card .content h3,
.service-card .content p{
  background: rgba(0,0,0,.35);
}

/* ---------- Utleie Card Center (V19) ---------- */
.service-card.utleie-card .content{
  align-items: center;
  text-align: center;
}
.service-card.utleie-card .content h3,
.service-card.utleie-card .content p{
  background: rgba(0,0,0,.34);
  padding: 8px 12px;
  border-radius: 14px;
}
.service-card.utleie-card .actions{
  justify-content: center;
}

/* ---------- V20 Copy Polish ---------- */
.service-card::before{
  background: linear-gradient(180deg, rgba(0,0,0,.16), rgba(0,0,0,.78) 56%, rgba(0,0,0,.88));
}
.service-card .content h3,
.service-card .content p{
  background: rgba(0,0,0,.40);
  border: 1px solid rgba(255,255,255,.10);
  text-shadow: 0 2px 10px rgba(0,0,0,.55);
}
.service-card .content p{
  line-height: 1.35;
}
/* Headings: keep professional spacing */
h1{ line-height: 1.06; }
.tagline{ max-width: 62ch; }
/* Buttons */
.btn{ font-weight: 800; }
/* Fix overly tight cards on mobile */
@media (max-width: 520px){
  .service-card{ min-height: 380px; }
  .service-card .content{ padding: 18px; }
}


/* ========= V24 – Robust Håndverker-preg ========= */
:root{
  --accent:#2e7d5a; /* dypere grønn */
}

/* Mørkere base, mer “solid” */
body{
  background:#141816;
  color:#e8ecea;
}

/* Subtil tekstur (diskret) */
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background-image: radial-gradient(rgba(255,255,255,.02) 1px, transparent 1px);
  background-size:4px 4px;
  opacity:.35;
}

/* Seksjoner med tydelig kontrast */
.section{
  background:#1b201e;
  border-top:1px solid rgba(255,255,255,.05);
}

/* Kort mer robuste */
.card{
  background:#222826;
  border:1px solid rgba(255,255,255,.06);
  box-shadow:0 6px 18px rgba(0,0,0,.35);
}

/* Tyngre overskrifter */
h1,h2,h3{
  font-weight:800;
  letter-spacing:-0.4px;
}

/* Knapper */
.btn{
  background: var(--accent);
  border:1px solid #265f45;
}
.btn:hover{
  background:#276c4d;
}

/* Lesbarhet på bildekort */
.service-card::before{
  background:linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.86));
}
.service-card .content h3,
.service-card .content p{
  background:rgba(0,0,0,.45);
  border:1px solid rgba(255,255,255,.10);
  text-shadow:0 2px 10px rgba(0,0,0,.55);
}

/* Footer */
footer{
  background:#0f1312;
  border-top:1px solid rgba(255,255,255,.05);
}


/* ========= V26 – Bildebakgrunn ========= */

/* Standard bakgrunn (tømrer-bilde) */
body{
  background-image: url('/images/tømrer.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* Mørk overlay for lesbarhet */
body::before{
  content:"";
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.75);
  pointer-events:none;
}

/* Grunnarbeid side spesifikk bakgrunn */
body.grunnarbeid-page{
  background-image: url('/images/Grunnarbeid.jpg');
}


/* ========= V27 – Hel bakgrunn, ingen svarte felt ========= */
body{
  background-attachment: fixed;
}

/* Mild overlay for lesbarhet */
body::before{
  background: rgba(0,0,0,0.28) !important;
}

/* Ingen svarte/dype seksjonsfelt */
.section,
.section.alt,
footer{
  background: transparent !important;
  border-top: 0 !important;
}

/* Lyse kort for lesbarhet */
.card{
  background: rgba(255,255,255,0.88) !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  box-shadow: 0 10px 24px rgba(0,0,0,0.28) !important;
  color: #0f1b17 !important;
}

.card h1, .card h2, .card h3,
.card p, .card li, .card a{
  color: #0f1b17 !important;
}
.card p.muted, .card .muted{
  color: rgba(15,27,23,0.72) !important;
}

/* Hero over bakgrunn */
.pagehead.with-bg h1,
.pagehead.with-bg p{
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.55);
}

/* Servicekort */
.service-card .content h3,
.service-card .content p{
  background: rgba(0,0,0,0.32) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  color: #fff !important;
}

/* Knapper */
.btn{ color: #fff !important; }
.btn.btn-ghost{
  color: #fff !important;
  border-color: rgba(255,255,255,0.25) !important;
}

/* Lightbox caption */
#lightboxCap{ color:#fff !important; }


/* ========= V28 – Balansert og profesjonell ========= */

/* Rolig, nøytral bakgrunn */
body{
  background: #f3f4f2 !important;
  color: #1c2420;
}

/* Fjern global bakgrunnsbilde */
body{
  background-image: none !important;
}
body::before{
  display:none !important;
}

/* Hero beholder bilde */
.pagehead.with-bg{
  background-size: cover;
  background-position: center;
}

/* Seksjoner */
.section,
.section.alt{
  background: transparent !important;
}

/* Kort – varm lys grå */
.card{
  background: #ffffff;
  border: 1px solid #e4e7e4;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
  color:#1c2420;
}

/* Overskrifter */
h1,h2,h3{
  font-weight:700;
}

/* Knapper */
.btn{
  background:#2e7d5a;
  border:1px solid #276c4d;
  color:#fff;
}
.btn:hover{
  background:#276c4d;
}

/* Footer rolig */
footer{
  background:#e9ece9 !important;
  color:#1c2420;
  border-top:1px solid #dcdcdc;
}

/* Servicekort behold bilde men mindre dramatisk overlay */
.service-card::before{
  background:linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.55));
}
.subsection-title{
  margin: 22px 0 10px;
  font-size: 1.1rem;
  font-weight: 700;
}

.planering-gallery{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 10px;
}

.planering-gallery img{
  width: 100%;
  height: 260px;        /* Fast høyde så bildene blir like */
  object-fit: cover;    /* Beskjærer pent så alt blir lik størrelse */
  object-position: center;
  border-radius: 14px;
  display: block;
  transition: transform 0.3s ease;
}

.planering-gallery img:hover{
  transform: scale(1.02);
}