/* ─────────────────────────────────────────────────────────
   Malerfirma Brdr. Folkmann — theme
   Matches the live WordPress/Elementor site:
   Roboto sans everywhere, deep red accent, solid white header,
   airy but restrained section spacing.
   ───────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand: #9B2335;
  --brand-600: #83192a;
  --brand-700: #6d1422;
  --brand-50: #fbeceb;
  --ink: #2b2d33;
  --text: #3b3d42;
  --muted: #6a6c72;
  --line: #e5e7eb;
  --line-strong: #d4d6db;
  --bg: #ffffff;
  --bg-alt: #f6f6f7;
  --bg-alt-2: #eceef1;
  --radius: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --max-width: 1200px;
  --font-sans: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.08);
  --shadow-header: 0 1px 0 rgba(0, 0, 0, 0.05);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--brand); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--brand-700); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.3;
  color: var(--text);
  letter-spacing: 0;
}

h1 { font-size: 34px; }
h2 { font-size: 24px; }
h3 { font-size: 21px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; font-weight: 300; }

p { color: var(--text); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border: 1px solid transparent;
  font-family: var(--font-sans);
}
.btn-lg { padding: 0.85rem 1.65rem; font-size: 14px; }

.btn-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.btn-primary:hover {
  background: var(--brand-700);
  border-color: var(--brand-700);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-outline:hover {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.hero .btn-outline,
.cta-dark .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}
.hero .btn-outline:hover,
.cta-dark .btn-outline:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

/* ── Header ──────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-header);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 1.25rem;
}

.logo { display: flex; align-items: center; }
.logo img {
  height: 48px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--text);
  font-weight: 400;
  font-size: 14px;
  padding: 0.5rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.15s;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}
.nav-link:hover,
.nav-link.active {
  color: var(--brand);
}
.nav-caret {
  display: inline-block;
  font-size: 9px;
  margin-left: 2px;
  color: currentColor;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: -0.75rem;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 0.4rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
  z-index: 10;
}
.nav-item:hover > .nav-dropdown,
.nav-item:focus-within > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown a:hover {
  background: var(--bg-alt);
  color: var(--brand);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
  transition: 0.2s;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
  padding: 6rem 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.6);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 400;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.hero-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Section spacing + titles ──────────────────────── */
section { padding: 5rem 0; }
section.tight { padding: 3.5rem 0; }

.section-alt { background: var(--bg-alt); }

.section-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 12px;
  font-weight: 500;
  color: var(--brand);
  margin-bottom: 0.9rem;
}
.section-eyebrow--center { display: block; text-align: center; }

.section-title {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 0.9rem;
  color: var(--text);
}

.section-subtitle {
  font-size: 16px;
  color: var(--muted);
  max-width: 680px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}
.section-subtitle--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head--center { text-align: center; }
.section-head--center .section-title { margin-left: auto; margin-right: auto; max-width: 780px; }

/* ── Intro band (home) ─────────────────────────────── */
.intro-band {
  background: #fff;
  text-align: center;
  padding: 4.5rem 0;
}
.intro-band h2 {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 1rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.intro-band p {
  font-size: 15px;
  color: var(--text);
  max-width: 820px;
  margin: 0 auto 0.75rem;
  line-height: 1.7;
}

/* ── Services section ─────────────────────────────── */
.services-home {
  background: var(--bg-alt);
  padding: 4.5rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--line-strong);
  color: var(--text);
}

.service-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: background 0.2s, color 0.2s;
}
.service-card:hover .service-icon-badge {
  background: var(--brand);
  color: #fff;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.service-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0.9rem;
  flex: 1;
  font-weight: 300;
}

