/* ===== SELVHOSTEDE FONTER (latin, dekker æ ø å) ===== */
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/figtree-400.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/figtree-500.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/figtree-600.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/figtree-700.woff2') format('woff2'); }
@font-face { font-family: 'Archivo Black'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/archivo-black-400.woff2') format('woff2'); }

:root {
  --bg: #1a1a1a;
  --bg-light: #f5f3ef;
  --bg-mid: #2a2a2a;
  --gold: #c99a3b;
  --gold-ink: #8a6519;   /* mørkere gull for tekst på lys bakgrunn (WCAG AA) */
  --gold-light: #d4ab51;
  --text-light: #f5f3ef;
  --text-dark: #1a1a1a;
  --text-mute: #888;
  --border: rgba(255,255,255,0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Figtree', -apple-system, sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

/* ===== SCROLL-REVEAL (subtil, premium – deaktiveres ved «reduser bevegelse» og uten JS) ===== */
@media (prefers-reduced-motion: no-preference) {
  .has-reveal .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
  }
  .has-reveal .reveal.in-view {
    opacity: 1;
    transform: none;
  }
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 56px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold);
  color: var(--text-dark);
  padding: 0.7rem 1.4rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--gold-light); }

.nav-cta-mobile { display: none; }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 0.5rem;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 92vh;
  background: var(--bg);
  color: var(--text-light);
  overflow: hidden;
  padding-top: 88px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/natursteinsmur-lyngdal-lh-drift.jpg');
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,26,26,0.15) 0%, rgba(26,26,26,0.1) 50%, rgba(26,26,26,0.7) 100%);
}

.hero-tagline {
  position: relative;
  z-index: 2;
  margin: 0 auto 1.2rem;
  background: rgba(26,26,26,0.92);
  padding: 0.85rem 1.8rem;
  display: inline-block;
  align-self: center;
}

.hero-tagline h1 {
  color: var(--gold);
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(1.7rem, 5.4vw, 4.8rem);
  letter-spacing: -0.01em;
  line-height: 1.02;
  font-weight: 400;
  margin: 0;
  text-align: center;
}

.hero-phone-line {
  color: var(--gold);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.55);
}
.hero-phone-line:hover { color: var(--gold-light); }

.hero-cta-wrap {
  position: relative;
  z-index: 2;
  margin-bottom: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--gold);
  color: var(--text-dark);
  padding: 1.1rem 2.2rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  font-family: 'Figtree', sans-serif;
  transition: all 0.2s;
}

.hero-cta:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.8rem;
  border: 1.5px solid rgba(245,243,239,0.55);
  color: var(--text-light);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s;
}
.hero-cta-secondary:hover {
  background: var(--text-light);
  color: var(--text-dark);
  border-color: var(--text-light);
}

.hero-ctas {
  display: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--text-dark);
  padding: 1.1rem 2rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-light);
  padding: 1.1rem 2rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  border: 2px solid var(--text-light);
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: var(--text-light);
  color: var(--text-dark);
}

/* ===== KONTAKTBÅND ===== */
.contact-band {
  background: var(--gold);
  color: var(--text-dark);
  padding: 1.2rem 2rem;
  position: relative;
  z-index: 5;
}

