:root {
  --blue: #1745a5;
  --blue-2: #2f63d3;
  --navy: #0f172a;
  --ink: #182033;
  --muted: #61708a;
  --line: #dce3ee;
  --soft: #f4f7fb;
  --white: #ffffff;
  --radius: 22px;
  --shadow: 0 22px 60px rgba(15, 23, 42, .12);
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: #fff; line-height: 1.65; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 200; padding: 10px 14px; background: #fff; color: var(--navy); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.section-inner { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(220,227,238,.85); backdrop-filter: blur(12px); }
.header-inner { width: min(1240px, calc(100% - 32px)); margin-inline: auto; min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 245px; height: 78px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; align-items: center; gap: 5px; }
.main-nav a { text-decoration: none; padding: 11px 13px; border-radius: 999px; color: #33415c; font-weight: 700; font-size: .94rem; }
.main-nav a:hover, .main-nav a.is-active { color: var(--blue); background: #eef3ff; }
.main-nav .nav-phone { margin-left: 8px; color: #fff; background: var(--blue); box-shadow: 0 10px 26px rgba(23,69,165,.25); }
.main-nav .nav-phone:hover { color: #fff; background: #0e388e; }
.menu-button { display: none; width: 48px; height: 48px; border: 0; border-radius: 12px; background: var(--soft); padding: 12px; }
.menu-button span:not(.sr-only) { display: block; height: 2px; background: var(--navy); margin: 5px 0; }
.hero { min-height: 710px; position: relative; display: grid; align-items: center; color: #fff; background: linear-gradient(90deg, rgba(7,17,38,.90) 0%, rgba(7,17,38,.68) 45%, rgba(7,17,38,.16) 78%), url('/assets/images/hero-moderne-malerarbejde.webp') center/cover no-repeat; }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 130px; background: linear-gradient(transparent, rgba(4,11,25,.34)); pointer-events: none; }
.hero-content { position: relative; z-index: 2; max-width: 760px; padding: 100px 0 115px; }
.eyebrow { margin: 0 0 14px; text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 900; color: var(--blue); }
.eyebrow-light { color: #c9d8ff; }
h1, h2, h3 { margin-top: 0; line-height: 1.12; letter-spacing: -.035em; color: var(--navy); }
h1 { font-size: clamp(2.7rem, 6vw, 5.35rem); color: #fff; margin-bottom: 22px; max-width: 900px; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 18px; }
h3 { font-size: 1.35rem; margin-bottom: 10px; }
.hero-lead { max-width: 690px; font-size: clamp(1.07rem, 2vw, 1.28rem); color: #edf3ff; margin: 0 0 32px; }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 22px; border-radius: 999px; text-decoration: none; font-weight: 850; border: 2px solid transparent; transition: transform .18s ease, background .18s ease, color .18s ease; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue-2); color: #fff; box-shadow: 0 14px 35px rgba(47,99,211,.35); }
.button-secondary { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.48); backdrop-filter: blur(8px); }
.button-dark { background: var(--navy); color: #fff; }
.button-light { background: #fff; color: var(--blue); }
.button-outline-light { color: #fff; border-color: rgba(255,255,255,.68); }
.trust-strip { position: relative; z-index: 4; margin-top: -56px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.trust-item { padding: 27px 24px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-number { display: block; color: var(--blue); font-weight: 950; font-size: 1.55rem; line-height: 1; margin-bottom: 7px; }
.trust-label { color: var(--muted); font-size: .95rem; }
.section { padding: 105px 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 760px; margin-bottom: 45px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 32px rgba(15,23,42,.07); }
.service-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.service-card-body { padding: 25px; }
.service-card p { color: var(--muted); margin-bottom: 0; }
.service-card a { color: var(--blue); font-weight: 850; text-decoration: none; }
.two-col { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(44px, 8vw, 100px); }
.image-stack { position: relative; min-height: 620px; }
.image-stack .main-image { width: 82%; height: 560px; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.image-stack .small-image { position: absolute; right: 0; bottom: 0; width: 48%; height: 300px; object-fit: cover; border: 10px solid #fff; border-radius: 24px; box-shadow: var(--shadow); }
.check-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 23px; height: 23px; display: grid; place-items: center; color: #fff; background: var(--blue); border-radius: 50%; font-size: .78rem; font-weight: 900; }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 190px; gap: 14px; }
.gallery-item { margin: 0; border-radius: 18px; overflow: hidden; position: relative; background: #dfe7f3; }
.gallery-button { width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; position: relative; }
.gallery-button::after { content: '＋'; position: absolute; right: 14px; bottom: 14px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(10,17,32,.78); font-size: 1.25rem; font-weight: 800; opacity: 0; transform: translateY(5px); transition: opacity .2s ease, transform .2s ease; }
.gallery-button:hover::after, .gallery-button:focus-visible::after { opacity: 1; transform: translateY(0); }
.gallery-button:focus-visible { outline: 4px solid rgba(47,99,211,.45); outline-offset: -4px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: span 5; grid-row: span 2; }
.gallery-item:nth-child(3), .gallery-item:nth-child(4), .gallery-item:nth-child(5) { grid-column: span 4; }
.gallery-item:nth-child(6), .gallery-item:nth-child(7) { grid-column: span 6; }
.area-box { background: var(--navy); color: #fff; border-radius: 28px; padding: clamp(34px, 6vw, 70px); position: relative; overflow: hidden; }
.area-box::before { content:''; position:absolute; width:370px; height:370px; right:-140px; top:-180px; border-radius:50%; background: radial-gradient(circle, rgba(47,99,211,.68), transparent 68%); }
.area-box h2 { color: #fff; position: relative; }
.area-box p { color: #d9e2f4; position: relative; }
.area-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; position: relative; }
.area-tags span { padding: 8px 13px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.07); border-radius: 999px; font-weight: 700; font-size: .9rem; }
.page-hero { padding: 92px 0 82px; background: linear-gradient(135deg, #0c1830, #173d88); color: #fff; }
.page-hero h1 { max-width: 900px; font-size: clamp(2.5rem, 5vw, 4.5rem); }
.page-hero p { max-width: 780px; color: #e6edfb; font-size: 1.15rem; }
.content-grid { display: grid; grid-template-columns: 1fr 350px; gap: 70px; align-items: start; }
.prose h2 { margin-top: 42px; font-size: clamp(1.7rem, 3vw, 2.55rem); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #4d5a72; }
.service-list { display: grid; gap: 28px; }
.service-row { display: grid; grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr); align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: 0 14px 38px rgba(15,23,42,.07); }
.service-row:nth-child(even) .service-row-media { order: 2; }
.service-row-media { min-height: 310px; }
.service-row-media button { width: 100%; height: 100%; padding: 0; border: 0; background: #dfe7f3; cursor: zoom-in; }
.service-row-media img { width: 100%; height: 100%; min-height: 310px; object-fit: cover; }
.service-row-body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.service-row-body h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); margin: 0 0 13px; }
.service-row-body p { margin: 0; color: #4d5a72; }
.service-row-body ul { margin: 18px 0 0; padding-left: 20px; color: #4d5a72; }
.customer-box { margin-top: 30px; padding: clamp(30px, 5vw, 52px); border-radius: 24px; color: #fff; background: linear-gradient(135deg, #0f172a, #173d88); display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.customer-box h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 10px; }
.customer-box p { color: #dce6f8; margin: 0; max-width: 720px; }
.customer-box .button { flex: 0 0 auto; }
.sidebar-card { position: sticky; top: 110px; background: var(--soft); border: 1px solid var(--line); padding: 28px; border-radius: 22px; }
.sidebar-card h2 { font-size: 1.5rem; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; }
.contact-card { background: var(--navy); color: #fff; border-radius: 25px; padding: 38px; }
.contact-card h2 { color: #fff; }
.contact-card p, .contact-card a { color: #e8eef9; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 25px; padding: clamp(25px, 5vw, 45px); box-shadow: 0 14px 38px rgba(15,23,42,.08); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: grid; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 800; color: var(--navy); }
.form-field input, .form-field textarea, .form-field select { width: 100%; border: 1px solid #cfd8e6; border-radius: 12px; padding: 13px 14px; color: var(--ink); background: #fff; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: 3px solid rgba(47,99,211,.16); border-color: var(--blue-2); }
.form-field textarea { min-height: 150px; resize: vertical; }
.notice { padding: 15px 17px; border-radius: 12px; margin-bottom: 22px; }
.notice.success { background: #e9f9ef; color: #176235; border: 1px solid #b9e8c7; }
.notice.error { background: #fff0f0; color: #8b2424; border: 1px solid #f1bebe; }
.cta-band { background: linear-gradient(130deg, var(--blue), #0d3178); color: #fff; padding: 64px 0; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.15rem); margin-bottom: 10px; }
.cta-band p { color: #dce7ff; margin-bottom: 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.site-footer { background: #0a1120; color: #d7dfed; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 42px; padding: 70px 0 52px; }
.footer-logo { width: 230px; height: 85px; object-fit: contain; object-position: left; background: #fff; border-radius: 10px; padding: 5px; margin-bottom: 18px; }
.site-footer h2 { color: #fff; font-size: 1rem; letter-spacing: .03em; }
.site-footer a { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: .9rem; color: #aab6ca; }
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 28px; background: rgba(3,8,20,.92); }
.lightbox[hidden] { display: none; }
.lightbox-dialog { position: relative; width: min(1120px, 100%); max-height: calc(100vh - 56px); display: grid; grid-template-rows: minmax(0,1fr) auto; gap: 12px; }
.lightbox-image-wrap { min-height: 0; display: grid; place-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 130px); object-fit: contain; border-radius: 12px; box-shadow: 0 25px 80px rgba(0,0,0,.45); }
.lightbox-caption { color: #fff; text-align: center; margin: 0; }
.lightbox-close, .lightbox-prev, .lightbox-next { position: fixed; z-index: 2; border: 1px solid rgba(255,255,255,.28); color: #fff; background: rgba(10,17,32,.72); width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1.4rem; }
.lightbox-close { top: 18px; right: 18px; }
.lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--blue); }
.cookie-banner { position: fixed; z-index: 250; left: 20px; right: 20px; bottom: 20px; margin: auto; width: min(900px, calc(100% - 40px)); background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 70px rgba(15,23,42,.28); padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; color: #3d4b64; }
.cookie-banner strong { color: var(--navy); display: block; margin-bottom: 3px; }
.cookie-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.cookie-actions a { color: var(--blue); font-weight: 800; white-space: nowrap; }
.cookie-actions .button { min-height: 44px; padding: 9px 18px; }
.mobile-call { display: none; }
@media (max-width: 1000px) {
  .menu-button { display: block; }
  .main-nav { display: none; position: absolute; left: 16px; right: 16px; top: 82px; background: #fff; padding: 14px; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .main-nav.is-open { display: flex; }
  .main-nav a { text-align: center; }
  .main-nav .nav-phone { margin-left: 0; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .two-col, .contact-grid { grid-template-columns: 1fr; }
  .image-stack { max-width: 760px; }
  .content-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; }
  .service-row:nth-child(even) .service-row-media { order: 0; }
  .service-row-media, .service-row-media img { min-height: 280px; }
  .customer-box { align-items: flex-start; flex-direction: column; }
  .sidebar-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .section-inner { width: min(100% - 28px, var(--max)); }
  .header-inner { width: calc(100% - 24px); min-height: 72px; }
  .brand img { width: 205px; height: 64px; }
  .main-nav { top: 72px; }
  .hero { min-height: 660px; background-position: 62% center; }
  .hero-content { padding: 88px 0 112px; }
  h1 { font-size: clamp(2.55rem, 13vw, 4rem); }
  .trust-strip { margin-top: -42px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px; }
  .trust-item:last-child { border-bottom: 0; }
  .section { padding: 78px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .image-stack { min-height: auto; display: grid; gap: 14px; }
  .image-stack .main-image, .image-stack .small-image { position: static; width: 100%; height: 360px; border: 0; }
  .gallery-grid { display: grid; grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .gallery-item:nth-child(n) { grid-column: auto; grid-row: auto; }
  .cta-band-inner { align-items: flex-start; flex-direction: column; }
  .cta-actions, .hero-actions { width: 100%; }
  .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .cookie-banner { left: 14px; right: 14px; bottom: 88px; width: auto; padding: 18px; align-items: stretch; flex-direction: column; gap: 15px; }
  .cookie-actions { width: 100%; justify-content: space-between; }
  .cookie-actions .button { width: auto; }
  .lightbox { padding: 18px; }
  .lightbox-prev, .lightbox-next { width: 42px; height: 42px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .mobile-call { display: block; position: fixed; z-index: 120; left: 14px; right: 14px; bottom: 14px; text-align: center; padding: 13px 18px; border-radius: 999px; color: #fff; background: var(--blue); text-decoration: none; font-weight: 900; box-shadow: 0 15px 35px rgba(15,23,42,.28); }
  body { padding-bottom: 75px; }
}

/* v3: fagområder og lokale bysider */
.footer-grid-expanded { grid-template-columns: 1.15fr 1fr 1.5fr .9fr; gap: 44px; }
.footer-column h2 a { color: #fff; text-decoration: none; }
.footer-column h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links li { margin: 0; }
.footer-links a { color: #d7dfed; text-decoration: none; font-size: .95rem; line-height: 1.35; }
.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-links-two-col { grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 22px; }
.footer-more { display: inline-block; margin-top: 15px; font-weight: 800; text-decoration: none; }
.footer-experience, .footer-company { color: #aab6ca; font-size: .94rem; }
.rounded-project-image { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.compact-card .service-card-body { min-height: 100%; }
.local-link-grid { align-items: start; }
.link-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.link-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 14px; color: var(--navy); background: #fff; text-decoration: none; font-weight: 800; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.link-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(15,23,42,.08); border-color: #b9c8e5; }
.compact-tags { margin: 18px 0 24px; }
.faq-wrap { max-width: 980px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.faq-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.faq-card h3 { margin-bottom: 8px; font-size: 1.15rem; }
.faq-card p { margin: 0; }
.area-directory { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.area-directory a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; text-decoration: none; color: var(--navy); font-weight: 850; }
.area-directory a:hover { box-shadow: 0 12px 28px rgba(15,23,42,.08); }
@media (max-width: 1000px) {
  .footer-grid-expanded { grid-template-columns: 1fr 1fr; }
  .area-directory { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .footer-grid-expanded { grid-template-columns: 1fr; }
  .footer-links-two-col, .link-card-grid, .faq-grid, .area-directory { grid-template-columns: 1fr; }
}
.text-link { font-weight: 850; color: var(--blue); text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.card-title-link { color: inherit; text-decoration: none; }
.card-title-link:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