.service-card-link {
  color: var(--brand);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.service-card:hover .service-card-link { color: var(--brand-700); }

/* ── Team (Mød brødrene) ──────────────────────────── */
.team-section {
  background: #fff;
  padding: 5rem 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 200px 1fr;
  transition: box-shadow 0.2s, transform 0.2s;
}
.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.team-photo {
  width: 100%;
  height: 100%;
  min-height: 240px;
  background-size: cover;
  background-position: center top;
  background-color: var(--bg-alt);
}

.team-info {
  padding: 1.5rem 1.5rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.team-info .team-role {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  font-weight: 500;
  color: var(--brand);
  margin-bottom: 0.35rem;
}
.team-info h3 {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.team-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
  color: var(--text);
  padding: 0.3rem 0;
  font-size: 14px;
}
.team-contact a:hover { color: var(--brand); }
.team-contact svg { flex-shrink: 0; color: var(--brand); }

/* ── Trust band ─────────────────────────────────────── */
.trust-band {
  background: var(--bg-alt);
  padding: 3.5rem 0;
}
.trust-inner {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2.25rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.trust-inner img {
  width: 100%;
  max-width: 180px;
  background: #fff;
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.trust-text .section-eyebrow { margin-bottom: 0.4rem; }
.trust-text h2 {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 0.6rem;
  color: var(--text);
}
.trust-text p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 300;
}

/* ── CTA dark ─────────────────────────────────────── */
.cta-dark {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 4rem 0;
}
.cta-dark .section-eyebrow { color: #d89097; }
.cta-dark h2 {
  color: #fff;
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 0.8rem;
}
.cta-dark p.cta-lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto 2rem;
  font-weight: 300;
}

.cta-phones {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 680px;
  margin: 0 auto 2rem;
}
.cta-phone-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: left;
  transition: background 0.2s, border-color 0.2s;
}
.cta-phone-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}
.cta-phone-name {
  font-weight: 500;
  color: #fff;
  font-size: 15px;
  margin-bottom: 0.15rem;
}
.cta-phone-role {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  font-weight: 500;
  color: #d89097;
  margin-bottom: 0.6rem;
}
.cta-phone-number {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
  font-size: 22px;
  color: #fff;
}
.cta-phone-number:hover { color: #fff; }
.cta-phone-number svg { color: var(--brand); flex-shrink: 0; }

/* ── Page header (non-home) ───────────────────────── */
.page-header {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 5rem 0 4rem;
  text-align: center;
  background: var(--ink);
}
.page-header.has-bg .page-header-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.55);
}
.page-header.has-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
.page-header > .container { position: relative; z-index: 2; }
.page-header .eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 12px;
  font-weight: 500;
  color: #d89097;
  margin-bottom: 0.75rem;
}
.page-header h1 {
  color: #fff;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 400;
  margin: 0;
}
.page-header .page-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  margin-top: 0.9rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

/* breadcrumbs */
.breadcrumbs {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.5rem;
}
.breadcrumbs a {
  color: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid transparent;
}
.breadcrumbs a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.5);
}
.breadcrumbs span { margin: 0 0.4rem; }

/* ── Page content (markdown body) ─────────────────── */
.page-content {
  padding: 4rem 0;
}
.page-content .container { max-width: 880px; }
.page-content.wide .container { max-width: var(--max-width); }

.page-content h2 {
  font-size: 24px;
  font-weight: 400;
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
  color: var(--text);
}
.page-content h2:first-child { margin-top: 0; }
.page-content h3 {
  font-size: 21px;
  font-weight: 400;
  margin-top: 1.75rem;
  margin-bottom: 0.6rem;
  color: var(--text);
}
.page-content p { margin-bottom: 1rem; color: var(--text); line-height: 1.75; }
.page-content ul,
.page-content ol { margin: 1rem 0 1.25rem 1.4rem; }
.page-content li { margin-bottom: 0.35rem; }
.page-content strong { color: var(--text); font-weight: 500; }
.page-content a {
  color: var(--brand);
  border-bottom: 1px solid rgba(155, 35, 53, 0.25);
}
.page-content a:hover { border-color: var(--brand); color: var(--brand-700); }
.page-content img {
  margin: 1.5rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}
.page-content blockquote {
  border-left: 3px solid var(--brand);
  padding-left: 1rem;
  color: var(--muted);
  margin: 1.25rem 0;
  font-style: italic;
}

/* ── Gallery shortcode ────────────────────────────── */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}
.gallery-item {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--bg-alt);
  aspect-ratio: 4 / 3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  margin: 0;
  border: 0;
  border-radius: 0;
}
.gallery-item { cursor: zoom-in; }
.gallery-item:hover img { transform: scale(1.04); }