.contact-band-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-band a {
  color: var(--text-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-band a:hover { text-decoration: underline; }

/* ===== SECTIONS ===== */
section {
  padding: 6rem 2rem;
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 2.5rem;
  max-width: 1100px;
}

.section-tag {
  display: inline-block;
  color: var(--gold-ink);            /* mørkere gull for AA-kontrast på lys bakgrunn */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}
/* Mørke seksjoner: behold lyst gull (mørk-gull ville drukne på svart) */
#om-oss .section-tag,
#omtaler .section-tag,
#befaring .section-tag { color: var(--gold); }

.section-header h2 {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-size: clamp(1.7rem, 3.4vw, 2.9rem);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.15rem;
  color: #555;
  max-width: 920px;
}

/* ===== TJENESTER ===== */
#tjenester { background: var(--bg-light); }

.tjenester-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: 3rem;
  align-items: start;      /* bildet ligger rett til høyre for boksene */
}
.tjenester-banner {
  overflow: hidden;
}
.tjenester-banner img {
  display: block;
  width: 100%;
  height: auto;            /* full høyde – hele bildet vises, ikke beskåret */
}

.services-accordion {
  max-width: 920px;
}
.acc-item {
  background: white;
  border-left: 4px solid var(--gold);
  margin-bottom: 1rem;
}
.acc-header {
  width: 100%;
  background: none;
  border: none;
  padding: 1.4rem 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: background 0.2s;
}
.acc-header:hover { background: #faf8f4; }
.acc-title {
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-dark);
}
.acc-icon {
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--gold-ink);
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.acc-item.open .acc-icon { transform: rotate(45deg); }
.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.acc-item.open .acc-panel { max-height: 500px; }
.acc-panel p {
  margin: 0;
  padding: 0 1.8rem 1.6rem;
  color: #555;
  font-size: 1.02rem;
  line-height: 1.6;
}

/* ===== OM OSS ===== */
#om-oss {
  background: var(--bg);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

#om-oss .section-header h2 { color: var(--text-light); }
#om-oss .section-header p { color: rgba(245,243,239,0.75); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  color: rgba(245,243,239,0.85);
}
.about-text > p:first-child {
  font-size: 1.3rem;
  line-height: 1.55;
  color: rgba(245,243,239,0.95);
  margin-bottom: 1.6rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.stat-num {
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--gold);
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(245,243,239,0.65);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
}

.about-image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--gold);
  transform: translate(15px, 15px);
  z-index: -1;
}

.about-more {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
}
.about-more.open { max-height: 3000px; }

/* VG-stil: stiplet linje som avslører tekst ved klikk */
.vg-reveal {
  border-bottom: 1px dotted var(--gold);
  cursor: pointer;
  transition: color 0.2s;
}
.vg-reveal:hover { color: var(--gold); }
/* Liten popup-boks (VG-stil faktaboks i miniatyr) */
.vg-pop { position: relative; }
.vg-pop-box {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 30;
  width: max-content;
  max-width: min(280px, 78vw);
  background: var(--bg-mid);
  color: var(--text-light);
  border: 1px solid var(--gold);
  padding: 0.8rem 2rem 0.8rem 1rem;
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.5;
  box-shadow: 0 14px 34px rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.24s cubic-bezier(0.22,1,0.36,1), visibility 0s linear 0.24s;
}
.vg-pop-box.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.22s ease, transform 0.24s cubic-bezier(0.22,1,0.36,1), visibility 0s;
}
.vg-pop-box::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 22px;
  border: 7px solid transparent;
  border-bottom-color: var(--gold);
}
.vg-pop-close {
  position: absolute;
  top: 3px;
  right: 5px;
  background: none;
  border: none;
  color: rgba(245,243,239,0.55);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}
.vg-pop-close:hover { color: var(--gold); }

/* Linjeskift som kun vises på mobil */
.br-mobile { display: none; }
.read-more-btn {
  background: none;
  border: none;
  color: var(--gold);
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.6rem 0 0;
  margin-top: 0.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.read-more-btn::after { content: '↓'; transition: transform 0.3s ease; }
.read-more-btn.open::after { transform: rotate(180deg); }

/* Facebook-reel nederst i Om oss */
.about-reel {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.about-reel-frame {
  width: 360px;
  max-width: 100%;
  aspect-ratio: 9 / 16;
  background: #000;
  overflow: hidden;
}
.about-reel-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
}
.about-reel-link {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}
.about-reel-link:hover { color: var(--gold-light); text-decoration: underline; }

/* ===== ANSATTE ===== */
#ansatte { background: var(--bg-light); }

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.team-card {
  background: white;
  overflow: hidden;
}

.team-image {
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.4s;
}

.team-card:hover .team-image img { transform: scale(1.03); }

.team-card:nth-child(2) .team-image img {
  object-position: 80% 20%;
}

.team-info {
  padding: 2rem 2rem 2.5rem;
  border-left: 4px solid var(--gold);
}

.team-info .team-name {
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}

.team-info .team-role {
  color: var(--gold-ink);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.team-info p {
  color: #555;
  font-size: 0.98rem;
}

/* ===== PROSJEKTER ===== */
#prosjekter { background: var(--bg-light); }

.projects-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  height: 600px;
}

.project-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.project-card:nth-child(1) { grid-row: 1 / 3; }

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.project-card:hover img { transform: scale(1.05); }

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: var(--text-light);
}

