/* Rosenborg Malerteam – demo 2026. Figtree + brand-rosa #CB1B51 + regnbue-penselstrøk fra logoen. */

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/assets/fonts/figtree-var-latin.woff2") format("woff2");
}

:root {
  --rose: #CB1B51;
  --rose-dark: #94133B;
  --rose-tint: #FBE9EF;
  --ink: #221B1E;
  --ink-soft: #56494E;
  --paper: #FFFFFF;
  --warm: #F7F4F2;
  --line: #E9E2DF;
  --stroke-gradient: linear-gradient(90deg, #CB1B51 0%, #E85A2A 16%, #F0A31C 32%, #EFCB2F 46%, #4FA146 63%, #2C79B8 81%, #7D3F98 100%);
  --shadow-card: 0 2px 6px rgba(34, 27, 30, 0.05), 0 14px 34px rgba(34, 27, 30, 0.08);
  --radius: 14px;
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: "Figtree", "Segoe UI", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose); text-decoration: none; }
a:hover { color: var(--rose-dark); }
p + p { margin-top: 1em; }
:focus-visible { outline: 2.5px solid var(--rose); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 1200px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 32px); }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { left: 8px; color: #fff; }

/* Signatur: regnbue-penselstrøket fra logoen */
.brand-stroke { height: 5px; background: var(--stroke-gradient); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.site-logo, .header-actions { position: relative; z-index: 99; }
.site-logo { flex-shrink: 0; display: flex; align-items: center; }
.site-logo img { width: 104px; height: auto; }

.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 2px; }
.site-nav a {
  display: block; padding: 9px 11px; color: var(--ink);
  font-weight: 600; font-size: 0.94rem; border-radius: 8px; white-space: nowrap;
}
.site-nav a:hover { color: var(--rose); background: var(--rose-tint); }
.site-nav li.is-active > a { color: var(--rose); }
.sub-toggle {
  border: 0; background: none; cursor: pointer; color: var(--ink-soft);
  padding: 4px; margin-left: -6px; border-radius: 6px; line-height: 0;
}
.has-sub { position: relative; display: flex; align-items: center; }
.sub-menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-card); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  flex-direction: column; gap: 0; display: flex;
}
.sub-menu li { width: 100%; }
.sub-menu a { padding: 9px 12px; border-radius: 8px; font-weight: 500; white-space: normal; }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu, .has-sub.open .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}

.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none; border: 0; background: none; cursor: pointer; padding: 10px;
  flex-direction: column; gap: 5px; border-radius: 8px;
}
.nav-toggle-bar { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform 0.25s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Knapper ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 10px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 0.97rem; line-height: 1.2;
  cursor: pointer; transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--rose); color: #fff; }