/* ── Lightbox overlay ─────────────────────────────── */
.lb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 2rem;
}
.lb-overlay.is-open { display: flex; }
body.lb-open { overflow: hidden; }
.lb-figure {
  margin: 0;
  max-width: min(92vw, 1400px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.lb-img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  display: block;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  background: #111;
}
.lb-caption {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  text-align: center;
  max-width: 80ch;
  line-height: 1.4;
}
.lb-overlay button {
  position: absolute;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  user-select: none;
}
.lb-overlay button:hover,
.lb-overlay button:focus-visible {
  background: rgba(155, 35, 53, 0.95);
  outline: none;
}
.lb-close { top: 1.25rem; right: 1.25rem; font-size: 28px; }
.lb-prev  { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lb-next  { right: 1.25rem; top: 50%; transform: translateY(-50%); }

@media (max-width: 640px) {
  .lb-overlay { padding: 0.75rem; }
  .lb-overlay button { width: 40px; height: 40px; font-size: 28px; }
  .lb-close { top: 0.5rem; right: 0.5rem; font-size: 24px; }
  .lb-prev  { left: 0.5rem; }
  .lb-next  { right: 0.5rem; }
}

/* ── Section / list layout ────────────────────────── */
.child-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.child-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  overflow: hidden;
  color: var(--text);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.child-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--text);
  border-color: var(--line-strong);
}
.child-card-img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-alt);
}
.child-card-body {
  padding: 1.1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.child-card-body h3 {
  font-size: 18px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.child-card-body p {
  font-size: 14px;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 0.9rem;
  flex: 1;
}
.child-card-link {
  font-size: 13px;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}
.child-card:hover .child-card-link { color: var(--brand-700); }

/* ── Kontakt page ─────────────────────────────────── */
.contact-page { padding: 4rem 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-intro p {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.7;
}
.contact-form { margin-top: 1.5rem; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group.full-width { grid-column: 1 / -1; }
.form-group label {
  display: block;
  font-size: 13px;
  margin-bottom: 0.35rem;
  font-weight: 500;
  color: var(--text);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-weight: 300;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(155, 35, 53, 0.12);
}
.contact-form .btn { margin-top: 1.25rem; }

.contact-info-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  position: sticky;
  top: 100px;
}
.contact-info-card h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  margin-bottom: 0.65rem;
  margin-top: 1.4rem;
  font-weight: 500;
}
.contact-info-card h3:first-child { margin-top: 0; }
.contact-info-card p { margin-bottom: 0.3rem; font-size: 14px; }
.contact-info-card a { font-weight: 400; color: var(--text); }
.contact-info-card a:hover { color: var(--brand); }
.contact-info-card .person-name {
  font-weight: 500;
  color: var(--text);
  font-size: 15px;
  margin-bottom: 0.1rem;
}

/* ── Footer ──────────────────────────────────────── */
.site-footer {
  background: #ffffff;
  color: #2c2f36;
  padding: 3.5rem 0 1.25rem;
  font-size: 14px;
  font-weight: 300;
  border-top: 1px solid #e5e7eb;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.25rem;
}
.site-footer .footer-grid--3 {
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 0.5rem;
}
.site-footer .footer-col h4 { font-size: 14px; }
.site-footer .footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer .footer-list li {
  padding: 0.1rem 0;
  font-size: 14px;
  line-height: 1.7;
}
.site-footer .footer-logo-link {
  display: inline-block;
  margin-top: 1.25rem;
}
.site-footer .footer-logo-link img {
  max-width: 240px;
  height: auto;
}
.site-footer .footer-badge-link {
  display: inline-block;
  margin-top: 1rem;
  background: #fff;
  padding: 0;
  border-radius: var(--radius);
}
.site-footer .footer-badge-link img {
  width: auto;
  max-width: 150px;
  height: auto;
  display: block;
}
.site-footer h4 {
  color: #1d1f24;
  margin-bottom: 0.85rem;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.site-footer a { color: #6b7078; text-decoration: none; }
.site-footer a:hover { color: var(--primary, #9B2335); }
.site-footer p { margin-bottom: 0.35rem; line-height: 1.65; color: #6b7078; }
.footer-brand-name {
  font-family: var(--font-sans);
  font-weight: 700;
  color: #1d1f24;
  font-size: 16px;
  margin-bottom: 0.4rem;
}
.footer-badge {
  display: inline-block;
  margin-top: 0.9rem;
  background: #f4f5f7;
  border: 1px solid #e5e7eb;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: #2c2f36;
}
.footer-bottom {
  border-top: 1px solid #e5e7eb;
  padding-top: 1.25rem;
  text-align: center;
  font-size: 12px;
  color: #8a8f98;
  letter-spacing: 0.02em;
}

/* ─────────────────────────────────────────────────────────
   Homepage — live-site match
   ───────────────────────────────────────────────────────── */

/* Home hero with brother-cards over a building photo */
.hero-home {
  position: relative;
  overflow: visible;
  padding: 6rem 0 8rem;
  color: #fff;
  background: #0c0c0c;
  min-height: 680px;
  display: flex;
  align-items: center;
}
.hero-home-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: top center;
}
.hero-home-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 12, 0.5);
}
.hero-home-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.brother-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1040px;
  width: 100%;
  margin: 0 auto;
}

.brother-card {
  display: grid;
  grid-template-columns: 60% 40%;
  align-items: stretch;
  background: rgba(198, 64, 76, 0.83);
  border: 1px solid #ffffff;
  color: #ffffff;
  overflow: hidden;
  min-height: 220px;
}
.brother-card-body {
  padding: 1.5rem 1.25rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.brother-card-title {
  font-family: var(--font-sans);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0 0 1.25rem;
  font-size: 28px;
  letter-spacing: 0;
}
.brother-card-title-top {
  display: block;
  font-weight: 700;
  line-height: 1.2;
}
.brother-card-title-bot {
  display: block;
  font-weight: 300;
  line-height: 1.2;
}
.brother-card-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}
.brother-card-contact li {
  color: #fff;
  font-size: 18px;
  font-weight: 300;
  padding: 4px 0;
  line-height: 1.4;
}
.brother-card-contact li strong {
  font-weight: 700;
  color: #fff;
}
.brother-card-contact a {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0);
  transition: border-color 0.15s;
}
.brother-card-contact a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.7);
}
.brother-card-photo {
  background: rgba(0, 0, 0, 0.15);
  overflow: hidden;
  display: flex;
  align-items: stretch;
}
.brother-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* KVALITET TIL TIDEN animated pill — sits below the two contact cards,
   bleeds slightly into the next section just like the original. */