.project-card:nth-child(1) .project-overlay { padding: 2.5rem; }

.project-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.project-card:nth-child(1) h3 { font-size: 1.8rem; }

.project-card p {
  color: rgba(245,243,239,0.85);
  font-size: 0.95rem;
}

/* ===== OMTALER ===== */
#omtaler { background: var(--bg); color: var(--text-light); }
#omtaler .section-header h2 { color: var(--text-light); }
.testimonials-slider { max-width: 760px; margin: 0 auto; }
.testi-viewport { overflow: hidden; }
.testi-track { display: flex; transition: transform 0.4s ease; align-items: stretch; }
.testimonial {
  min-width: 100%;
  background: var(--bg-mid);
  border-left: 4px solid var(--gold);
  padding: 2.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.testi-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1.8rem;
}
.testi-btn {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--gold);
  background: none;
  color: var(--gold);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.testi-btn:hover { background: var(--gold); color: var(--text-dark); }
.testi-dots { display: flex; gap: 8px; }
.testi-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(245,243,239,0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.testi-dot.active { background: var(--gold); }
.testimonial-quote {
  color: var(--text-light);
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: -0.01em;
  margin-bottom: 1.6rem;
}
.testimonial-author { display: flex; flex-direction: column; gap: 0.15rem; }
.testimonial-name {
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  color: var(--text-light);
  font-size: 1.05rem;
}
.testimonial-meta { font-size: 0.8rem; color: rgba(245,243,239,0.5); }

/* ===== BEFARING ===== */
#befaring {
  background: var(--bg-mid);
  color: var(--text-light);
}