.btn-primary:hover { background: var(--rose-dark); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.55); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.24); color: #fff; }
.btn-secondary { background: var(--rose-tint); color: var(--rose); }
.btn-secondary:hover { background: #F6D8E2; color: var(--rose-dark); }
.btn-light { background: #fff; color: var(--rose); }
.btn-light:hover { color: var(--rose-dark); background: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.btn-outline-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, 0.1); }
.btn-phone { background: var(--rose); color: #fff; padding: 10px 18px; }
.btn-phone:hover { background: var(--rose-dark); color: #fff; }

/* ---------- Hero (forside) ---------- */
.hero { position: relative; display: flex; align-items: flex-end; height: min(calc(100svh - var(--header-h) - 5px), 780px); min-height: 560px; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(76deg, rgba(23, 13, 17, 0.82) 0%, rgba(23, 13, 17, 0.55) 42%, rgba(23, 13, 17, 0.12) 68%, rgba(23, 13, 17, 0.05) 100%),
              linear-gradient(0deg, rgba(23, 13, 17, 0.55) 0%, rgba(23, 13, 17, 0) 36%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-block: clamp(40px, 6vw, 72px); color: #fff; }
.hero-eyebrow { font-weight: 700; font-size: 1rem; letter-spacing: 0.01em; color: #F6CEDA; margin-bottom: 14px; }
.hero h1 {
  font-size: clamp(2.35rem, 5.3vw, 3.9rem); line-height: 1.06; font-weight: 800;
  letter-spacing: -0.015em; max-width: 13em; margin-bottom: 20px; text-wrap: balance;
}
.painted { position: relative; white-space: nowrap; }
.painted::after {
  content: ""; position: absolute; left: -0.06em; right: -0.06em; bottom: 0.01em; height: 0.13em;
  background: var(--stroke-gradient); border-radius: 99px; transform: rotate(-0.6deg); z-index: -1;
  opacity: 0.96;
}
.painted { z-index: 0; }
.hero-lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 34em; color: rgba(255, 255, 255, 0.93); margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.hero-chips li {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.13); border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px); border-radius: 999px; padding: 7px 15px;
  font-size: 0.88rem; font-weight: 600; color: #fff;
}
.hero-chips svg { flex-shrink: 0; }

/* ---------- Seksjoner ---------- */
.section { padding-block: clamp(56px, 9vw, 96px); }
.section-warm { background: var(--warm); }
.section-head { max-width: 660px; margin-bottom: clamp(30px, 5vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: block; color: var(--rose); font-weight: 700; font-size: 0.92rem; margin-bottom: 10px; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.12; font-weight: 800; letter-spacing: -0.01em; text-wrap: balance; }
.section-head p { margin-top: 14px; color: var(--ink-soft); font-size: 1.08rem; }

/* Tjenestekort */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 18px; }
@media (min-width: 1100px) { .service-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; } .service-card { padding: 24px 18px 22px; } }
.service-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px 24px; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: #DDB4C2; }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--rose-tint); color: var(--rose);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.service-card h3 { font-size: 1.13rem; font-weight: 700; line-height: 1.25; margin-bottom: 8px; }
.service-card p { font-size: 0.94rem; color: var(--ink-soft); margin-bottom: 14px; }
.service-link { font-weight: 700; font-size: 0.93rem; }
.service-link::after { content: " →"; }
.service-card > a::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }

/* Befaring / skjema */
.befaring-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.steps { list-style: none; counter-reset: steg; display: grid; gap: 18px; margin-top: 28px; }
.steps li { counter-increment: steg; display: flex; gap: 16px; align-items: flex-start; }
.steps li::before {
  content: counter(steg);
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--rose); color: #fff; font-weight: 800; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.steps h3 { font-size: 1.06rem; font-weight: 700; margin-bottom: 3px; }
.steps p { font-size: 0.96rem; color: var(--ink-soft); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: clamp(24px, 3.5vw, 36px); }
.form-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }
.form-card > p { font-size: 0.94rem; color: var(--ink-soft); margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 0.98rem;
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--rose); box-shadow: 0 0 0 3.5px rgba(203, 27, 81, 0.14);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 14px; }
.form-note a { font-weight: 600; }
.form-card .btn { width: 100%; }

