
:root{
  --dark:#071710;
  --dark2:#0d2118;
  --gold:#d9aa49;
  --gold2:#f0c85a;
  --cream:#f6f1e8;
  --paper:#fffaf2;
  --text:#14221b;
  --muted:#68736d;
  --line:rgba(20,34,27,.12);
  --shadow:0 24px 70px rgba(0,0,0,.16);
  --radius:22px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--cream);color:var(--text)}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
.container{width:min(1500px,calc(100% - 72px));margin:0 auto}
.site-header{position:absolute;top:0;left:0;right:0;z-index:20}
.header-inner{height:112px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.logo img{width:330px;height:auto;max-height:86px;object-fit:contain}
.main-nav{display:flex;align-items:center;gap:36px;color:#fff;font-weight:800}
.main-nav a{position:relative;text-shadow:0 2px 12px rgba(0,0,0,.5)}
.main-nav a.active::after,.main-nav a:hover::after{content:"";position:absolute;left:0;right:0;bottom:-14px;height:3px;border-radius:3px;background:var(--gold)}
.call-btn,.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:14px;padding:17px 26px;font-weight:900;font-size:17px;cursor:pointer}
.call-btn,.btn.primary{background:linear-gradient(180deg,#f1c85b,#d9aa49);color:#071710;box-shadow:0 14px 32px rgba(217,170,73,.22)}
.btn.secondary{background:rgba(255,255,255,.04);color:#fff;border:1px solid rgba(255,255,255,.65)}
.hero{min-height:760px;position:relative;overflow:hidden;background:#071710}
.hero::before{content:"";position:absolute;inset:0;background-image:
  linear-gradient(90deg,rgba(3,13,9,.96) 0%,rgba(3,13,9,.86) 34%,rgba(3,13,9,.45) 63%,rgba(3,13,9,.20) 100%),
  linear-gradient(180deg,rgba(3,13,9,.18) 0%,rgba(3,13,9,.08) 48%,rgba(3,13,9,.92) 100%),
  url("assets/img/hero-workshop.webp");background-size:cover;background-position:center right;background-repeat:no-repeat}
.hero-content{position:relative;z-index:2;padding-top:185px;padding-bottom:110px;max-width:720px;color:#fff}
.eyebrow{color:var(--gold2);text-transform:uppercase;letter-spacing:.22em;font-size:16px;font-weight:900;margin-bottom:28px}
.hero h1{font-size:clamp(62px,6.3vw,104px);line-height:.95;letter-spacing:-.055em;margin:0 0 28px;font-weight:950}
.hero h1 span{color:var(--gold)}
.hero p{font-size:23px;line-height:1.5;color:rgba(255,255,255,.92);margin:0 0 34px}
.hero-actions{display:flex;gap:18px;flex-wrap:wrap}
.trust{background:#071710;padding:0 0 36px}
.trust-grid{width:min(1500px,calc(100% - 72px));margin:-62px auto 0;position:relative;z-index:4;display:grid;grid-template-columns:repeat(4,1fr);border-radius:22px;overflow:hidden;background:linear-gradient(180deg,rgba(11,32,23,.98),rgba(4,18,12,.98));box-shadow:0 28px 70px rgba(0,0,0,.28);border:1px solid rgba(217,170,73,.17)}
.trust-item{min-height:128px;padding:28px 30px;display:grid;grid-template-columns:58px 1fr;gap:20px;align-items:center;color:#fff;border-right:1px solid rgba(255,255,255,.13)}
.trust-item:last-child{border-right:0}
.trust-icon{width:58px;height:58px;border:2px solid var(--gold);border-radius:16px;display:grid;place-items:center;color:var(--gold);font-size:30px}
.trust-item h3{margin:0 0 6px;font-size:18px;color:#fff}
.trust-item p{margin:0;color:rgba(255,255,255,.76);line-height:1.45}
.section{padding:88px 0}
.section.soft{background:linear-gradient(180deg,#fffaf2,#f6f1e8)}
.section-head{display:grid;grid-template-columns:1fr 1.1fr;gap:56px;align-items:end;margin-bottom:34px}
.section-label{color:#a06c20;letter-spacing:.14em;text-transform:uppercase;font-size:14px;font-weight:900;margin-bottom:8px}
h2{font-size:clamp(36px,3vw,54px);line-height:1.04;margin:0;letter-spacing:-.035em}
.section-head p{font-size:18px;line-height:1.6;color:#4f5b55;margin:0}
.projects-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.project-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 14px 36px rgba(0,0,0,.06);transition:.2s transform,.2s box-shadow}
.project-card:hover{transform:translateY(-4px);box-shadow:0 22px 50px rgba(0,0,0,.11)}
.project-card img{width:100%;height:230px;object-fit:cover}
.project-card-body{padding:24px}
.project-card h3{margin:0 0 10px;font-size:22px}
.project-card p{margin:0 0 18px;color:#536058;line-height:1.55}
.project-card a{color:#9b6a20;font-weight:900}
.local-strip{margin-top:38px;border-radius:22px;background:#fff;box-shadow:0 18px 48px rgba(0,0,0,.07);border:1px solid var(--line);padding:28px;display:grid;grid-template-columns:.8fr 1.2fr;gap:30px;align-items:center}
.area-tags{display:flex;flex-wrap:wrap;gap:12px}
.area-tags span{background:#f7f1e6;border:1px solid rgba(217,170,73,.22);border-radius:999px;padding:11px 16px;font-weight:800}
.about-grid,.process-grid{display:grid;grid-template-columns:1fr 1fr;gap:34px;align-items:center}
.panel{background:#fff;border-radius:22px;border:1px solid var(--line);padding:36px;box-shadow:0 18px 48px rgba(0,0,0,.06)}
.panel p,.panel li{font-size:17px;line-height:1.65;color:#4d5a54}
.check-list{margin:24px 0 0;padding:0;list-style:none;display:grid;gap:12px}
.check-list li::before{content:"✓";color:var(--gold);font-weight:900;margin-right:10px}
.steps{display:grid;gap:16px}
.step{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px;display:grid;grid-template-columns:52px 1fr;gap:18px}
.step-num{width:52px;height:52px;border-radius:15px;background:#0b2117;color:var(--gold);display:grid;place-items:center;font-weight:950;font-size:22px}
.contact{background:#071710;color:#fff}
.contact .panel{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.13);box-shadow:none}
.contact p,.contact li{color:rgba(255,255,255,.78)}
.contact a{color:#fff;font-weight:900}
.footer{background:#04100b;color:rgba(255,255,255,.7);padding:28px 0}
.footer-inner{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
.mobile-call{display:none;position:fixed;left:16px;right:16px;bottom:16px;z-index:90;background:linear-gradient(180deg,#f1c85b,#d9aa49);color:#071710;border-radius:16px;padding:16px 18px;text-align:center;font-weight:950;box-shadow:0 20px 50px rgba(0,0,0,.25)}

/* Project detail pages */
.page-hero{background:#071710;color:#fff;padding:160px 0 74px;position:relative;overflow:hidden}
.page-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,13,9,.94),rgba(3,13,9,.56)),url("../assets/img/hero-workshop.webp");background-size:cover;background-position:center right;opacity:.9}
.page-hero .container{position:relative;z-index:2}
.breadcrumb{color:var(--gold);font-weight:900;margin-bottom:18px}
.page-hero h1{font-size:clamp(44px,5vw,78px);line-height:.98;margin:0 0 20px;letter-spacing:-.045em}
.page-hero p{max-width:820px;font-size:22px;line-height:1.55;color:rgba(255,255,255,.86)}
.detail-grid{display:grid;grid-template-columns:1.1fr .75fr;gap:34px;align-items:start}
.detail-image{border-radius:22px;overflow:hidden;box-shadow:var(--shadow);margin-bottom:28px}
.detail-image img{width:100%;height:430px;object-fit:cover}
.detail-content{background:#fff;border-radius:22px;border:1px solid var(--line);padding:36px;box-shadow:0 18px 48px rgba(0,0,0,.06)}
.detail-content p{font-size:18px;line-height:1.72;color:#4f5b55}
.side-card{background:#071710;color:#fff;border-radius:22px;padding:32px;position:sticky;top:24px}
.side-card h2{font-size:30px;margin-bottom:18px}
.side-card ul{padding:0;margin:0;list-style:none;display:grid;gap:14px}
.side-card li{color:rgba(255,255,255,.82)}
.side-card li::before{content:"✓";color:var(--gold);font-weight:900;margin-right:10px}
.side-card .btn{width:100%;margin-top:26px}
.related{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:28px}

@media(max-width:1100px){
  .projects-grid{grid-template-columns:repeat(2,1fr)}
  .trust-grid{grid-template-columns:repeat(2,1fr)}
  .trust-item:nth-child(2){border-right:0}
  .section-head,.about-grid,.process-grid,.detail-grid,.local-strip{grid-template-columns:1fr}
  .main-nav{display:none}
}
@media(max-width:700px){
  .container{width:min(100% - 36px,1500px)}
  .site-header{position:relative;background:#071710}
  .header-inner{height:84px}
  .logo img{width:245px}
  .call-btn{display:none}
  .hero{min-height:auto}
  .hero::before{background-image:linear-gradient(90deg,rgba(3,13,9,.96),rgba(3,13,9,.80)),linear-gradient(180deg,rgba(3,13,9,.16),rgba(3,13,9,.92)),url("assets/img/hero-workshop.webp");background-position:center right}
  .hero-content{padding-top:68px;padding-bottom:82px}
  .eyebrow{font-size:13px}
  .hero h1{font-size:clamp(44px,14vw,70px)}
  .hero p{font-size:18px}
  .hero-actions .btn{width:100%}
  .trust{padding-top:20px}
  .trust-grid{width:min(100% - 36px,1500px);margin:0 auto;grid-template-columns:1fr}
  .trust-item{border-right:0;border-bottom:1px solid rgba(255,255,255,.13);grid-template-columns:48px 1fr;padding:22px}
  .trust-icon{width:48px;height:48px;font-size:24px}
  .section{padding:60px 0}
  .projects-grid,.related{grid-template-columns:1fr}
  .project-card img{height:220px}
  .page-hero{padding:100px 0 58px}
  .detail-image img{height:280px}
  .detail-content,.panel,.side-card{padding:26px}
  body{padding-bottom:76px}
  .mobile-call{display:block}
}


/* === KOMPAKT HERO / DESKTOP FIX === */
@media (min-width: 1101px) {
  .site-header {
    position: absolute;
  }

  .header-inner {
    height: 92px;
  }

  .logo img {
    width: 280px;
    max-height: 72px;
  }

  .main-nav {
    gap: 30px;
  }

  .call-btn {
    padding: 14px 22px;
    font-size: 16px;
    border-radius: 13px;
  }

  .hero {
    min-height: 610px;
  }

  .hero-content {
    padding-top: 138px;
    padding-bottom: 92px;
    max-width: 780px;
  }

  .eyebrow {
    font-size: 14px;
    margin-bottom: 18px;
    letter-spacing: .2em;
  }

  .hero h1 {
    font-size: clamp(54px, 4.65vw, 82px);
    line-height: .96;
    max-width: 800px;
    margin-bottom: 22px;
  }

  .hero p {
    font-size: 20px;
    line-height: 1.45;
    max-width: 760px;
    margin-bottom: 26px;
  }

  .btn {
    padding: 15px 24px;
    font-size: 16px;
  }

  .trust {
    padding-bottom: 26px;
  }

  .trust-grid {
    margin-top: -42px;
  }

  .trust-item {
    min-height: 104px;
    padding: 22px 26px;
    grid-template-columns: 50px 1fr;
    gap: 16px;
  }

  .trust-icon {
    width: 50px;
    height: 50px;
    font-size: 25px;
    border-radius: 14px;
  }

  .trust-item h3 {
    font-size: 17px;
  }

  .trust-item p {
    font-size: 15px;
  }

  .section {
    padding: 66px 0;
  }

  .section-head {
    margin-bottom: 26px;
  }

  h2 {
    font-size: clamp(32px, 2.55vw, 46px);
  }

  .project-card img {
    height: 205px;
  }

  .project-card-body {
    padding: 21px;
  }

  .project-card h3 {
    font-size: 20px;
  }
}

/* Lite mer kompakt på större laptop/desktop */
@media (min-width: 1101px) and (max-height: 950px) {
  .hero {
    min-height: 560px;
  }

  .hero-content {
    padding-top: 124px;
    padding-bottom: 82px;
  }

  .hero h1 {
    font-size: clamp(50px, 4.2vw, 74px);
  }

  .hero p {
    font-size: 19px;
  }
}

/* Mjukare mobil/tablet så den fortfarande andas */
@media (max-width: 700px) {
  .hero-content {
    padding-top: 54px;
    padding-bottom: 64px;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 62px);
  }
}


/* === REN HERO-BILD FIX === */
.hero::before {
  background-image:
    linear-gradient(90deg, rgba(3,13,9,.96) 0%, rgba(3,13,9,.86) 35%, rgba(3,13,9,.48) 65%, rgba(3,13,9,.30) 100%),
    linear-gradient(180deg, rgba(3,13,9,.10) 0%, rgba(3,13,9,.88) 100%),
    url("assets/img/hero-workshop.webp") !important;
  background-size: cover !important;
  background-position: center right !important;
  background-repeat: no-repeat !important;
  transform: none !important;
  filter: none !important;
}

@media (min-width: 1101px) {
  .hero {
    min-height: 590px !important;
  }

  .hero-content {
    padding-top: 128px !important;
    padding-bottom: 86px !important;
  }

  .hero h1 {
    font-size: clamp(52px, 4.45vw, 78px) !important;
  }

  .hero p {
    font-size: 19px !important;
    max-width: 720px !important;
  }
}

@media (max-width: 700px) {
  .hero::before {
    background-image:
      linear-gradient(90deg, rgba(3,13,9,.96), rgba(3,13,9,.78)),
      linear-gradient(180deg, rgba(3,13,9,.12), rgba(3,13,9,.92)),
      url("assets/img/hero-workshop.webp") !important;
    background-position: center center !important;
  }
}


/* === V3 STABIL: kontrollerad split-hero, mindre första vy, ingen galen bakgrund === */
@media (min-width: 701px) {
  .site-header {
    position: relative !important;
    background: #071710 !important;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .header-inner {
    height: 92px !important;
  }

  .logo img {
    width: 285px !important;
    max-height: 72px !important;
  }

  .main-nav {
    gap: 30px !important;
  }

  .call-btn {
    padding: 14px 22px !important;
    font-size: 16px !important;
  }
}

.hero {
  position: relative !important;
  min-height: auto !important;
  background:
    radial-gradient(circle at 72% 22%, rgba(217,170,73,.16), transparent 34%),
    linear-gradient(135deg, #071710 0%, #0c2118 54%, #071710 100%) !important;
  overflow: hidden !important;
}

.hero::before {
  content: "" !important;
  position: absolute !important;
  inset: auto -10% -46% 34% !important;
  width: 72%;
  height: 88%;
  background: radial-gradient(circle, rgba(217,170,73,.15), transparent 60%) !important;
  opacity: .75;
  z-index: 0;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, .78fr);
  gap: 56px;
  align-items: center;
  min-height: 560px;
  padding-top: 58px;
  padding-bottom: 72px;
}

.hero-content {
  padding: 0 !important;
  max-width: 760px !important;
}

.eyebrow {
  font-size: 13px !important;
  margin-bottom: 18px !important;
}

.hero h1 {
  font-size: clamp(48px, 4.55vw, 78px) !important;
  line-height: .98 !important;
  max-width: 820px !important;
  margin-bottom: 22px !important;
}

.hero h1 span {
  color: inherit !important;
}

.hero p {
  font-size: clamp(18px, 1.15vw, 21px) !important;
  line-height: 1.5 !important;
  max-width: 720px !important;
  margin-bottom: 28px !important;
}

.hero-actions {
  gap: 14px !important;
}

.btn {
  padding: 14px 22px !important;
  border-radius: 13px !important;
  font-size: 16px !important;
}

.hero-visual {
  position: relative;
  border-radius: 30px;
  min-height: 410px;
  overflow: hidden;
  box-shadow: 0 34px 90px rgba(0,0,0,.36);
  border: 1px solid rgba(217,170,73,.22);
  background: #0d2118;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
  object-position: center;
  filter: saturate(.96) contrast(1.05);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.72));
}

.hero-card-note {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  background: rgba(255,255,255,.92);
  color: #071710;
  border-radius: 18px;
  padding: 18px 20px;
  display: grid;
  gap: 5px;
  box-shadow: 0 18px 48px rgba(0,0,0,.20);
}

.hero-card-note strong {
  font-size: 19px;
}

.hero-card-note span {
  font-size: 15px;
  color: #596760;
  font-weight: 700;
  line-height: 1.35;
}

.trust {
  padding: 0 0 34px !important;
  background: #071710 !important;
}

.trust-grid {
  margin-top: 0 !important;
  transform: translateY(-28px);
  width: min(1500px, calc(100% - 72px)) !important;
}

.trust-item {
  min-height: 112px !important;
  padding: 24px 28px !important;
}

.section {
  padding: 68px 0 !important;
}

.section-head {
  margin-bottom: 28px !important;
}

.projects-grid {
  gap: 20px !important;
}

.project-card img {
  height: 205px !important;
}

.project-card-body {
  padding: 22px !important;
}

.quick-cta {
  margin-top: 28px;
  border-radius: 22px;
  padding: 24px 28px;
  background: #071710;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  box-shadow: 0 18px 50px rgba(0,0,0,.12);
}

.quick-cta div {
  display: grid;
  gap: 4px;
}

.quick-cta strong {
  font-size: 22px;
}

.quick-cta span {
  color: rgba(255,255,255,.76);
  line-height: 1.45;
}

/* Projektsidor: mindre mörk topp så innehållet kommer snabbare */
.page-hero {
  padding: 118px 0 58px !important;
  background: linear-gradient(135deg, #071710, #0d2118) !important;
}

.page-hero::before {
  opacity: .22 !important;
}

.detail-content p {
  font-size: 17px !important;
}

@media (max-width: 1100px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: auto;
    padding-top: 56px;
    padding-bottom: 58px;
  }

  .hero-visual {
    min-height: 340px;
  }

  .hero-visual img {
    min-height: 340px;
  }

  .trust-grid {
    transform: none;
    margin-top: 0 !important;
  }
}

@media (max-width: 700px) {
  .site-header {
    position: relative !important;
    background: #071710 !important;
  }

  .hero-layout {
    padding-top: 44px;
    padding-bottom: 42px;
    gap: 28px;
  }

  .hero h1 {
    font-size: clamp(38px, 11vw, 58px) !important;
  }

  .hero p {
    font-size: 17px !important;
  }

  .hero-visual {
    border-radius: 22px;
    min-height: 260px;
  }

  .hero-visual img {
    min-height: 260px;
  }

  .hero-card-note {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 14px 16px;
  }

  .trust {
    padding-top: 18px !important;
  }

  .trust-grid {
    width: min(100% - 36px, 1500px) !important;
  }

  .quick-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .quick-cta .btn {
    width: 100%;
  }

  .section {
    padding: 54px 0 !important;
  }
}


/* === MINDRE SCROLL: kompakt om oss + horisontell process === */
.compact-about {
  display: grid;
  gap: 28px;
}

.about-panel {
  padding: 30px 34px !important;
}

.about-panel h2 {
  margin-bottom: 12px;
}

.about-panel p {
  max-width: 980px;
  margin-bottom: 0;
}

.process-compact {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 18px 48px rgba(0,0,0,.06);
}

.process-compact-head {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 24px;
}

.process-compact-head h2 {
  font-size: clamp(30px, 2.25vw, 42px);
}

.process-compact-head p {
  margin: 0;
  color: #4f5b55;
  font-size: 17px;
  line-height: 1.55;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(20,34,27,.10);
  background: #fbf7ef;
}

.process-mini {
  position: relative;
  min-height: 154px;
  padding: 24px 22px 22px;
  background: linear-gradient(180deg,#fffaf2,#f7f0e5);
  border-right: 1px solid rgba(20,34,27,.10);
}

.process-mini:last-child {
  border-right: 0;
}

.process-mini span {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #071710;
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 950;
  margin-bottom: 16px;
}

.process-mini h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.15;
}

.process-mini p {
  margin: 0;
  color: #596760;
  line-height: 1.45;
  font-size: 15px;
}

/* Old big step cards should never create extra height if any remain */
.steps.compacted-steps {
  grid-template-columns: repeat(4, 1fr);
}

@media (min-width: 1101px) {
  .compact-about {
    gap: 24px;
  }

  .section.soft#om-oss,
  #om-oss.section {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }
}

@media (max-width: 1100px) {
  .process-compact-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .process-line {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-mini:nth-child(2) {
    border-right: 0;
  }

  .process-mini:nth-child(1),
  .process-mini:nth-child(2) {
    border-bottom: 1px solid rgba(20,34,27,.10);
  }
}

@media (max-width: 700px) {
  .about-panel,
  .process-compact {
    padding: 24px !important;
  }

  .process-line {
    grid-template-columns: 1fr;
  }

  .process-mini {
    min-height: auto;
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 16px;
    align-items: start;
    padding: 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(20,34,27,.10);
  }

  .process-mini:last-child {
    border-bottom: 0;
  }

  .process-mini span {
    margin-bottom: 0;
    grid-row: span 2;
  }

  .process-mini h3 {
    font-size: 18px;
  }

  .process-mini p {
    font-size: 14.5px;
  }
}


/* === V4 text- och bildfix === */
.hero {
  background:
    radial-gradient(circle at 76% 22%, rgba(217,170,73,.12), transparent 32%),
    linear-gradient(135deg, #071710 0%, #10271d 55%, #071710 100%) !important;
}

.hero-layout {
  grid-template-columns: minmax(0, .92fr) minmax(390px, .72fr) !important;
  min-height: 520px !important;
  padding-top: 48px !important;
  padding-bottom: 62px !important;
}

.hero h1 {
  font-size: clamp(46px, 4.15vw, 72px) !important;
  line-height: 1.0 !important;
  max-width: 780px !important;
}

.hero p {
  font-size: clamp(17px, 1.05vw, 20px) !important;
}

.hero-visual {
  min-height: 360px !important;
  max-height: 420px;
}

.hero-visual img {
  min-height: 360px !important;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-card-note {
  padding: 16px 18px !important;
}

.trust-grid {
  transform: translateY(-20px) !important;
}

.process-mini h3 {
  font-size: 19px !important;
}

.process-mini p {
  font-size: 14.8px !important;
}

@media (max-width: 1100px) {
  .hero-layout {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }

  .hero-visual {
    max-height: none;
  }
}

@media (max-width: 700px) {
  .hero-layout {
    padding-top: 36px !important;
    padding-bottom: 38px !important;
  }

  .hero h1 {
    font-size: clamp(38px, 10.5vw, 56px) !important;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 235px !important;
  }
}


/* === V5 MOCKUP-LJUS: matchar den ljusa Bild 1/mockupen bättre === */
:root {
  --dark: #071710;
  --gold: #d9aa49;
  --cream: #f6f1e8;
  --paper: #fffaf2;
  --text: #111815;
  --muted: #59645f;
}

body {
  background: #f6f1e8 !important;
  color: var(--text) !important;
}

/* Header: svart topp som i mockupen */
.site-header {
  position: relative !important;
  inset: auto !important;
  height: auto !important;
  background: #071710 !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
  box-shadow: none !important;
}

.header-inner {
  height: 88px !important;
  min-height: 88px !important;
}

.logo img {
  width: 285px !important;
  max-width: 285px !important;
  max-height: 70px !important;
}

.main-nav {
  color: #fff !important;
  gap: 32px !important;
}

.main-nav a {
  color: #fff !important;
  text-shadow: none !important;
}

.call-btn {
  padding: 14px 22px !important;
  border-radius: 12px !important;
  font-size: 16px !important;
}

/* Ljus hero istället för mörkgrön helskärm */
.hero {
  background: linear-gradient(90deg, #fffaf2 0%, #f6f1e8 46%, #efe5d5 100%) !important;
  color: var(--text) !important;
  overflow: hidden !important;
  min-height: auto !important;
  padding: 0 !important;
}

.hero::before {
  display: none !important;
}

.hero-layout {
  display: grid !important;
  grid-template-columns: minmax(0, .88fr) minmax(520px, 1.12fr) !important;
  gap: 54px !important;
  align-items: center !important;
  min-height: 430px !important;
  padding-top: 54px !important;
  padding-bottom: 46px !important;
}

.hero-content {
  padding: 0 !important;
  max-width: 760px !important;
  color: var(--text) !important;
}

.eyebrow {
  color: #b9872e !important;
  font-size: 13px !important;
  letter-spacing: .18em !important;
  margin-bottom: 14px !important;
}

.hero h1 {
  color: #111815 !important;
  font-size: clamp(44px, 4.15vw, 74px) !important;
  line-height: .98 !important;
  letter-spacing: -.055em !important;
  margin-bottom: 22px !important;
  max-width: 800px !important;
}

.hero h1 span {
  color: #c99533 !important;
}

.hero p {
  color: #27332e !important;
  font-size: clamp(17px, 1.05vw, 20px) !important;
  line-height: 1.55 !important;
  max-width: 700px !important;
  margin-bottom: 26px !important;
}

.btn {
  padding: 14px 22px !important;
  border-radius: 11px !important;
  font-size: 16px !important;
}

.btn.secondary {
  background: transparent !important;
  color: #111815 !important;
  border: 1px solid rgba(17,24,21,.45) !important;
}

.hero-visual {
  min-height: 325px !important;
  max-height: 380px !important;
  border-radius: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: hidden !important;
  background: transparent !important;
}

.hero-visual img {
  width: 100% !important;
  height: 360px !important;
  min-height: 360px !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 0 !important;
  filter: none !important;
}

.hero-visual::after {
  display: none !important;
}

.hero-card-note {
  display: none !important;
}

/* Ljus trygghetsrad som i mockupen */
.trust {
  background: #fffaf2 !important;
  padding: 0 !important;
  border-top: 1px solid rgba(20,34,27,.10);
  border-bottom: 1px solid rgba(20,34,27,.10);
}

.trust-grid {
  width: min(1500px, calc(100% - 72px)) !important;
  margin: 0 auto !important;
  transform: none !important;
  display: grid !important;
  grid-template-columns: repeat(4,1fr) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.trust-item {
  color: var(--text) !important;
  min-height: 110px !important;
  padding: 24px 30px !important;
  grid-template-columns: 54px 1fr !important;
  gap: 18px !important;
  border-right: 1px solid rgba(20,34,27,.12) !important;
}

.trust-item:last-child {
  border-right: 0 !important;
}

.trust-icon {
  width: 54px !important;
  height: 54px !important;
  border: 1.8px solid var(--gold) !important;
  border-radius: 14px !important;
  color: var(--gold) !important;
  background: #fffaf2 !important;
}

.trust-item h3 {
  color: var(--text) !important;
  font-size: 17px !important;
}

.trust-item p {
  color: #4f5b55 !important;
  font-size: 15px !important;
}

/* Projektsektionen närmare mockup */
.section.soft {
  background: #fffaf2 !important;
}

#projekt.section {
  padding-top: 54px !important;
}

.section-head {
  grid-template-columns: .9fr 1.1fr !important;
  align-items: end !important;
  margin-bottom: 24px !important;
}

.section-label {
  color: #b9872e !important;
}

h2 {
  color: #111815 !important;
}

.project-card {
  border-radius: 10px !important;
  box-shadow: none !important;
  border: 1px solid rgba(20,34,27,.12) !important;
}

.project-card img {
  height: 190px !important;
  border-radius: 0 !important;
}

.project-card-body {
  padding: 18px !important;
}

.project-card h3 {
  font-size: 18px !important;
}

.project-card p {
  font-size: 15px !important;
}

.quick-cta {
  margin-top: 24px !important;
}

/* Processen ska vara kompakt och korrekt */
.process-compact {
  box-shadow: none !important;
}

.process-line {
  box-shadow: none !important;
}

/* Footer/contact behåll mörk men lite mindre */
.contact.section {
  padding-top: 58px !important;
  padding-bottom: 58px !important;
}

/* Mobile */
@media (max-width: 1100px) {
  .hero-layout {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .hero-visual img,
  .hero-visual {
    height: auto !important;
    min-height: 280px !important;
    max-height: none !important;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .trust-item:nth-child(2) {
    border-right: 0 !important;
  }

  .trust-item:nth-child(1),
  .trust-item:nth-child(2) {
    border-bottom: 1px solid rgba(20,34,27,.12) !important;
  }
}

@media (max-width: 700px) {
  .header-inner {
    height: 82px !important;
    min-height: 82px !important;
  }

  .logo img {
    width: 235px !important;
  }

  .hero-layout {
    padding-top: 40px !important;
    padding-bottom: 38px !important;
  }

  .hero h1 {
    font-size: clamp(38px, 10.5vw, 56px) !important;
  }

  .hero-actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .hero-visual {
    min-height: 230px !important;
  }

  .hero-visual img {
    min-height: 230px !important;
    height: 230px !important;
  }

  .trust-grid {
    width: min(100% - 36px, 1500px) !important;
    grid-template-columns: 1fr !important;
  }

  .trust-item {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(20,34,27,.12) !important;
    min-height: auto !important;
    padding: 18px 0 !important;
  }

  .trust-item:last-child {
    border-bottom: 0 !important;
  }

  .section-head {
    grid-template-columns: 1fr !important;
  }
}


/* === V6: mockup-nära hero + kompakt tjänstedel === */

/* Headern ska flyta ihop med hero, inte kännas som ett separat block */
@media (min-width: 701px) {
  .site-header {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 50 !important;
    background: transparent !important;
    border-bottom: 0 !important;
  }

  .header-inner {
    height: 96px !important;
    min-height: 96px !important;
  }

  .main-nav a,
  .main-nav {
    color: #fff !important;
    text-shadow: 0 2px 18px rgba(0,0,0,.38) !important;
  }

  .logo img {
    width: 300px !important;
    max-width: 300px !important;
    max-height: 76px !important;
  }
}

/* Hero enligt mockup: bild och text i samma yta, inte ett separat bildkort */
.hero {
  position: relative !important;
  background:
    linear-gradient(90deg, rgba(8,18,13,0.97) 0%, rgba(8,18,13,0.92) 33%, rgba(8,18,13,0.28) 64%, rgba(8,18,13,0.05) 100%),
    linear-gradient(180deg, rgba(8,18,13,0.18) 0%, rgba(8,18,13,0.02) 54%, rgba(8,18,13,0.08) 100%),
    url("assets/img/hero-card.webp") !important;
  background-size: cover !important;
  background-position: center right !important;
  background-repeat: no-repeat !important;
  min-height: 575px !important;
  color: #fff !important;
  overflow: hidden !important;
  padding: 0 !important;
}

.hero::before {
  display: none !important;
}

.hero-layout {
  display: block !important;
  min-height: 575px !important;
  padding-top: 152px !important;
  padding-bottom: 68px !important;
}

.hero-content {
  max-width: 760px !important;
  padding: 0 !important;
  color: #fff !important;
}

.eyebrow {
  color: #e5b84d !important;
  margin-bottom: 18px !important;
  font-size: 14px !important;
  letter-spacing: .19em !important;
}

.hero h1 {
  color: #fff !important;
  max-width: 760px !important;
  font-size: clamp(50px, 4.7vw, 84px) !important;
  line-height: .98 !important;
  letter-spacing: -.055em !important;
  margin-bottom: 24px !important;
}

.hero h1 span {
  color: #d9aa49 !important;
}

.hero p {
  color: rgba(255,255,255,.92) !important;
  max-width: 680px !important;
  font-size: clamp(18px, 1.1vw, 21px) !important;
  line-height: 1.55 !important;
  margin-bottom: 28px !important;
}

.hero .btn.secondary {
  color: #fff !important;
  border-color: rgba(255,255,255,.75) !important;
  background: rgba(255,255,255,.04) !important;
}

.hero-visual {
  display: none !important;
}

/* Trygghetsraden direkt efter hero, samma känsla som mockup */
.trust {
  background: #071710 !important;
  border-top: 1px solid rgba(255,255,255,.08) !important;
  border-bottom: 0 !important;
  padding: 0 !important;
}

.trust-grid {
  width: min(1500px, calc(100% - 72px)) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  margin: 0 auto !important;
  transform: none !important;
  display: grid !important;
  grid-template-columns: repeat(4,1fr) !important;
}

.trust-item {
  color: #fff !important;
  min-height: 116px !important;
  padding: 24px 30px !important;
  border-right: 1px solid rgba(255,255,255,.14) !important;
  grid-template-columns: 54px 1fr !important;
}

.trust-item:last-child {
  border-right: 0 !important;
}

.trust-icon {
  background: transparent !important;
  border-color: #d9aa49 !important;
  color: #d9aa49 !important;
}

.trust-item h3 {
  color: #fff !important;
}

.trust-item p {
  color: rgba(255,255,255,.75) !important;
}

/* Projektsektion lite tajtare */
#projekt.section {
  padding-top: 56px !important;
  padding-bottom: 54px !important;
}

.section-head {
  margin-bottom: 24px !important;
}

/* Kompakt tjänstedel */
.services-compact {
  padding: 46px 0 !important;
  background: #f6f1e8 !important;
}

.compact-section-head {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 22px;
}

.compact-section-head h2 {
  margin: 0;
  font-size: clamp(30px, 2.35vw, 44px);
}

.compact-section-head p {
  margin: 0;
  color: #4f5b55;
  font-size: 17px;
  line-height: 1.55;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.service-strip a {
  background: #fffaf2;
  border: 1px solid rgba(20,34,27,.12);
  border-radius: 16px;
  padding: 18px 20px;
  display: grid;
  gap: 5px;
  transition: .18s transform, .18s border-color, .18s box-shadow;
}

.service-strip a:hover {
  transform: translateY(-2px);
  border-color: rgba(217,170,73,.45);
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
}

.service-strip strong {
  font-size: 18px;
  color: #111815;
}

.service-strip span {
  color: #5d6963;
  font-size: 14.5px;
  line-height: 1.35;
}

/* Om oss/process lite mer kompakt */
#om-oss.section {
  padding-top: 52px !important;
  padding-bottom: 52px !important;
}

.about-panel,
.process-compact {
  padding: 26px 30px !important;
}

/* Mobil */
@media (max-width: 1100px) {
  .hero {
    background:
      linear-gradient(90deg, rgba(8,18,13,0.96), rgba(8,18,13,0.76)),
      url("assets/img/hero-card.webp") !important;
    background-size: cover !important;
    background-position: center right !important;
  }

  .hero-layout {
    min-height: auto !important;
    padding-top: 130px !important;
    padding-bottom: 56px !important;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .trust-item:nth-child(2) {
    border-right: 0 !important;
  }

  .trust-item:nth-child(1),
  .trust-item:nth-child(2) {
    border-bottom: 1px solid rgba(255,255,255,.14) !important;
  }

  .service-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .compact-section-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 700px) {
  .site-header {
    position: relative !important;
    background: #071710 !important;
  }

  .header-inner {
    height: 82px !important;
    min-height: 82px !important;
  }

  .logo img {
    width: 235px !important;
  }

  .hero {
    background:
      linear-gradient(90deg, rgba(8,18,13,.97), rgba(8,18,13,.82)),
      url("assets/img/hero-card.webp") !important;
    background-size: cover !important;
    background-position: center !important;
  }

  .hero-layout {
    padding-top: 46px !important;
    padding-bottom: 48px !important;
  }

  .hero h1 {
    font-size: clamp(40px, 11.2vw, 60px) !important;
  }

  .hero p {
    font-size: 17px !important;
  }

  .hero-actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .trust-grid {
    width: min(100% - 36px, 1500px) !important;
    grid-template-columns: 1fr !important;
  }

  .trust-item {
    min-height: auto !important;
    padding: 18px 0 !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.14) !important;
  }

  .trust-item:last-child {
    border-bottom: 0 !important;
  }

  .service-strip {
    grid-template-columns: 1fr;
  }

  .services-compact {
    padding: 38px 0 !important;
  }
}


/* === V9: logga från PDF som SVG, vit text utan bakgrundsplatta === */
.logo,
.site-header .logo {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  overflow: visible !important;
}

.logo img,
.site-header .logo img {
  width: auto !important;
  height: 58px !important;
  max-height: 58px !important;
  max-width: 330px !important;
  object-fit: contain !important;
  object-position: left center !important;
}

/* Eftersom PDF-loggan är väldigt bred behöver den vara lägre för att kännas balanserad i headern. */
@media (min-width: 701px) {
  .header-inner {
    height: 96px !important;
    min-height: 96px !important;
  }

  .site-header .logo img {
    height: 60px !important;
    max-height: 60px !important;
    max-width: 360px !important;
  }
}

@media (max-width: 700px) {
  .site-header .logo img {
    height: 46px !important;
    max-height: 46px !important;
    max-width: 260px !important;
  }
}


/* === V10: kontakt/footer kontrastfix === */
.contact,
.contact.section {
  background: linear-gradient(180deg, #071710 0%, #04110c 100%) !important;
  color: #ffffff !important;
}

.contact .section-label {
  color: #d9aa49 !important;
}

.contact h2,
.contact h3,
.contact strong {
  color: #ffffff !important;
}

.contact p,
.contact li {
  color: rgba(255,255,255,.86) !important;
}

.contact .panel {
  background: rgba(255,255,255,.055) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  color: #ffffff !important;
}

.contact .panel p {
  color: rgba(255,255,255,.84) !important;
}

.contact .panel strong {
  display: inline-block;
  color: rgba(255,255,255,.88) !important;
  margin-bottom: 6px;
}

.contact .panel a {
  color: #ffffff !important;
  font-weight: 900 !important;
}

.footer {
  background: #030c08 !important;
  color: rgba(255,255,255,.78) !important;
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer a,
.footer span {
  color: rgba(255,255,255,.82) !important;
}

/* Gör även kontaktsektionen lite tajtare och mer balanserad */
.contact.section {
  padding-top: 64px !important;
  padding-bottom: 64px !important;
}

.contact .about-grid {
  align-items: center !important;
}

@media (max-width: 700px) {
  .contact.section {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
}