#befaring .section-header h2 { color: var(--text-light); }
#befaring .section-header p { color: rgba(245,243,239,0.75); }

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.booking-info h3 {
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.booking-features {
  list-style: none;
  padding: 0;
}

.booking-features li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.booking-features li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.booking-pl-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 0.85rem 1.6rem;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.booking-pl-btn:hover { background: var(--gold); color: var(--text-dark); }

.booking-form {
  background: white;
  color: var(--text-dark);
  padding: 2.5rem;
}

.booking-form h3 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.booking-form .form-intro {
  color: #666;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid #ddd;
  font-family: inherit;
  font-size: 0.95rem;
  background: white;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  background: var(--bg);
  color: var(--text-light);
  border: none;
  padding: 1.1rem 2rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
  font-family: inherit;
}

.form-submit:hover { background: var(--gold); color: var(--text-dark); }

.form-note {
  font-size: 0.85rem;
  color: #888;
  margin-top: 1rem;
  text-align: center;
}

/* ===== FOOTER ===== */
footer {
  background: var(--bg);
  color: rgba(245,243,239,0.6);
  padding: 4rem 2rem 2rem;
  border-top: 4px solid var(--gold);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-col ul { list-style: none; padding: 0; }

.footer-col li { margin-bottom: 0.6rem; }

.footer-col a {
  color: rgba(245,243,239,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--gold); }

.social-icons {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(245,243,239,0.08);
  border-radius: 50%;
  transition: background 0.2s, transform 0.2s;
}

.social-icons a:hover {
  background: var(--gold);
  transform: translateY(-2px);
}

.social-icons svg {
  width: 18px;
  height: 18px;
  fill: var(--text-light);
  transition: fill 0.2s;
}

.social-icons a:hover svg { fill: var(--text-dark); }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}
.footer-bottom a {
  color: rgba(245,243,239,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom a:hover { color: var(--gold); text-decoration: underline; }

/* Footer: telefonnumre + kreditt */
.footer-contact-list { list-style: none; padding: 0; }
.footer-phone-item { margin-bottom: 1rem; }
.footer-phone-name {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(245,243,239,0.45);
  margin-bottom: 0.2rem;
}
.footer-col a.footer-phone-num {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a.footer-phone-num:hover { color: var(--gold-light); }
.footer-phone-num svg { width: 15px; height: 15px; fill: currentColor; flex-shrink: 0; }
.footer-credit {
  max-width: 1280px;
  margin: 1.5rem auto 0;
  font-size: 0.8rem;
  color: rgba(245,243,239,0.4);
  text-align: center;
}
.footer-credit a { color: rgba(245,243,239,0.72); text-decoration: none; }
.footer-credit a:hover { color: var(--gold); text-decoration: underline; }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .nav { padding: 0.8rem 1.2rem; }
  .logo img { height: 42px; }
  .nav-links, .nav-cta { display: none; }
  .mobile-toggle { display: block; }
  
  section { padding: 4rem 1.2rem; }
  
  .hero { padding-top: 70px; min-height: 80vh; }
  .hero-tagline {
    margin-bottom: 1.5rem;
    padding: 1rem 1.4rem;
    max-width: calc(100% - 2rem);
  }
  .hero-tagline h1 { font-size: 1.4rem; }
  .hero-cta-wrap { margin-bottom: 3rem; padding: 0 1.2rem; }
  .hero-cta, .hero-cta-secondary { width: 100%; justify-content: center; }
  
  .team-grid { grid-template-columns: 1fr; gap: 2rem; }

  .tjenester-layout { grid-template-columns: 1fr; gap: 2rem; }

  .br-mobile { display: inline; }

  .contact-band-inner {
    flex-direction: column;
    gap: 0.8rem;
    font-size: 0.9rem;
  }
  
  .section-header h2 { font-size: 2.15rem; }
  
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-stats { gap: 1rem; }
  .stat-num { font-size: 2rem; }
  
  .projects-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 250px);
    height: auto;
  }
  .project-card:nth-child(1) { grid-row: auto; }
  
  .booking-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .booking-form { padding: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Mobiloptimalisering */
  .section-tag { font-size: 1.1rem; letter-spacing: 0.12em; margin-bottom: 0.9rem; }
  body { font-size: 17px; }
  .section-header p { font-size: 1.2rem; }
  .service-card p, .about-text p, .booking-info li, .modal-desc { font-size: 1.08rem; }
  .form-group input, .form-group select, .form-group textarea { font-size: 16px; }
  .mobile-toggle { font-size: 1.7rem; padding: 0.3rem 0.5rem; }
  .nav-cta-mobile { display: block; }
  .nav-cta-mobile a { color: var(--gold); font-weight: 700; }
}

/* ===== TEAM: PROSJEKTLEDERE ===== */
.team-leaders {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}
.team-card--leader {
  border: 2px solid var(--gold);
  position: relative;
}
.team-card--leader::after {
  content: 'Prosjektleder';
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gold);
  color: var(--text-dark);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
}
.team-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--gold-ink);
  text-decoration: none;
  border: 1.5px solid var(--gold-ink);
  padding: 0.5rem 1rem;
  transition: background 0.2s, color 0.2s;
}
.team-phone:hover {
  background: var(--gold);
  color: var(--text-dark);
}
.team-contact {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.team-contact .team-phone { margin-top: 0; }
.team-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--gold-ink);
  color: var(--gold-ink);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.team-email:hover { background: var(--gold); color: var(--text-dark); }
.team-email svg { width: 18px; height: 18px; fill: currentColor; }
.team-grid--crew {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}
.team-card--crew {
  flex: 0 1 280px;
}
.team-card--crew .team-image {
  aspect-ratio: 1/1;
}
.team-card--crew .team-info {
  padding: 1.2rem 1.2rem 1.5rem;
}
.team-card--crew .team-name {
  font-size: 1.1rem;
}