.kvalitet-pill {
  position: relative;
  width: min(560px, 80%);
  margin-bottom: -60px;
  z-index: 5;
  pointer-events: none;
}
.kvalitet-pill img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 22px rgba(0, 0, 0, 0.35));
}

/* Intro two-column section matching live */
.intro-two-col {
  background: #fff;
  padding: 5.5rem 0 5rem;
}
.intro-two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.intro-two-col h2 {
  font-size: 36px;
  font-weight: 300;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1.25rem;
  letter-spacing: 0;
}
.intro-two-col-left p {
  font-size: 16px;
  font-weight: 300;
  color: #222;
  line-height: 1.75;
  margin-bottom: 1rem;
  max-width: 520px;
}
.intro-two-col-right {
  background: #fff;
}
.promise-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.promise-list li {
  position: relative;
  padding: 6px 0 6px 28px;
  font-size: 16px;
  font-weight: 300;
  color: #222;
}
.promise-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #54595f;
}
.promise-lead {
  font-size: 16px;
  font-weight: 300;
  color: #222;
  margin-top: 0.75rem;
}

/* Paint-cans band with centered title */
.paint-band {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
  padding: 3rem 0;
}
.paint-band-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}
.paint-band-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.53);
}
.paint-band-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}
.paint-band-title {
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  font-size: clamp(20px, 3.1vw, 39px);
  font-weight: 300;
  text-transform: uppercase;
  text-align: center;
  padding: 10px 24px;
  margin: 0 auto;
  letter-spacing: 0.01em;
  line-height: 1.3;
  max-width: 100%;
}
.paint-band-title strong {
  font-weight: 700;
  color: #fff;
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .site-footer .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer .footer-grid--3 { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .brother-cards { gap: 1.5rem; }
  .brother-card-title { font-size: 22px; }
  .brother-card-contact li { font-size: 15px; }
}

@media (max-width: 768px) {
  .header-inner { height: 68px; }
  .logo img { height: 40px; }
  .menu-toggle { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1rem;
    gap: 0;
    border-top: 1px solid var(--line);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  }
  .main-nav.open { display: flex; }
  .nav-item { width: 100%; }
  .nav-link {
    width: 100%;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-dropdown {
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0 0 0.5rem 1rem;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-dropdown a { padding: 0.4rem 0; font-size: 13px; }

  .hero { min-height: 380px; padding: 4rem 0; }
  .hero-title { font-size: clamp(1.8rem, 8vw, 2.4rem); }

  section { padding: 3.5rem 0; }

  .services-grid { grid-template-columns: 1fr; gap: 0.9rem; }

  .team-card { grid-template-columns: 1fr; }
  .team-photo { min-height: 240px; aspect-ratio: 4/3; background-position: center 20%; }

  .trust-inner { grid-template-columns: 1fr; text-align: center; gap: 1.25rem; }
  .trust-inner img { margin: 0 auto; max-width: 150px; }

  .cta-phones { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-info-card { position: static; }
  .form-grid { grid-template-columns: 1fr; }

  .site-footer .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .site-footer .footer-grid--3 { grid-template-columns: 1fr; gap: 1.75rem; }

  .page-header { padding: 3.5rem 0 2.5rem; }
  .page-content { padding: 3rem 0; }

  .hero-home { padding: 4rem 0 7rem; min-height: 520px; }
  .brother-cards { grid-template-columns: 1fr; gap: 1rem; }
  .brother-card { min-height: 180px; grid-template-columns: 62% 38%; }
  .brother-card-title { font-size: 18px; margin-bottom: 0.75rem; }
  .brother-card-body { padding: 1rem 0.9rem 1rem 1.25rem; }
  .brother-card-contact li { font-size: 14px; padding: 3px 0; }
  .kvalitet-pill { width: min(320px, 82%); margin-bottom: -40px; }
  .intro-two-col { padding: 3.5rem 0 3rem; }
  .intro-two-col-grid { grid-template-columns: 1fr; gap: 2rem; }
  .intro-two-col h2 { font-size: 28px; margin-bottom: 1rem; }
  .paint-band { min-height: 240px; padding: 2rem 0; }
  .paint-band-title { font-size: 18px; padding: 8px 12px; }
}

/* ── Contact form status + thankyou page (Web3Forms) ─────────── */
.contact-form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  line-height: 1.4;
  border: 1px solid transparent;
  border-radius: var(--radius);
}
.contact-form-status.is-sending {
  background: var(--bg-alt); color: var(--ink); border-color: var(--line-strong);
}
.contact-form-status.is-success {
  background: #e8f8ef; color: #0f6a38; border-color: #9fd9b4;
}
.contact-form-status.is-error {
  background: #fdecea; color: #8b1e17; border-color: #f5b3ac;
}
.contact-form-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.contact-form-note--warning {
  padding: 0.85rem 1rem;
  border: 1px dashed #d4a017;
  background: #fff7e0;
  color: #6a4c00;
  border-radius: var(--radius);
}
.contact-form-note a { color: inherit; text-decoration: underline; }
.contact-form .btn:disabled { opacity: 0.6; cursor: progress; }

.thankyou-page { padding: 4rem 0 6rem; background: var(--bg-alt); }
.thankyou-card {
  max-width: 680px;
  margin: 0 auto;
  background: #fff;
  padding: 3rem 2.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.thankyou-card .page-content {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.thankyou-contact {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 0.95rem;
}
.thankyou-contact li strong { color: var(--ink); }
.thankyou-contact a { color: var(--brand); }
.thankyou-contact a:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .thankyou-card { padding: 2rem 1.5rem; }
  .thankyou-contact { grid-template-columns: 1fr; gap: 1rem; }
}

/* ── Presse page ──────────────────────────────────────── */
.press-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0 1rem;
}
.press-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.press-item a {
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: var(--radius-md);
}
.press-item a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.press-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  padding: 1rem;
  background: #fff;
}
.press-item--wide img { padding: 0; }
.press-item figcaption {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.4;
}
.press-item--wide {
  grid-column: 1 / -1;
  max-width: 620px;
  margin: 0 auto;
}
@media (max-width: 640px) {
  .press-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .press-item--wide { grid-column: auto; max-width: 100%; }
}
