/* Våtrom AS – stilark. Visuelt likt den gamle Avada-siden, uten rammeverk og uten eksterne ressurser. */

@font-face { font-family: "Open Sans"; font-weight: 400; font-display: swap; src: url("../fonts/open-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 600; font-display: swap; src: url("../fonts/open-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 700; font-display: swap; src: url("../fonts/open-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto Slab"; font-weight: 500; font-display: swap; src: url("../fonts/roboto-slab-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto Slab"; font-weight: 700; font-display: swap; src: url("../fonts/roboto-slab-latin-700-normal.woff2") format("woff2"); }

:root {
  /* Farger hentet fra gamle vatrom.as */
  --blue: #5eb3e4;          /* logo-blå, knapper, aktiv meny */
  --blue-hover: #229ce2;
  --blue-247: #329edc;
  --petrol: #004766;        /* toppstripe og bunnstripe */
  --heading: #333c4e;       /* overskrifter, skjemabakgrunn */
  --ink: #212934;           /* meny */
  --text: #7e8890;          /* brødtekst */
  --line: #e7e4e2;
  --bg-warm: #f7f5f4;
  --white: #ffffff;
  --radius: 6px;
  --shadow: 0 2px 5px rgba(33, 33, 33, .1);
  --wrap: 1280px;
  --font: "Open Sans", Arial, Helvetica, sans-serif;
  --font-head: "Roboto Slab", Georgia, serif;
  --font-serif: "Iowan Old Style", "Apple Garamond", Baskerville, "Times New Roman", "Droid Serif", Times, "Source Serif Pro", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.75; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; color: var(--heading); margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.75rem); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.125rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }
strong { color: var(--heading); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 30px; }
@media (max-width: 640px) { .wrap { padding: 0 18px; } }
.section { padding: clamp(48px, 7vw, 80px) 0; }
.section--soft { background: var(--bg-warm); }
.section--navy { background: var(--heading); color: var(--text); }
.section--navy h2, .section--navy h3 { color: #fff; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: .8em; }
.lead { font-size: 1.25rem; line-height: 1.8; color: var(--text); max-width: 62ch; }
.lead--sm { font-size: 1rem; max-width: none; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.h-xl { font-size: clamp(2rem, 4vw, 3.5rem); }
.sep { display: block; width: 170px; height: 1px; background: var(--blue); margin: 28px auto 35px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* Knapper */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 13px 29px; border-radius: var(--radius); font-weight: 700; font-size: .875rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; font-family: var(--font); line-height: 1.2; }
.btn--blue, .btn--primary { background: var(--blue); color: #fff; }
.btn--blue:hover, .btn--primary:hover { background: var(--blue-hover); color: #fff; }
.btn--outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--light { background: #fff; color: var(--heading); }
.btn--ghost { border-color: rgba(255,255,255,.8); color: #fff; }
.btn--lg { font-size: 1.2rem; padding: 18px 36px; }
.btn--block { width: 100%; }

/* Toppstripe */
.topbar { background: var(--petrol); color: #fff; font-size: 15px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 66px; }
.topbar__left { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--blue); }
.topbar__phone { display: inline-flex; align-items: center; gap: 8px; }
.topbar__phone svg { width: 17px; height: 17px; fill: currentColor; }
.tag-247 { background: var(--blue-247); color: #fff; font-size: 11px; line-height: 1; padding: 4px 6px; border-radius: 3px; }
.topbar__cta { display: inline-flex; align-items: center; gap: 8px; margin-left: 22px; font-size: 16px; }
.topbar__cta svg { width: 16px; height: 16px; fill: currentColor; }
.topbar__badges { display: flex; gap: 16px; align-items: center; }
.topbar__badges img { width: 52px; height: 52px; }
.topbar__badges a:hover { opacity: .8; }

/* Header / meny */
.header { background: #fff; box-shadow: var(--shadow); position: sticky; top: 0; z-index: 50; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 100px; gap: 20px; }
.logo { display: block; width: 258px; }
.logo svg { width: 100%; height: auto; display: block; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 46px; }
.nav a { display: block; padding: 6px 0; color: var(--ink); font-weight: 700; font-size: 15px; text-transform: uppercase; }
.nav a:hover, .nav a.is-active { color: var(--blue); }
.nav .has-sub { position: relative; }
.nav .sub { display: none; position: absolute; top: 100%; left: -20px; background: #fff; box-shadow: 0 6px 20px rgba(33,33,33,.12); border-top: 3px solid var(--blue); padding: 10px 0; min-width: 230px; flex-direction: column; align-items: stretch; gap: 0; }
.nav .sub a { padding: 8px 20px; font-weight: 600; font-size: 14px; }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { display: flex; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 30px; height: 30px; }

@media (max-width: 1000px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: var(--shadow); }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 10px 30px 20px; gap: 0; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .sub { display: flex; position: static; box-shadow: none; border: 0; padding: 0 0 0 16px; min-width: 0; }
  .topbar__cta { display: none; }
  .logo { width: 190px; }
  .header .wrap { min-height: 76px; }
}
@media (max-width: 560px) {
  .topbar__badges img { width: 38px; height: 38px; }
  .topbar__badges { gap: 10px; }
  .topbar .wrap { min-height: 56px; }
  .logo { width: 160px; }
}

/* Hero (forside) – som gamle siden: bildet uten mørk overflate, sentrert tekst og fire blå knapper */
.hero { position: relative; color: #fff; background: var(--heading); overflow: hidden; }
.hero__img { position: absolute; inset: 0; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: right bottom; }
.hero .wrap { position: relative; z-index: 1; }
.hero--home .wrap { text-align: center; padding-top: 164px; padding-bottom: 208px; }
.hero--home h1 { color: #fff; text-transform: uppercase; font-size: clamp(2rem, 5.1vw, 3.75rem); letter-spacing: -.015em; line-height: 1.15; margin-bottom: .55em; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.hero__sub { font-family: var(--font-serif); font-size: 25px; line-height: 1.25; color: #fff; margin: 0 0 48px; text-shadow: 0 1px 10px rgba(0,0,0,.3); }
.hero__buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 20px; }
.hbtn { background: var(--blue); color: #fff; font-size: 14px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; padding: 13px 29px; line-height: 17px; }
.hbtn:hover { background: var(--blue-hover); color: #fff; }
.hbtn--first { border-radius: 0 0 0 10px; }
.hbtn--last { border-radius: 0 10px 0 0; }
.only-mob { display: none; }
@media (max-width: 760px) {
  .hero--home .wrap { padding-top: 55px; padding-bottom: 40px; }
  .hero__img img { object-position: center bottom; }
  .hero__sub { font-size: 25px; line-height: 1.25; margin-bottom: 28px; }
  .only-mob { display: inline; }
  .hide-mob { display: none; }
}

/* Hero på undersider: bilde med mørk overflate så teksten kan leses */
.hero--page::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,28,38,.85) 0%, rgba(20,28,38,.6) 55%, rgba(20,28,38,.3) 100%); }
.hero--page .wrap { padding-top: clamp(64px, 9vw, 110px); padding-bottom: clamp(64px, 9vw, 110px); }
.hero--page h1 { color: #fff; max-width: 22ch; }
.hero--page .lead { color: #dbe4ec; }
.hero--page .eyebrow { color: var(--blue); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.6em; }

/* Intro-seksjon */
.emblem { display: flex; justify-content: center; margin-bottom: 50px; }
.emblem img { width: 103px; height: 89px; }
.section--intro { padding-top: 64px; }
.section--intro h2 { font-size: clamp(1.6rem, 3vw, 2.125rem); margin-bottom: 1.1em; }
.intro-split { margin-top: 64px; }
.intro-split h3 { font-size: 1.5rem; }

/* Rutenett og kort */
.grid { display: grid; gap: 30px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 5vw, 70px); }
@media (max-width: 960px) { .grid--4 { grid-template-columns: 1fr 1fr; } .grid--3 { grid-template-columns: 1fr; } .grid--2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid--4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; color: inherit; transition: transform .15s, box-shadow .15s; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(33,33,33,.1); color: inherit; }
.card__img { aspect-ratio: 4 / 3; background: var(--bg-warm); overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.card__body h3 { margin-bottom: .4em; font-size: 1.25rem; }
.card__body p { font-size: .95rem; flex: 1; }
.card__more { font-weight: 700; color: var(--blue); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.card__more::after { content: " →"; }

.media { border-radius: var(--radius); overflow: hidden; background: var(--bg-warm); aspect-ratio: 4 / 3; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--plain { border-radius: 0; aspect-ratio: 100 / 57; }

.checklist { list-style: none; padding: 0; margin: 1.2em 0; }
.checklist li { padding-left: 32px; position: relative; margin-bottom: .6em; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Tillits-stripe */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust__item { text-align: center; padding: 8px; }
.trust__num { font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: var(--heading); line-height: 1.1; }
.trust__label { font-size: .9rem; }
.trust a { color: var(--text); text-decoration: underline; }
@media (max-width: 760px) { .trust { grid-template-columns: 1fr 1fr; } }

/* «Nytt bad?» med prisberegner (forslag A) */
.vcut { background: var(--line); line-height: 0; height: 130px; }
.vcut svg { width: 100%; height: 90px; fill: #fff; display: block; }
.bad { display: grid; grid-template-columns: 1fr 1fr; min-height: 540px; }
.bad__img { background: var(--line); overflow: hidden; }
.bad__img img { width: 100%; height: 100%; object-fit: cover; }
.bad__panel { background: var(--petrol); color: #d6e3ea; padding: 64px clamp(30px, 6vw, 90px); display: flex; flex-direction: column; justify-content: center; }
.bad__panel h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: .35em; }
.bad__panel .eyebrow { color: var(--blue); }
.mini-calc { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: 10px; padding: 22px 24px; margin: 22px 0 26px; max-width: 520px; }
.mini-calc__row { display: flex; justify-content: space-between; align-items: baseline; color: #fff; font-family: var(--font-head); }
.mini-calc__row b { font-size: 1.6rem; color: var(--blue); }
.mini-calc input[type="range"] { width: 100%; accent-color: var(--blue); margin: 14px 0 6px; height: 28px; }
.mini-calc__price { display: block; font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 1.9rem); color: #fff; font-weight: 700; }
.mini-calc small { display: block; font-size: 12px; color: #9fb6c3; margin-top: 4px; }
.bad__btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn--ghostw { border: 2px solid rgba(255,255,255,.7); color: #fff; }
.btn--ghostw:hover { background: rgba(255,255,255,.1); color: #fff; }
@media (max-width: 860px) { .bad { grid-template-columns: 1fr; } .bad__img { aspect-ratio: 4 / 3; } .bad__panel { padding: 44px 22px; } }

/* Kundeomtaler */
.quotes { margin-top: 56px; }
.quote { margin: 0; }
.quote__img { position: relative; width: 78%; max-width: 300px; margin: 0 auto 26px; aspect-ratio: 4 / 5; }
.quote__img img { width: 100%; height: 100%; object-fit: cover; clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%); }
.quote__img::before, .quote__img::after { content: ""; position: absolute; width: 4px; background: #c9ced3; border-radius: 2px; }
.quote__img::before { left: -2%; top: 18%; height: 34%; transform: skewX(-6deg); }
.quote__img::after { right: -2%; bottom: 14%; height: 34%; transform: skewX(-6deg); }
.section--quotes { position: relative; }
.quotes__note { position: absolute; bottom: 14px; right: max(30px, calc((100% - var(--wrap)) / 2 + 30px)); font-size: 12px; margin: 0; color: #a3abb2; }
.quote cite { font-style: normal; font-weight: 700; display: block; color: var(--text); font-family: var(--font); font-size: 1rem; }
.quote small { color: var(--text); font-size: .9rem; display: block; margin-bottom: 14px; }
.quote blockquote { margin: 0; font-size: .95rem; }
.click-to-expand { cursor: pointer; }
.click-to-expand .more { display: none; }
.click-to-expand.is-open .more { display: inline; }
.click-to-expand.is-open .dots { display: none; }
.click-to-expand:hover .dots, .click-to-expand:focus-visible .dots { color: var(--blue); }

/* Mørkt forespørsel-skjema (som gamle siden) */
.form-dark { max-width: 1100px; margin: 0 auto; }
.form-dark h2 { text-align: center; color: #fff; }
.form-dark .lead { text-align: center; margin: 0 auto 50px; font-size: 1.15rem; max-width: none; }
.hl { color: var(--blue); position: relative; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: -6px; height: 8px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8' preserveAspectRatio='none'%3E%3Cpath d='M1 6 Q50 0 99 5' fill='none' stroke='%235eb3e4' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
/* Skjemafelt i Avada-stil: hvite felt med runde hjørner, blå ikoner og blå plassholdertekst */
.form { display: grid; gap: 36px; }
.form__row { display: grid; gap: 36px 44px; }
.form__row--3 { grid-template-columns: repeat(3, 1fr); }
.form__row--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .form { gap: 20px; } .form__row { gap: 20px; } .form__row--3, .form__row--2 { grid-template-columns: 1fr; } }
.field { position: relative; }
.field input:not([type="checkbox"]):not([type="file"]), .field select, .field textarea { width: 100%; font: inherit; font-size: 14px; line-height: 1.4; min-height: 45px; padding: 12px 14px; border: 1px solid transparent; border-radius: 6px; background: #fff; color: var(--heading); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.form-wrap .field input:not([type="checkbox"]):not([type="file"]), .form-wrap .field select, .form-wrap .field textarea { border-color: #d8dde2; }
.field textarea { min-height: 240px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--blue); opacity: 1; }
.field--icon > svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; fill: var(--blue); pointer-events: none; }
.field--icon input { padding-left: 38px !important; }
.select-wrap { position: relative; }
.select-wrap > svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; fill: var(--blue); pointer-events: none; }
.field select { appearance: none; -webkit-appearance: none; color: var(--blue); cursor: pointer; padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%235eb3e4' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 16px center / 16px no-repeat; }
.select-wrap select { padding-left: 38px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(94,179,228,.3); }
.lbl-light { display: block; color: #9aa4ad; font-size: 15px; margin-bottom: 10px; }
.check { display: flex; align-items: center; gap: 8px; margin-top: 26px; color: #9aa4ad; font-size: 15px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); margin: 0; }
.form-wrap .check { color: var(--text); margin-top: 0; }
.dropzone { position: relative; border: 2px dashed rgba(255,255,255,.9); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 28px 18px; min-height: 150px; text-align: center; color: #9aa4ad; font-size: 15px; cursor: pointer; }
.form-wrap .dropzone { border-color: #c9d1d8; color: var(--text); }
.dropzone svg { width: 30px; height: 30px; fill: var(--blue); }
.dropzone small { font-size: 12px; opacity: .8; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone:hover, .dropzone:focus-within { border-color: var(--blue); }
.dropzone.has-files span { color: #fff; }
.form-wrap .dropzone.has-files span { color: var(--heading); }
.form__consent { font-size: 13px; color: #9aa4ad; margin: -16px 0 0; text-align: center; }
.form-wrap .form__consent { color: var(--text); margin: 0; text-align: left; }
.form__consent a { color: var(--blue); }
.form .btn--block { font-size: 20px; letter-spacing: .14em; padding: 20px; border-radius: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { padding: 12px 14px; border-radius: 4px; display: none; }
.form__status.ok { display: block; background: #e8f6ee; color: #1d6b3d; }
.form__status.err { display: block; background: #fdecec; color: #8f1d24; }

/* Lyse skjema (Nytt bad-siden) */
.form-wrap { background: #fff; border-radius: 10px; box-shadow: 0 6px 24px rgba(20,30,45,.08); padding: clamp(24px, 4vw, 44px); }
.form-wrap .form { grid-template-columns: 1fr 1fr; gap: 22px 30px; }
.form-wrap .form .full { grid-column: 1 / -1; }
.form-wrap .field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--heading); }
.form-wrap .form__consent { color: var(--text); }
@media (max-width: 640px) { .form-wrap .form { grid-template-columns: 1fr; } }
.field .req { color: #b4232c; }
.field .hint { font-size: .82rem; margin-top: 4px; }

/* Kontaktliste */
.contact-list { list-style: none; padding: 0; margin: 1.4em 0; max-width: 560px; }
.contact-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-list strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text); }
.contact-list a { font-weight: 700; font-size: 1.1rem; }

/* Priskalkulator */
.calc { background: #fff; border-radius: 10px; box-shadow: 0 6px 24px rgba(20,30,45,.08); padding: clamp(24px, 4vw, 44px); text-align: center; }
.calc__size { font-family: var(--font-head); font-size: 1.2rem; color: var(--heading); }
.calc__size output { font-size: 2.6rem; font-weight: 700; color: var(--blue); }
.calc input[type="range"] { width: 100%; margin: 20px 0; accent-color: var(--blue); height: 28px; }
.calc__scale { display: flex; justify-content: space-between; font-size: .8rem; margin-top: -12px; }
.calc__price { margin-top: 24px; padding: 20px; background: var(--bg-warm); border-radius: var(--radius); }
.calc__price span { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.calc__price output { font-family: var(--font-head); font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 700; color: var(--heading); }
.calc__note { font-size: .82rem; margin: 14px 0 0; }
.choice { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 1.2em; }

/* Tekstsider */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }

/* Bunntekst: blå vakttelefon-stripe + lys footer */
.callband { background: var(--blue); color: #fff; }
.callband .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding-top: 34px; padding-bottom: 34px; }
.callband__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.35rem, 2.6vw, 1.75rem); line-height: 1.25; margin: 0; color: #fff; }
.callband__text { margin: 4px 0 0; color: #eaf6fd; }
.callband__btn { display: inline-flex; align-items: center; gap: 14px; background: #fff; color: var(--petrol); padding: 12px 28px 12px 22px; border-radius: 0 18px 0 18px; box-shadow: 0 10px 30px rgba(0, 40, 70, .25); transition: transform .15s, box-shadow .15s; }
.callband__btn:hover { color: var(--petrol); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 40, 70, .3); }
.callband__btn svg { width: 26px; height: 26px; fill: var(--blue); flex: none; }
.callband__btn span { font-family: var(--font-head); font-weight: 700; font-size: 1.55rem; line-height: 1.1; }
.callband__btn small { display: block; font-family: var(--font); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-247); }
.footer { background: #f3f1f0; color: var(--text); font-size: 14px; padding: 64px 0 0; }
.footer h2 { color: var(--heading); font-size: 13px; font-family: var(--font); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.3em; }
.footer h2::after { content: ""; display: block; width: 30px; height: 2px; background: var(--blue); margin-top: 10px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.2fr; gap: 40px; padding-bottom: 54px; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { gap: 36px 20px; } .footer__about, .footer__grid > div:last-child { grid-column: 1 / -1; } .footer { padding-top: 48px; } }
.footer__logo { display: inline-block; }
.footer__logo svg { width: 220px; height: auto; display: block; }
.footer__about p { margin: 18px 0 22px; max-width: 40ch; }
.footer__badges { display: flex; gap: 16px; }
.footer__badges img { width: 58px; height: 58px; filter: brightness(0) invert(24%) sepia(14%) saturate(900%) hue-rotate(178deg); opacity: .8; transition: opacity .15s; }
.footer__badges a:hover img { opacity: 1; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .6em; }
.footer a { color: var(--ink); }
.footer a:hover { color: var(--blue); }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 1em; }
.footer__contact svg { width: 16px; height: 16px; fill: var(--blue); flex: none; margin-top: 4px; }
.footer__contact a { color: var(--blue); }
.footer__bottom { background: var(--petrol); color: #b9c8d2; font-size: 13px; }
.footer__bottom .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 57px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.footer__bottom a { color: var(--blue); }
.social { display: flex; gap: 16px; }
.social svg { width: 18px; height: 18px; fill: #b9c8d2; }
.social a:hover svg { fill: #fff; }

/* Mobil: fast ring-knapp */
.call-fab { display: none; }
@media (max-width: 760px) {
  .call-fab { display: flex; position: fixed; right: 16px; bottom: 16px; z-index: 60; background: var(--blue); color: #fff; border-radius: 999px; padding: 14px 20px; font-weight: 700; box-shadow: 0 8px 24px rgba(0,0,0,.25); align-items: center; gap: 8px; }
  .call-fab:hover { color: #fff; }
  .call-fab svg { width: 18px; height: 18px; fill: currentColor; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Tjenester-siden (etter Avada-oppsettet) ---------- */
.tj-head { background: #fff; padding: 60px 0 70px; overflow: hidden; }
.tj-head__grid { display: grid; grid-template-columns: 3fr 2fr; gap: 30px 0; align-items: center; }
.tj-intro { padding-left: 48px; }
.tj-title { font-size: clamp(2rem, 4.2vw, 3.125rem); font-weight: 700; line-height: 1.3; letter-spacing: -.025em; color: #191919; margin: 0; }
.tj-hl { position: relative; display: inline-block; color: var(--blue); }
.hl__ring { position: absolute; left: -3%; top: -8%; width: 106%; height: 150%; overflow: visible; pointer-events: none; }
.hl__ring path { fill: none; stroke: #f9bb48; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: hl-draw 1.6s .4s ease-out forwards; }
.hl__ring path + path { stroke-width: 1.5; opacity: .5; animation-delay: .9s; }
@keyframes hl-draw { to { stroke-dashoffset: 0; } }
.tj-intro { font-size: 18px; line-height: 1.6; letter-spacing: -.015em; color: #686868; margin: 0; }

.tj-img { max-width: 1340px; margin: 0 auto 25px; padding: 0 20px; }
.tj-img__frame { position: relative; width: 100%; aspect-ratio: 1134 / 459; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1134 459' preserveAspectRatio='none'%3E%3Cpath d='M127 0H1016Q1038 0 1038 22V24Q1038 46 1060 46H1112Q1134 46 1134 68V404Q1134 426 1112 426H937Q915 426 915 448V459H0V135Q0 113 22 113H83Q105 113 105 91V22Q105 0 127 0Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1134 459' preserveAspectRatio='none'%3E%3Cpath d='M127 0H1016Q1038 0 1038 22V24Q1038 46 1060 46H1112Q1134 46 1134 68V404Q1134 426 1112 426H937Q915 426 915 448V459H0V135Q0 113 22 113H83Q105 113 105 91V22Q105 0 127 0Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.tj-img__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; display: block; }

.tj-about { padding: 10px 0 40px; }
.tj-label { font-family: var(--font-head); font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--heading); margin: 0; }
.tj-sep { display: block; width: 150px; height: 1px; background: var(--blue); margin: 6px auto 28px; }
.tj-focus { display: grid; grid-template-columns: 1fr 2fr; gap: 40px 30px; align-items: center; margin-top: 88px; }
.tj-focus__badge { text-align: center; }
.tj-focus__badge .emblem { margin: 0 0 20px; }
.tj-focus__name { font-size: 20px; line-height: 1.2; color: var(--text); margin: 0 0 12px; }
.tj-stars { font-size: 14px; color: #686868; margin: 0; }
.tj-stars__icons { color: rgb(249, 187, 72); letter-spacing: 1px; font-size: 15px; }
.tj-stars__icons .half { background: linear-gradient(90deg, rgb(249, 187, 72) 50%, #d8d8d8 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tj-focus__title { font-size: clamp(1.8rem, 3.2vw, 2.625rem); line-height: 1.3; letter-spacing: -.025em; color: #191919; margin-bottom: 24px; }
.tj-focus__text { font-size: 18px; line-height: 1.7; letter-spacing: -.015em; color: #686868; margin: 0; }
.reveal { transition: filter .9s ease, opacity .9s ease; }
.reveal.is-hidden { filter: blur(8px); opacity: .25; }

.marquees { overflow: hidden; margin: 96px 0 60px; padding: 30px 0; }
.marquee { overflow: hidden; padding: 40px 0; white-space: nowrap; font-family: var(--font-head); font-weight: 700; font-size: 22px; line-height: 1.3; letter-spacing: -.025em; margin: 0 -2%; }
.marquee--blue { background: var(--blue); color: #191919; transform: rotate(3deg); }
.marquee--dark { background: var(--heading); color: #d3d3d3; transform: translateY(-10px) rotate(-3deg); }
.marquee__track { display: inline-flex; animation: marquee 30s linear infinite; }
.marquee__track span { padding-right: .3em; }
.marquee__track--rev { animation-direction: reverse; animation-duration: 45s; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.tj-talk { padding: 0 0 64px; }
.tj-talk__title { font-size: clamp(2.2rem, 5vw, 3.75rem); line-height: 1.3; letter-spacing: -.025em; color: #191919; margin-bottom: 32px; }
.tj-talk__line { font-size: 20px; line-height: 1.2; letter-spacing: .3em; color: #686868; margin: 0 0 18px; }
.tj-talk__line a { color: #686868; }
.tj-talk__line a:hover { color: var(--blue); }

@media (max-width: 860px) {
  .tj-head__grid, .tj-focus { grid-template-columns: 1fr; }
  .tj-title { font-size: 1.75rem; }
  .tj-focus { margin-top: 56px; }
  .tj-img__frame { aspect-ratio: 3 / 2; }
  .tj-intro { padding-left: 0; }
  .tj-talk__line { letter-spacing: .12em; font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .hl__ring path { animation: none; stroke-dashoffset: 0; }
  .marquee__track { animation: none; }
  .reveal.is-hidden { filter: none; opacity: 1; }
}

/* ---------- Fagsider (tømrer, elektro, murer, VVS) ---------- */
.fag-img { height: clamp(220px, 26vw, 380px); overflow: hidden; }
.fag-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; }
.fag-about { padding: 74px 0 0; }
.fag-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 40px 44px; align-items: start; margin-top: 26px; }
.fag-grid__img { position: sticky; top: 120px; }
.fag-grid__img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; margin-top: 16px; }
.fag-text { font-size: 18px; line-height: 1.7; letter-spacing: -.015em; color: #686868; }
.fag-text__title { font-size: clamp(1.8rem, 3.2vw, 2.625rem); line-height: 1.3; letter-spacing: -.025em; color: #191919; margin-bottom: 24px; }
.fag-text__lead { font-weight: 600; }
.fag-text h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); color: var(--heading); margin: 1.6em 0 .6em; }
.fag-text ul { padding-left: 1.2em; margin: 0 0 1em; }
.fag-text li { margin-bottom: .35em; }
.fag-text li::marker { color: var(--blue); }
.marquees--single { margin: 96px 0 0; padding: 30px 0 50px; }
.marquee__track--slow { animation-duration: 40s; animation-direction: reverse; }
@media (max-width: 860px) {
  .fag-grid { grid-template-columns: 1fr; }
  .fag-grid__img { max-width: 420px; position: static; }
  .fag-about { padding-top: 50px; }
}
.fag-card { background: var(--bg-warm); border-top: 4px solid var(--blue); border-radius: 0 0 0 18px; padding: 32px 30px; margin-top: 16px; }
.fag-card__title { font-size: 1.35rem; margin-bottom: .8em; }
.fag-card ul { list-style: none; padding: 0; margin: 0 0 24px; }
.fag-card li { position: relative; padding: 0 0 .7em 28px; color: var(--ink); line-height: 1.5; }
.fag-card li::before { content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.fag-text__end { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.5rem); color: var(--heading); margin-top: 1.4em; }

/* ---------- Om oss / Kontakt oss ---------- */
.page-intro { padding: 70px 0 50px; }
.page-intro__inner { max-width: 860px; text-align: center; }
.page-intro__inner .emblem { margin-bottom: 32px; }
.page-intro__title { font-size: clamp(1.8rem, 3vw, 2.125rem); margin-bottom: .3em; }
.page-intro__sub, .page-intro__text { font-size: 20px; line-height: 1.5; color: var(--text); margin: 0; }
.page-intro .sep { margin: 15px auto 35px; }
.page-intro--contact .sep { margin: 50px auto 60px; }
.page-intro__inner > p:not(.page-intro__sub):not(.page-intro__text) { text-align: center; }
.page-intro__reg { margin-top: 35px; color: var(--heading); }
.page-intro__btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.page-intro--contact { padding-bottom: 70px; }
.contact-chips { list-style: none; padding: 0; margin: 0; display: flex; justify-content: center; gap: 14px 40px; flex-wrap: wrap; }
.contact-chips li { display: flex; flex-direction: column; font-size: 18px; color: var(--ink); }
.contact-chips span { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.contact-chips a { font-weight: 600; }
.vcut--soft { background: var(--bg-warm); }
.about-all { background: var(--bg-warm); padding: 10px 0 80px; }
.about-all__title { text-transform: uppercase; margin-top: 30px; }
.about-all__lead { font-size: 17px; max-width: 70ch; }
.about-all__img { margin: 26px 0 40px; border-radius: 0 60px 0 60px; overflow: hidden; aspect-ratio: 16 / 6; }
.about-all__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-all__cols { gap: 40px; align-items: start; }
.dbl-list { list-style: none; padding: 0; margin: 0; font-size: 17px; }
.dbl-list li { position: relative; padding-left: 30px; margin-bottom: 1em; line-height: 1.6; }
.dbl-list li::before { content: "»"; position: absolute; left: 4px; top: -.15em; font-size: 1.4em; font-weight: 700; color: var(--blue); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 14px 0 14px 34px; position: relative; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--heading); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::before { content: "+"; position: absolute; left: 0; top: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; font: 700 16px/22px var(--font); text-align: center; }
.acc details[open] summary::before { content: "–"; background: var(--heading); }
.acc summary:hover { color: var(--blue); }
.acc details p { margin: 0 0 16px 34px; }
@media (max-width: 760px) { .about-all__img { aspect-ratio: 4 / 3; border-radius: 0 30px 0 30px; } }
.fag-card--inline { margin: 32px 0 8px; }
.fag-card--inline ul { columns: 2; column-gap: 28px; }
.fag-card--inline li { break-inside: avoid; }
@media (max-width: 560px) { .fag-card--inline ul { columns: 1; } }