/* ===== PROSJEKTER: KATEGORIER + GRID ===== */
.project-filters {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.filter-btn {
  background: transparent;
  border: 1.5px solid #ccc;
  padding: 0.5rem 1.2rem;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-dark);
}
.filter-btn:hover { border-color: var(--bg); background: var(--bg); color: var(--text-light); }
.filter-btn.active { background: var(--gold); border-color: var(--gold); color: var(--text-dark); font-weight: 700; }
.projects-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.project-card-new {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: #2a2a2a;
}
.project-thumb {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #222 0%, #3a3a3a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  transition: transform 0.4s ease;
}
.project-card-new:hover .project-thumb { transform: scale(1.06); }
.project-card-new { cursor: pointer; }
.project-card-new:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.project-card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(26,26,26,0.93));
  padding: 2.5rem 1.2rem 1.2rem;
  transform: translateY(30%);
  transition: transform 0.3s ease;
}
.project-card-new:hover .project-card-info { transform: translateY(0); }
.project-cat-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.35rem;
}
.project-card-info h3 {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}
.project-card-info p {
  color: rgba(245,243,239,0.72);
  font-size: 0.8rem;
  line-height: 1.4;
}
.project-arrow {
  position: absolute;
  top: 0.9rem; right: 0.9rem;
  background: var(--gold);
  color: var(--text-dark);
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.2s;
}
.project-card-new:hover .project-arrow { opacity: 1; }
.hidden-project { display: none !important; }

/* ===== PROSJEKT MODAL ===== */
.proj-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(4px);
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 5rem 1rem 3rem;
}
.proj-modal-overlay.open { display: flex; }
.proj-modal {
  background: var(--bg-light);
  max-width: 820px;
  width: 100%;
  position: relative;
  animation: mIn 0.28s ease;
}
@keyframes mIn { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
.modal-close-btn {
  position: absolute;
  top: 0.9rem; right: 0.9rem;
  background: rgba(26,26,26,0.85);
  color: white;
  border: none;
  width: 46px; height: 46px;
  cursor: pointer;
  font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
  transition: background 0.2s;
}
.modal-close-btn:hover { background: var(--gold); color: var(--text-dark); }
.modal-hero-img {
  height: 280px;
  background: linear-gradient(135deg, #222 0%, #3a3a3a 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 4.5rem;
}
.modal-content {
  padding: 2.2rem 2.5rem;
}
.modal-cat-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.modal-content h2 {
  font-family: 'Figtree', sans-serif;
  font-size: 1.9rem;
  margin-bottom: 1rem;
  line-height: 1.1;
}
.modal-desc { color: #444; line-height: 1.75; margin-bottom: 2rem; }
.modal-meta {
  display: flex;
  gap: 2.5rem;
  padding: 1.4rem 1.8rem;
  background: var(--bg);
  color: var(--text-light);
  margin-bottom: 0;
}
.meta-item { display: flex; flex-direction: column; gap: 0.3rem; }
.meta-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(245,243,239,0.45); }
.meta-val { font-weight: 600; font-size: 0.95rem; }
.modal-cta-row {
  padding: 1.8rem 2.5rem;
  border-top: 1px solid #e5e5e5;
}
.modal-cta-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--text-dark);
  text-decoration: none;
  padding: 0.85rem 2rem;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.2s;
}
.modal-cta-btn:hover { background: var(--gold-light); }

@media (max-width: 900px) {
  .team-grid--crew { grid-template-columns: repeat(2, 1fr); }
  .projects-grid-new { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .team-leaders { grid-template-columns: 1fr; }
  .projects-grid-new { grid-template-columns: 1fr; }
  .modal-meta { flex-wrap: wrap; gap: 1.2rem; }
  .modal-content { padding: 1.5rem; }
  .modal-cta-row { padding: 1.5rem; }
}


/* ===== PROSJEKT MODAL: BILDEGALLERI ===== */
.modal-gallery {
  position: relative;
  height: 440px;
  overflow: hidden;
  background: #111;
}
.gallery-slides {
  display: flex;
  height: 100%;
  transition: transform 0.35s ease;
}
.gallery-slide {
  flex: 0 0 100%;
  min-width: 0;         /* hindrer at bildet tvinger sliden bredere enn rammen (fiks: zoom på mobil) */
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  background: #111;
  overflow: hidden;
}
.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;      /* hele bildet vises – både stående og liggende – uten beskjæring */
  object-position: center center;
}
.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(26,26,26,0.65);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}
.gallery-btn:hover { background: var(--gold); color: var(--text-dark); }
.gallery-btn.prev { left: 0.8rem; }
.gallery-btn.next { right: 0.8rem; }
.gallery-dots {
  position: absolute;
  bottom: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.gallery-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.2s;
}
.gallery-dot.active { background: var(--gold); }
.gallery-counter {
  position: absolute;
  top: 0.9rem;
  left: 1rem;
  background: rgba(26,26,26,0.55);
  color: white;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  letter-spacing: 0.05em;
  z-index: 2;
}


