/* Forslag: strammere og mer eksklusivt uttrykk. Lastes ETTER style.css og overstyrer bare det som endres.
   Prinsipp: færre bokser, mer luft, lettere typografi, logoblå brukt sparsomt som signal. */

:root {
  --night: #323e48;       /* logoens mørke blå, overskrifter */
  --deep: #2a343c;        /* mørke flater, flat farge uten gradient */
  --paper: #f1f0ec;       /* stein: varm, lys grå for seksjoner */
  --white: #fbfaf8;       /* kritt: sidebakgrunn */
  --muted: #5f676d;
  --rule: #dcdcd6;
  --r-sm: 3px;
  --r-md: 4px;
  --r-lg: 4px;
  --section: clamp(104px, 13vw, 184px);
  --lift: none;
}

body { background: var(--white); font-size: 1.0625rem; line-height: 1.75; color: #3b464f; }
img { background: #e4e3de; }

/* Typografi: lettere vekt og større skala gir ro og tyngde */
h1 { font-size: clamp(2.7rem, 6vw, 5rem); line-height: 1; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.06; }
h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -.015em; }
.lead { font-size: clamp(1.12rem, 1.45vw, 1.3rem); line-height: 1.6; }
.section__head { max-width: 720px; margin-bottom: clamp(56px, 7vw, 96px); }
.section__head p { font-size: 1.12rem; }

/* Mørke flater: flat skifer, ingen rutenett eller glød */
.section--deep, .footer { background: var(--deep); }
.section--deep::before { display: none; }

/* Knapper: rette kanter, ingen skygge, ingen hopp */
.btn { border-radius: var(--r-sm); min-height: 52px; padding: 0 28px; font-weight: 600; letter-spacing: 0; }
.btn--primary { background: var(--night); color: #fff; box-shadow: none; font-weight: 600; }
.btn--primary:hover { background: #26303a; transform: none; box-shadow: inset 0 -2px 0 var(--blue); }
.hero .btn--primary, .section--deep .btn--primary, .header .btn--primary { background: #fff; color: var(--night); }
.hero .btn--primary:hover, .section--deep .btn--primary:hover, .header .btn--primary:hover { background: #fff; box-shadow: inset 0 -3px 0 var(--blue); }
.btn--ghost:hover, .btn--line:hover { transform: none; }
.btn--line { border-color: var(--night); }
.btn .ic--move { display: none; }

/* Topp: solid flate, rolig meny med strek under aktiv side */
.header { background: var(--deep); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 1px solid rgba(255,255,255,.07); }
.nav a { border-radius: 0; padding: 10px 14px; position: relative; }
.nav a:hover, .nav a[aria-current="page"] { background: none; color: #fff; }
.nav a[aria-current="page"]::after, .nav a:hover::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--blue); }
.header .btn { min-height: 42px; }

/* Hero: én retning på mørkleggingen, mer bilde og større luft */
.hero::after {
  background: linear-gradient(90deg, rgba(42,52,60,.86) 0%, rgba(42,52,60,.55) 45%, rgba(42,52,60,.08) 100%),
              linear-gradient(0deg, rgba(42,52,60,.7) 0%, rgba(42,52,60,0) 35%);
}
.hero__content { min-height: min(90vh, 820px); }
.hero h1 { max-width: 13ch; margin-bottom: .5em; }
.hero .lead { color: #e6eaed; }
.hero__clients { border-top-color: rgba(255,255,255,.16); }
.hero__clients img { opacity: .5; }
.hero__tag { border-radius: var(--r-sm) !important; background: none !important; border: 1px solid rgba(255,255,255,.28) !important; }
@media (prefers-reduced-motion: no-preference) {
  .js .rise { animation-duration: 1.2s; }
}

/* Kort: ingen bokser. Bilde, tittel og en lenke, som i en katalog */
.cards { gap: clamp(40px, 4vw, 56px) clamp(24px, 3vw, 40px); }
.card a { background: none; border-radius: 0; box-shadow: none; overflow: visible; }
.card a:hover { transform: none; box-shadow: none; }
.card__img { aspect-ratio: 4 / 3; border-radius: var(--r-lg); }
.card a:hover .card__img img { transform: scale(1.025); }
.card__img { position: relative; }
.card__body { padding: 38px 0 0; }
.card__icon { top: -26px; left: 18px; width: 52px; height: 52px; box-shadow: 0 0 0 5px var(--white); }
.section--paper .card__icon { box-shadow: 0 0 0 5px var(--paper); }
.card__tag { font-size: .85rem; color: var(--muted); margin-bottom: 4px; }
.card h3 { font-size: clamp(1.2rem, 1.5vw, 1.35rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: .4em; }
.card p { font-size: 1rem; }
.more { font-weight: 600; text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: .3em; text-decoration-thickness: 1px; }
.more .ic { display: none; }
.cards-foot { border-top: 1px solid var(--rule); padding-top: 32px; }

/* Nøkkeltall: tall og tekst på hårstrek, ingen fliser */
.facts { gap: 0 40px; }
.facts li { background: none; border: 0; border-top: 1px solid rgba(255,255,255,.16); border-radius: 0; padding: 22px 0 28px; }
.facts li:hover { transform: none; border-color: rgba(255,255,255,.16); }
.facts .ic { color: var(--blue); width: 22px; height: 22px; margin-bottom: 14px; }
.facts b { font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -.03em; margin-bottom: 8px; }
.section:not(.section--deep) .facts li { border-top-color: var(--rule); }

/* Spørsmål og svar: lister, ikke kort */
.faq { gap: 0; border-top: 1px solid var(--rule); }
.faq details { background: none; border-radius: 0; border-bottom: 1px solid var(--rule); }
.faq details[open] { box-shadow: none; }
.faq summary { padding: 26px 56px 26px 0; font-family: var(--serif); font-weight: 600; font-size: 1.12rem; letter-spacing: -.01em; }
.faq summary::after { background-color: transparent !important; right: 0; }
.faq details[open] summary::after { background-image: linear-gradient(var(--blue), var(--blue)), linear-gradient(var(--blue), var(--blue)); }
.faq details > div { padding: 0 56px 28px 0; }

/* Kontakt og skjema */
.form { border-radius: var(--r-lg); box-shadow: none; background: var(--white); }
.field input, .field textarea { border-radius: var(--r-sm); background: #fff; border: 1px solid var(--rule); }

/* Undersider */
.feature__media img, .gallery img, .gallery a, .beforeafter a, .art-fig a, .art-video video, .project__lead-img img { border-radius: var(--r-lg) !important; }
.subnav { background: rgba(251,250,248,.95); }
.subnav a { border-radius: 0; }
.subnav a.is-active { background: none; color: var(--night); box-shadow: inset 0 -1px 0 var(--blue); }
.related a, .plist a { border-radius: var(--r-md); box-shadow: none !important; transform: none !important; }
.spec > div { background: none; border: 0; border-top: 1px solid rgba(255,255,255,.16); border-radius: 0; padding: 20px 0; }
.eco { border-radius: var(--r-lg); }
.chip { border-radius: var(--r-sm) !important; }

/* Prosjektartikler */
.art__card { border-radius: var(--r-lg); background: var(--paper); }
.art__links a { border-radius: var(--r-sm); box-shadow: none !important; transform: none !important; }
.art__cta { background: var(--night); color: #fff; border-radius: var(--r-sm); }
.art__cta:hover { box-shadow: inset 0 -2px 0 var(--blue); transform: none; }
.art__ingress { font-family: var(--serif); font-weight: 500; letter-spacing: -.015em; font-size: clamp(1.3rem, 1.9vw, 1.6rem); line-height: 1.45; }

/* Bunntekst */
.footer h2 { color: #fff; font-weight: 600; }
.footer__bottom { border-top-color: rgba(255,255,255,.1); }
.section:not(.section--paper) .card a, .section:not(.section--paper) .card a:hover { box-shadow: none; }
.form .btn--primary { background: var(--night); color: #fff; }
.form .btn--primary:hover { background: #26303a; box-shadow: inset 0 -3px 0 var(--blue); }

@media (max-width: 760px) {
  body { padding-bottom: 60px; }
  .actionbar { left: 0; right: 0; bottom: 0; gap: 0; padding: 0 0 env(safe-area-inset-bottom); border-radius: 0; background: var(--deep); box-shadow: 0 -1px 0 rgba(255,255,255,.08); }
  .actionbar a { border-radius: 0; height: 56px; }
  .actionbar a.is-primary { background: #fff; color: var(--night); }
}
/* Nøkkeltall: skalerer etter bredden på feltet, så lange ord som «Miljøvennlig» aldri brytes */
.facts li { container-type: inline-size; min-width: 0; }
.facts b { font-size: clamp(1rem, 15cqi, 2.5rem); overflow-wrap: normal; word-break: keep-all; hyphens: manual; white-space: nowrap; }
/* Spørsmål på hvit seksjon har grå flate: gi teksten luft fra kanten */
.section:not(.section--paper) .faq summary { padding-left: 28px; padding-right: 72px; }
.section:not(.section--paper) .faq summary::after { right: 24px; }
.section:not(.section--paper) .faq details > div { padding-left: 28px; padding-right: 72px; }
@media (max-width: 600px) {
  .section:not(.section--paper) .faq summary { padding-left: 20px; padding-right: 60px; }
  .section:not(.section--paper) .faq summary::after { right: 16px; }
  .section:not(.section--paper) .faq details > div { padding-left: 20px; padding-right: 20px; }
}
/* Større logo i toppen */
/* Logoen er det viktigste i toppen: høyere topp og større logo, høyde i hele piksler for skarpe kanter */
:root { --header-h: 84px; }
.header .logo { width: auto; }
.header .logo svg { display: block; width: auto; height: 52px; shape-rendering: geometricPrecision; }
@media (max-width: 900px) { :root { --header-h: 72px; } .header .logo svg { height: 36px; } }
/* Kvadratiske bilder ved introteksten vises hele, uten beskjæring */
.project__lead-img--square img { aspect-ratio: 1 / 1; }
/* Stående bilder ved introteksten: vis mer av bildet, med fokus øverst */
.project__lead-img--tall img { aspect-ratio: 4 / 5; object-position: 50% 20%; max-height: 640px; }
/* Tegnede figurer i steg-for-steg: ingen grå boks, litt større */
.howto__img { height: 416px; }
.howto__img img { background: none; height: 400px; }
@media (min-width: 981px) { .howto .howto__item:last-child { grid-column: 2; } }
.project__lead-img--wide img { aspect-ratio: auto; }

/* Sist oppdatert under FAQ (AEO) */
.oppdatert { margin-top: 18px; font-size: 13px; color: #6b7680; }

/* Kort fortalt-faktaboks på produktsider (AEO) */
.kortfortalt { margin-top: 28px; border: 1px solid #dfe3e6; border-radius: 10px; padding: 18px 20px; background: #fff; }
.kortfortalt h3 { font-size: 16px; margin: 0 0 10px; }
.kortfortalt dl { margin: 0; display: grid; gap: 8px; }
.kortfortalt dl > div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; font-size: 15px; border-top: 1px solid #eef0f2; padding-top: 8px; }
.kortfortalt dl > div:first-child { border-top: 0; padding-top: 0; }
.kortfortalt dt { font-weight: 600; color: #323e48; }
.kortfortalt dd { margin: 0; color: #4a555e; }
@media (max-width: 560px) { .kortfortalt dl > div { grid-template-columns: 1fr; gap: 2px; } }