/* Privat / Næring */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.photo-card { position: relative; border-radius: var(--radius); overflow: hidden; display: flex; align-items: flex-end; min-height: 420px; color: #fff; }
.photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.photo-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(8deg, rgba(23, 13, 17, 0.78) 0%, rgba(23, 13, 17, 0.32) 46%, rgba(23, 13, 17, 0.06) 70%);
}
.photo-card:hover img { transform: scale(1.035); }
.photo-card-body { position: relative; z-index: 2; padding: clamp(22px, 3.5vw, 34px); }
.photo-card h3 { font-size: 1.55rem; font-weight: 800; margin-bottom: 8px; color: #fff; }
.photo-card p { color: rgba(255, 255, 255, 0.92); font-size: 0.99rem; max-width: 30em; margin-bottom: 16px; }
.photo-card .faux-link { font-weight: 700; color: #fff; }
.photo-card .faux-link::after { content: " →"; }
.photo-card > a::before { content: ""; position: absolute; inset: 0; z-index: 3; }

/* Referansebånd (mørkt) */
.ref-band { background: #251418; color: #fff; }
.ref-band .eyebrow { color: #F09B1C; }
.ref-band h2 { color: #fff; }
.ref-band .section-head p { color: rgba(255, 255, 255, 0.78); }
.ref-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-bottom: 36px; }
.ref-stat { border-left: 3px solid var(--rose); padding-left: 20px; }
.ref-stat .num { font-size: clamp(2.4rem, 4.5vw, 3.4rem); font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.ref-stat .num span { font-size: 0.42em; font-weight: 700; letter-spacing: 0; margin-left: 0.4em; }
.ref-stat .name { font-weight: 700; margin-top: 8px; }
.ref-stat .meta { color: rgba(255, 255, 255, 0.66); font-size: 0.9rem; }
.ref-more { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.ref-more p { color: rgba(255, 255, 255, 0.78); font-size: 0.97rem; }

/* Video */
.video-frame { position: relative; max-width: 920px; margin-inline: auto; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); background: #000; }
.video-frame img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play {
  position: absolute; inset: 0; width: 100%; border: 0; background: linear-gradient(0deg, rgba(23, 13, 17, 0.45), rgba(23, 13, 17, 0.08));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  cursor: pointer; color: #fff; font: inherit; font-weight: 700; font-size: 1.02rem;
}
.video-play .play-dot {
  width: 76px; height: 76px; border-radius: 50%; background: var(--rose);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(203, 27, 81, 0.45); transition: transform 0.2s, background 0.2s;
}
.video-play:hover .play-dot { transform: scale(1.08); background: var(--rose-dark); }

/* Sertifiseringer + partnere */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); gap: 16px; margin-bottom: clamp(36px, 6vw, 56px); }
.cert-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 18px 16px; }
.cert-card .cert-check { color: var(--rose); margin-bottom: 10px; }
.cert-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 3px; }
.cert-card p { font-size: 0.87rem; color: var(--ink-soft); }
.partner-row { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center; gap: clamp(14px, 3vw, 28px); }
.partner-row img { height: 42px; width: auto; }
.partner-row .partner-hg img { height: 38px; }
.partner-row a {
  display: inline-flex; align-items: center; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; padding: 16px 28px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.partner-row a:hover { border-color: #DDB4C2; box-shadow: var(--shadow-card); }

/* CTA-bånd */
.cta-band { background: linear-gradient(115deg, var(--rose) 0%, var(--rose-dark) 100%); color: #fff; padding-block: clamp(44px, 7vw, 72px); }
.cta-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; }
.cta-band h2 { color: #fff; font-size: clamp(1.55rem, 2.8vw, 2.1rem); margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, 0.92); max-width: 34em; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Undersider ---------- */
.page-hero { background: var(--warm); padding-block: clamp(44px, 7vw, 80px); }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.page-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.1rem); line-height: 1.08; font-weight: 800; letter-spacing: -0.015em; margin-bottom: 16px; text-wrap: balance; }
.page-hero .lede { font-size: clamp(1.05rem, 1.5vw, 1.18rem); color: var(--ink-soft); max-width: 36em; }
.page-hero .hero-actions { margin: 26px 0 0; }
.page-hero-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5 / 3.4; }

.prose { max-width: 720px; }
.prose h2 { font-size: 1.5rem; margin: 1.6em 0 0.5em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0.7em 0 0.9em 1.2em; }
.prose li { margin-bottom: 0.45em; }
.content-grid { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.aside-card { background: var(--warm); border-radius: var(--radius); padding: 26px; position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 10px; }
.aside-card ul { list-style: none; display: grid; gap: 8px; margin-bottom: 4px; }
.aside-card li { display: flex; gap: 9px; align-items: flex-start; font-size: 0.95rem; }
.aside-card li svg { flex-shrink: 0; margin-top: 5px; color: var(--rose); }
.aside-card .btn { width: 100%; margin-top: 14px; }
.aside-card .aside-tel { display: block; text-align: center; margin-top: 12px; font-weight: 700; }

/* Referanser-side */
.refcard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(285px, 1fr)); gap: 22px; }
.ref-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.ref-card img { aspect-ratio: 6 / 4.5; width: 100%; object-fit: cover; }
.ref-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ref-card h3 { font-size: 1.12rem; font-weight: 700; }
.ref-card .facts { color: var(--rose); font-weight: 700; font-size: 0.92rem; }
.ref-card p.desc { font-size: 0.93rem; color: var(--ink-soft); }
.ref-card .meta { margin-top: auto; padding-top: 8px; font-size: 0.86rem; color: var(--ink-soft); }

.svc-noimg { aspect-ratio: 6 / 4.5; background: linear-gradient(135deg, var(--rose-tint) 0%, #FDF5F8 55%, #F6E3EA 100%); display: flex; align-items: center; justify-content: center; color: var(--rose); }

/* Tjeneste-navigasjon (forrige/neste) */
.service-nav { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 26px; margin-top: clamp(40px, 6vw, 60px); }
.service-nav a { font-weight: 700; font-size: 0.96rem; }
.service-nav .next::after { content: " →"; }
.service-nav .prev::before { content: "← "; }

/* Tips & råd */
.anchor-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.anchor-nav a {
  background: #fff; border: 1.5px solid var(--line); color: var(--ink);
  border-radius: 999px; padding: 8px 18px; font-weight: 600; font-size: 0.92rem;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.anchor-nav a:hover { border-color: var(--rose); color: var(--rose); background: var(--rose-tint); }
.tips-section { scroll-margin-top: calc(var(--header-h) + 20px); padding-block: clamp(36px, 5vw, 54px); border-bottom: 1px solid var(--line); }
.tips-section:last-of-type { border-bottom: 0; }
.tips-section .prose { max-width: 760px; }
.tips-section h2 { margin-bottom: 0.6em; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-top: 22px; }
.swatch { display: flex; gap: 13px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 15px 16px; }
.swatch-dot { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(34, 27, 30, 0.08); }
.swatch h3 { font-size: 0.99rem; font-weight: 700; margin-bottom: 2px; }
.swatch p { font-size: 0.88rem; color: var(--ink-soft); }

/* Galleri (om oss) */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid img { border-radius: 12px; aspect-ratio: 4 / 2.7; object-fit: cover; width: 100%; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-list { list-style: none; display: grid; gap: 18px; margin-top: 26px; }
.contact-list li { display: flex; gap: 15px; align-items: flex-start; }
.contact-list .c-icon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px;
  background: var(--rose-tint); color: var(--rose); display: flex; align-items: center; justify-content: center;
}
.contact-list h3 { font-size: 0.9rem; font-weight: 700; text-transform: none; color: var(--ink-soft); margin-bottom: 1px; }
.contact-list p, .contact-list a { font-weight: 700; font-size: 1.04rem; color: var(--ink); }
.contact-list a:hover { color: var(--rose); }
.contact-list .sub { display: block; font-weight: 500; font-size: 0.88rem; color: var(--ink-soft); margin-top: 1px; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.82); font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 48px); padding-block: clamp(44px, 6vw, 64px); }
.footer-wordmark { font-size: 1.45rem; font-weight: 800; color: #fff; line-height: 1.1; }
.footer-wordmark span { color: var(--rose); }
.footer-slogan { font-weight: 600; color: rgba(255, 255, 255, 0.6); margin-bottom: 14px; }
.footer-brand p { max-width: 26em; }
.footer-brand a { color: #fff; font-weight: 600; }
.footer-hg { display: inline-block; margin-top: 18px; opacity: 0.9; }
.footer-hg:hover { opacity: 1; }
.footer-col h3 { color: #fff; font-size: 0.95rem; font-weight: 700; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: grid; gap: 8px; }
.footer-col a { color: rgba(255, 255, 255, 0.82); font-weight: 500; }
.footer-col a:hover { color: #fff; }
.footer-contact li { line-height: 1.5; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.14); padding-block: 22px; font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.75); }
.footer-bottom a:hover { color: #fff; }

/* Scroll-reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.no-anim { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .photo-card img, .btn, .service-card { transition: none; }
}

/* ---------- Responsivt ---------- */
@media (max-width: 1180px) {
  .site-nav {
    position: fixed; inset: 0;
    background: #fff; overflow-y: auto;
    padding: calc(var(--header-h) + 18px) 22px 40px;
    display: none; z-index: 98; margin: 0;
  }
  body.nav-open .site-nav { display: block; }
  body.nav-open { overflow: hidden; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav > ul > li { border-bottom: 1px solid var(--line); }
  .site-nav > ul > li:last-child { border-bottom: 0; }
  .site-nav a { font-size: 1.12rem; padding: 15px 6px; border-radius: 0; }
  .site-nav a:hover { background: none; }
  .has-sub { flex-wrap: wrap; }
  .sub-toggle { display: none; }
  .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; padding: 0 0 10px 16px; min-width: 0; width: 100%;
  }
  .sub-menu a { font-size: 1rem; padding: 8px 6px; color: var(--ink-soft); }
  .nav-toggle { display: flex; }
}

@media (max-width: 900px) {
  .befaring-grid, .contact-grid, .content-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .split-grid { grid-template-columns: 1fr; }
  .photo-card { min-height: 320px; }
  .aside-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .page-hero-img { order: -1; }
  .page-hero-img img { aspect-ratio: 16 / 9; }
}

@media (max-width: 560px) {
  .btn-phone span { display: none; }
  .btn-phone { padding: 12px; border-radius: 50%; }
  .hero { min-height: 520px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .footer-grid, .gallery-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .ref-grid { grid-template-columns: 1fr 1fr; }
}