/* Kontakt prosjektleder-knapp i kontaktbånd */
.contact-band-pl-btn {
  background: var(--bg);
  color: var(--text-light) !important;
  padding: 0.4rem 1.1rem;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  border: 1.5px solid var(--text-light);
}
.contact-band-pl-btn:hover { background: var(--text-light) !important; color: var(--bg) !important; }

/* Mobil: knapper som er definert sent i stilarket (overstyrer basereglene over) */
@media (max-width: 768px) {
  .filter-btn { padding: 0.7rem 1.3rem; font-size: 0.95rem; }
  .contact-band-pl-btn { padding: 0.65rem 1.2rem; font-size: 0.9rem; }
}


/* ===================================================================
   UNDERSIDER (flersides-struktur) – additivt, gjenbruker fargevariabler
   =================================================================== */
.page-hero {
  background: var(--bg);
  color: var(--text-light);
  text-align: center;
  padding: 9rem 2rem 4rem;
}
.page-hero .section-tag { color: var(--gold-light); }
.page-hero h1 {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05;
  margin: 0.6rem auto 1rem;
  max-width: 16ch;
}
.page-hero p {
  max-width: 620px;
  margin: 0 auto;
  color: rgba(245, 243, 239, 0.82);
}

.breadcrumbs {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.2rem 2rem 0;
  font-size: 0.9rem;
  color: var(--text-mute);
}
.breadcrumbs a { color: var(--gold-ink); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--text-dark); }

/* Brødtekst på innholdssider */
.prose { max-width: 720px; }
.prose p { margin-bottom: 1.1rem; }
.prose h2 {
  font-family: 'Archivo Black', sans-serif; font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 2.4rem 0 1rem;
}
.prose ul { margin: 0 0 1.4rem 1.2rem; }
.prose li { margin-bottom: 0.5rem; }

/* Kort-rutenett for tjeneste-oversikt */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.service-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text-dark);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
.service-card-img { height: 190px; overflow: hidden; background: #eceae5; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.45s ease; }
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-body { padding: 1.7rem; display: flex; flex-direction: column; flex: 1; }
.service-card h2, .service-card h3 {
  font-family: 'Archivo Black', sans-serif; font-weight: 400;
  font-size: 1.2rem; margin-bottom: 0.5rem;
}
.service-card p { color: #555; font-size: 0.98rem; flex: 1; }
.service-card .card-arrow { color: var(--gold-ink); font-weight: 700; margin-top: 0.9rem; }

/* CTA-stripe nederst på undersider */
.page-cta { text-align: center; background: var(--bg-light); }
.page-cta .page-cta-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--text-dark);
  font-weight: 700;
  padding: 1rem 2.2rem;
  border-radius: 10px;
  text-decoration: none;
  margin-top: 1rem;
  transition: background 0.2s ease;
}
.page-cta .page-cta-btn:hover { background: var(--gold-light); }

/* "Les mer / se alle"-teaserlenker (forside og undersider) */
.acc-morelink {
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--gold-ink);
  font-weight: 700;
  text-decoration: none;
}
.acc-morelink:hover { text-decoration: underline; }

/* Kontaktlenker i befaring-info (mørk bakgrunn) – gull i stedet for default blå */
#befaring .booking-info a { color: var(--gold-light); text-decoration: none; }
#befaring .booking-info a:hover { text-decoration: underline; }

/* Prosjekt-teaser-kort som lenker (forsiden) */
a.project-card-new { text-decoration: none; color: inherit; display: block; }

/* Teaser-handlinger på forsiden (tekstlenke + knapp side om side) */
.teaser-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin-top: 0.9rem; }
.teaser-actions .acc-morelink { margin-top: 0; }
.teaser-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--text-dark);
  font-weight: 700;
  padding: 0.6rem 1.3rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease;
}
.teaser-btn:hover { background: var(--gold-light); }

/* ===== Banner-bilde øverst på tjeneste-sider ===== */
.service-banner {
  width: 100%;
  height: clamp(230px, 40vw, 420px);
  object-fit: cover;
  border-radius: 14px;
  display: block;
  margin-bottom: 2.6rem;
}

/* ===== "5 grep"-boks (natursteinmur) – mørk seksjon som står seg ut ===== */
.stein-grep { background: var(--bg); color: var(--text-light); }
.stein-grep-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: center;
}
.stein-grep-media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 14px; display: block;
}
.stein-grep-body h2 {
  font-family: 'Archivo Black', sans-serif; font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 1.6rem;
}
.grep-list { list-style: none; margin: 0; padding: 0; }
.grep-list li { display: flex; gap: 1rem; padding: 0.9rem 0; border-top: 1px solid var(--border); }
.grep-list li:first-child { border-top: none; padding-top: 0; }
.grep-num {
  flex: 0 0 auto; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--gold); color: var(--text-dark);
  font-family: 'Archivo Black', sans-serif; font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center;
}
.grep-list strong { display: block; color: var(--text-light); font-size: 1.05rem; margin-bottom: 0.15rem; }
.grep-list p { color: rgba(245,243,239,0.75); font-size: 0.97rem; margin: 0; line-height: 1.5; }

@media (max-width: 760px) {
  .stein-grep-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ===== Om oss: eierbilde med bildetekst + reel ===== */
.om-figure { max-width: 460px; margin: 0.5rem auto 3.5rem; }
.om-figure img { width: 100%; border-radius: 14px; display: block; }
.om-figure figcaption {
  margin-top: 0.9rem; font-size: 0.92rem; color: var(--text-mute);
  text-align: center; font-style: italic; line-height: 1.5;
}
.om-reel h2 {
  font-family: 'Archivo Black', sans-serif; font-weight: 400;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem); text-align: center; margin-bottom: 0.5rem;
}
.om-reel .about-reel { margin-top: 1.5rem; }

/* Lenker til referanseprosjekter på tjeneste-sider */
.prosjekt-lenker { margin-top: 1.8rem; font-size: 1rem; }
.prosjekt-lenker a { color: var(--gold-ink); font-weight: 700; text-decoration: none; }
.prosjekt-lenker a:hover { text-decoration: underline; }

/* ===== Preview-kort til referanseprosjekter (tjeneste-sider) ===== */
.prosjekt-previews-label { display: block; font-weight: 700; margin: 2.2rem 0 1rem; }
.prosjekt-previews { display: grid; gap: 1rem; grid-template-columns: 1fr; max-width: 640px; }
.prosjekt-preview {
  display: flex; align-items: center; gap: 1rem;
  background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: 12px;
  overflow: hidden; text-decoration: none; color: var(--text-dark);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.prosjekt-preview:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,0.09); }
.prosjekt-preview img { width: 116px; height: 104px; object-fit: cover; flex: 0 0 auto; display: block; }
.prosjekt-preview-body { display: flex; flex-direction: column; justify-content: center; gap: 0.12rem; padding: 0.7rem 0.5rem 0.7rem 0; min-width: 0; }
.prosjekt-preview-tag { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-ink); font-weight: 700; }
.prosjekt-preview strong { font-size: 1.02rem; line-height: 1.2; }
.prosjekt-preview-meta { font-size: 0.88rem; color: var(--text-mute); white-space: nowrap; }
.prosjekt-preview-arrow { margin-left: auto; padding: 0 1.1rem; color: var(--gold-ink); font-weight: 700; font-size: 1.1rem; }

/* Hindre horisontal scroll fra dekorative absolutt-elementer (Mushom-popup) */
body { overflow-x: clip; }
@media (max-width: 640px) {
  /* På smal skjerm: fast «toast» nederst, alltid innenfor skjermen */
  .vg-pop-box {
    position: fixed;
    left: 1rem; right: 1rem; bottom: 1.25rem; top: auto;
    width: auto; max-width: none;
    transform: translateY(10px);
  }
  .vg-pop-box.open { transform: translateY(0); }
  .vg-pop-box::before { display: none; }
}
