/* ── Reset & base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; cursor: pointer; border: none; background: transparent; }
img { display: block; max-width: 100%; }
::-webkit-scrollbar { height: 4px; width: 4px; }
::-webkit-scrollbar-thumb { background: #ddd; border-radius: 2px; }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: #e5e5e5;
  border-radius: 3px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}

/* ── Container ─────────────────────────────────────────────────────────────── */
.byg-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Header ────────────────────────────────────────────────────────────────── */
.byg-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,250,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.byg-header.scrolled { box-shadow: var(--shadow-header); }
.byg-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.byg-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  text-decoration: none;
}
.byg-logo-text {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.4px;
  color: var(--text);
}
.byg-logo-text span { color: var(--accent); }

/* Desktop nav */
.byg-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.byg-nav-item {
  position: relative;
}
.byg-nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px 11px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 500;
  color: #333;
  background: transparent;
  transition: all .15s;
  white-space: nowrap;
}
.byg-nav-link:hover,
.byg-nav-item.open .byg-nav-link {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}
.byg-nav-chevron {
  display: inline-block;
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

.byg-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 6px; /* visual gap lives here so hover area stays connected */
  z-index: 200;
}
.byg-dropdown-inner {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  min-width: 180px;
  box-shadow: var(--shadow-drop);
}
.byg-nav-item.open .byg-dropdown,
.byg-nav-item:hover .byg-dropdown { display: block; }
.byg-dropdown-inner a {
  display: block;
  padding: 9px 14px;
  font-size: 13.5px;
  border-radius: 7px;
  color: #333;
  font-weight: 400;
  transition: all .12s;
}
.byg-dropdown-inner a:hover {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
}

/* Header CTAs */
.byg-header-ctas {
  display: flex;
  gap: 10px;
  align-items: center;
}
.byg-btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  transition: background .15s;
}
.byg-btn-outline:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.byg-btn-solid {
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  transition: opacity .15s;
}
.byg-btn-solid:hover { opacity: .88; }

/* Hamburger */
.byg-hamburger {
  display: none;
  margin-left: auto;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.byg-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: all .2s;
}
.byg-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.byg-hamburger.active span:nth-child(2) { opacity: 0; }
.byg-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.byg-mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 16px 20px 20px;
}
.byg-mobile-menu.open { display: block; }
.byg-mobile-menu a {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid #f0ebe4;
  color: #222;
}
.byg-mobile-menu .byg-btn-solid,
.byg-mobile-menu .byg-btn-outline {
  width: 100%;
  margin-top: 10px;
  border-radius: 10px;
  padding: 13px;
  font-size: 15px;
}
.byg-mobile-menu .byg-btn-solid { margin-top: 16px; }

/* ── Topic Bar ──────────────────────────────────────────────────────────────── */
.byg-topic-bar {
  border-bottom: 1px solid var(--border);
  background: #fff;
  padding: 0 20px;
}
.byg-topic-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: nowrap;
  overflow: hidden;
}
.byg-topic-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 13px;
  font-size: 13px;
  font-weight: 500;
  color: #555;
  border-bottom: 2px solid transparent;
  transition: all .15s;
  flex-shrink: 0;
  text-decoration: none;
}
.byg-topic-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.byg-topic-chevron {
  display: inline-block;
  width: 9px;
  height: 9px;
}

/* ── Hero ───────────────────────────────────────────────────────────────────── */
.byg-hero {
  background: linear-gradient(150deg, #e8f5f7 0%, #f0faf4 50%, #fafafa 100%);
  padding: 60px 20px 56px;
}
.byg-hero-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.byg-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  border-radius: var(--radius-pill);
  padding: 5px 14px 5px 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 22px;
}
.byg-hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
.byg-hero h1 {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 18px;
}
.byg-hero h1 span { color: var(--accent); }
.byg-hero-lead {
  font-size: 16.5px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 520px;
}
.byg-hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.byg-hero-btn-primary {
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 700;
  transition: opacity .15s;
}
.byg-hero-btn-primary:hover { opacity: .88; }
.byg-hero-btn-secondary {
  background: #fff;
  color: var(--accent);
  border: 1.5px solid color-mix(in srgb, var(--accent) 25%, transparent);
  border-radius: 10px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 600;
  transition: all .15s;
  box-shadow: var(--shadow-sm);
}
.byg-hero-btn-secondary:hover { border-color: var(--accent); }
.byg-hero-illustration { width: 100%; height: auto; max-height: 360px; }

/* ── Partners ───────────────────────────────────────────────────────────────── */
.byg-partners {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fff;
  padding: 18px 20px;
}
.byg-partners-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
}
.byg-partners-label {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.byg-partner-name {
  font-size: 13px;
  font-weight: 700;
  color: #ccc;
  letter-spacing: -0.2px;
}

/* ── Section ────────────────────────────────────────────────────────────────── */
.byg-section {
  padding: 64px 20px;
}
.byg-section--no-top { padding-top: 0; }
.byg-section--warm { background: var(--bg-warm); }
.byg-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
}
.byg-section-title {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 8px;
}
.byg-section-sub {
  color: var(--text-light);
  font-size: 15px;
}
.byg-see-all {
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
  text-decoration: none;
}

/* ── Category grid ──────────────────────────────────────────────────────────── */
.byg-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.byg-cat-card {
  border-radius: var(--radius);
  padding: 24px 22px;
  border: 1px solid rgba(0,0,0,0.05);
  cursor: pointer;
  transition: transform .18s, box-shadow .18s;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  text-decoration: none;
  color: var(--text);
}
.byg-cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.byg-cat-icon { flex-shrink: 0; }
.byg-cat-card-title {
  font-weight: 700;
  font-size: 16.5px;
  margin-bottom: 5px;
}
.byg-cat-card-desc {
  color: var(--text-light);
  font-size: 13.5px;
  line-height: 1.5;
  margin-bottom: 12px;
}
.byg-cat-card-more {
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 3px;
}

/* ── CTA Banner ─────────────────────────────────────────────────────────────── */
.byg-cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 80%, transparent) 100%);
  border-radius: calc(var(--radius) + 4px);
  padding: 44px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  cursor: pointer;
  transition: opacity .15s;
  text-decoration: none;
}
.byg-cta-banner:hover { opacity: .95; }
.byg-cta-banner-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.byg-cta-banner h2 {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.8px;
  margin-bottom: 10px;
}
.byg-cta-banner p {
  color: rgba(255,255,255,0.78);
  font-size: 15px;
  line-height: 1.6;
}
.byg-cta-banner-btn {
  background: #fff;
  color: var(--accent);
  border-radius: 10px;
  padding: 14px 28px;
  font-size: 14.5px;
  font-weight: 700;
  flex-shrink: 0;
  white-space: nowrap;
}

/* ── Article card ───────────────────────────────────────────────────────────── */
.byg-article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.byg-article-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: transform .18s, box-shadow .18s;
  text-decoration: none;
  color: var(--text);
  display: block;
}
.byg-article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.byg-article-card-thumb { height: 155px; overflow: hidden; }
.byg-article-card-body { padding: 18px 18px 22px; }
.byg-article-card-meta {
  display: flex;
  gap: 7px;
  margin-bottom: 9px;
  align-items: center;
}
.byg-tag {
  font-size: 11px;
  font-weight: 600;
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  color: var(--accent);
  border-radius: var(--radius-pill);
  padding: 3px 9px;
}
.byg-date {
  font-size: 11px;
  color: var(--text-muted);
}
.byg-article-card h3 {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 9px;
}
.byg-article-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

/* Article thumb gradient backgrounds */
.byg-art-bg {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* ── Green building section ─────────────────────────────────────────────────── */
.byg-green-section {
  padding: 0 20px 72px;
}
.byg-green-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.byg-green-illustration {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
}
.byg-green-badge {
  display: inline-block;
  background: var(--green-tag-bg);
  color: var(--green-tag-txt);
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  margin-bottom: 18px;
}
.byg-green-content h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.7px;
  margin-bottom: 14px;
  line-height: 1.2;
}
.byg-green-content p {
  color: var(--text-mid);
  line-height: 1.7;
  font-size: 15px;
  margin-bottom: 20px;
}
.byg-green-link {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #444;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 1px solid #f0ebe4;
  text-decoration: none;
  transition: color .15s;
}
.byg-green-link:hover { color: var(--accent); }
.byg-green-link-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ── Category page ──────────────────────────────────────────────────────────── */
.byg-page-hero {
  background: linear-gradient(135deg, #e8f5f7, #fafafa);
  padding: 44px 20px 36px;
}
.byg-breadcrumb {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 13px;
  color: #999;
  margin-bottom: 18px;
}
.byg-breadcrumb a { color: var(--accent); text-decoration: none; }
.byg-page-hero h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.byg-page-hero p {
  color: var(--text-mid);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 540px;
}

.byg-subcats-bar {
  border-bottom: 1px solid var(--border);
  background: #fff;
  padding: 0 20px;
}
.byg-subcats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 10px 0;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.byg-subcats-inner::-webkit-scrollbar { display: none; }
.byg-subcat-btn {
  background: #f0ebe4;
  border-radius: var(--radius-pill);
  padding: 6px 15px;
  font-size: 13px;
  font-weight: 500;
  color: #444;
  flex-shrink: 0;
  transition: all .15s;
  text-decoration: none;
}
.byg-subcat-btn:hover {
  background: var(--accent);
  color: #fff;
}

.byg-cat-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 44px 20px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 44px;
}
.byg-articles-col h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 22px;
}
.byg-article-list { display: flex; flex-direction: column; gap: 16px; }
.byg-article-list-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: box-shadow .18s;
  text-decoration: none;
  color: var(--text);
}
.byg-article-list-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.byg-article-list-thumb { height: 120px; }
.byg-article-list-body { padding: 18px; }
.byg-article-list-body h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 7px;
}
.byg-article-list-body p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.55;
}

/* Sidebar */
.byg-sidebar-offer {
  background: #f5fafb;
  border: 1px solid #d4eaee;
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 18px;
}
.byg-sidebar-offer h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}
.byg-sidebar-offer p {
  font-size: 13.5px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 18px;
}
.byg-sidebar-field { margin-bottom: 10px; }
.byg-sidebar-field label {
  font-size: 11.5px;
  font-weight: 600;
  color: #888;
  display: block;
  margin-bottom: 4px;
}
.byg-sidebar-field .byg-field-placeholder {
  border: 1px solid #ddd;
  border-radius: 7px;
  padding: 9px 12px;
  font-size: 13.5px;
  color: var(--text);
  background: #fff;
  width: 100%;
  font-family: var(--font);
}
.byg-sidebar-related {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: #fff;
}
.byg-sidebar-related h3 {
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 14px;
}
.byg-sidebar-related a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid #f0ebe4;
  font-size: 13.5px;
  color: #444;
  font-weight: 500;
  text-decoration: none;
  transition: color .15s;
}
.byg-sidebar-related a:hover { color: var(--accent); }

/* ── Article page ───────────────────────────────────────────────────────────── */
.byg-article-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 44px 20px;
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 52px;
}
.byg-article-main h1 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 18px;
}
.byg-article-ingress {
  font-size: 16.5px;
  color: var(--text-mid);
  line-height: 1.7;
}
.byg-article-featured-img {
  height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
}
.byg-article-section { margin-bottom: 28px; }
.byg-article-section h2 {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.byg-article-section p {
  font-size: 15.5px;
  color: #444;
  line-height: 1.78;
}
.byg-article-cta {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--accent) 20%, transparent);
  border-radius: var(--radius);
  padding: 26px;
  margin-top: 8px;
}
.byg-article-cta h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.byg-article-cta p { font-size: 14px; color: #666; line-height: 1.6; margin-bottom: 18px; }
.byg-article-cta-btns { display: flex; gap: 10px; }

.byg-article-sidebar {
  align-self: start;
  position: sticky;
  top: 84px;
}
.byg-article-sidebar-related {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: #fff;
  margin-bottom: 18px;
}
.byg-article-sidebar-related h3 { font-size: 14.5px; font-weight: 700; margin-bottom: 14px; }
.byg-related-item {
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #f0ebe4;
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
  display: block;
}
.byg-related-item:hover h4 { color: var(--accent); }
.byg-related-item .byg-date { margin-bottom: 4px; }
.byg-related-item h4 { font-size: 13.5px; font-weight: 600; line-height: 1.4; transition: color .15s; }
.byg-sidebar-tilbud {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 15%, transparent);
  border-radius: var(--radius);
  padding: 22px;
}
.byg-sidebar-tilbud h3 { font-size: 14.5px; font-weight: 700; margin-bottom: 8px; }
.byg-sidebar-tilbud p { font-size: 13px; color: #666; line-height: 1.6; margin-bottom: 14px; }

/* More articles section */
.byg-more-articles { padding: 0 20px 64px; }
.byg-more-articles-inner { max-width: 1100px; margin: 0 auto; }
.byg-more-articles h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 22px; }

/* ── Price calculator ───────────────────────────────────────────────────────── */
.byg-pris-hero {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, transparent) 0%, #e8f5f7 50%, #fafafa 100%);
  padding: 52px 20px 44px;
}
.byg-pris-hero h1 { font-size: 36px; font-weight: 800; letter-spacing: -1px; margin-bottom: 10px; }
.byg-pris-hero p { color: var(--text-mid); font-size: 15.5px; line-height: 1.65; }
.byg-pris-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 44px 20px 80px;
}
.byg-step-indicator {
  display: flex;
  gap: 0;
  margin-bottom: 40px;
  background: #f5f0e8;
  border-radius: var(--radius-pill);
  padding: 4px;
}
.byg-step {
  flex: 1;
  text-align: center;
  padding: 9px 8px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 500;
  color: #aaa;
  transition: all .25s;
}
.byg-step.active {
  font-weight: 700;
  background: #fff;
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.byg-pris-step { display: none; }
.byg-pris-step.visible { display: block; }
.byg-pris-step h2 { font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.byg-cat-pick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.byg-cat-pick-item {
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  cursor: pointer;
  background: #fff;
  transition: all .15s;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 14.5px;
  text-align: left;
}
.byg-cat-pick-item:hover,
.byg-cat-pick-item.selected {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}
.byg-back-btn {
  background: transparent;
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 24px;
  cursor: pointer;
}
.byg-range-label { font-size: 14px; font-weight: 600; display: block; margin-bottom: 10px; }
.byg-range-label span { color: var(--accent); font-weight: 800; }
.byg-range-minmax {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #aaa;
  margin-top: 6px;
  margin-bottom: 32px;
}
.byg-quality-options { display: flex; flex-direction: column; gap: 8px; margin-bottom: 32px; }
.byg-quality-option {
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  cursor: pointer;
  background: #fff;
  transition: all .15s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.byg-quality-option.selected {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}
.byg-quality-option-title { font-weight: 600; font-size: 14.5px; }
.byg-quality-option-desc { font-size: 12.5px; color: #888; margin-top: 2px; }
.byg-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #ddd;
  background: transparent;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.byg-radio.selected { border-color: var(--accent); background: var(--accent); }
.byg-radio.selected::after { content: ''; display: block; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.byg-next-btn {
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
  width: 100%;
  transition: opacity .15s;
}
.byg-next-btn:hover { opacity: .88; }
.byg-result-banner {
  background: linear-gradient(135deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 80%, transparent) 100%);
  border-radius: 14px;
  padding: 36px 32px;
  margin-bottom: 28px;
  text-align: center;
}
.byg-result-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.byg-result-price {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.byg-result-disclaimer { font-size: 13.5px; color: rgba(255,255,255,0.65); }
.byg-result-next {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
  margin-bottom: 20px;
}
.byg-result-next h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.byg-result-next p { font-size: 14.5px; color: var(--text-mid); line-height: 1.65; margin-bottom: 20px; }
.byg-result-actions { display: flex; flex-direction: column; gap: 10px; }
.byg-result-primary {
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  padding: 13px;
  font-size: 14.5px;
  font-weight: 700;
  transition: opacity .15s;
}
.byg-result-primary:hover { opacity: .88; }
.byg-result-secondary {
  background: #f5f0e8;
  color: #444;
  border-radius: 10px;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
}
.byg-result-articles {
  background: #f5fafb;
  border: 1px solid #d4eaee;
  border-radius: var(--radius);
  padding: 20px;
}
.byg-result-articles h4 { font-size: 14.5px; font-weight: 700; margin-bottom: 8px; }
.byg-result-articles a {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
  color: #444;
  text-decoration: none;
  transition: color .15s;
}
.byg-result-articles a:hover { color: var(--accent); }

/* ── Articles page ──────────────────────────────────────────────────────────── */
.byg-articles-hero {
  background: linear-gradient(135deg, #e8f5f7, #fafafa);
  padding: 48px 20px 40px;
}
.byg-articles-hero h1 { font-size: 38px; font-weight: 800; letter-spacing: -1.2px; margin-bottom: 10px; }
.byg-articles-hero p { color: #666; font-size: 16px; }

/* ── Footer ─────────────────────────────────────────────────────────────────── */
.byg-footer {
  background: var(--dark-bg);
  color: #fff;
  padding: 56px 20px 28px;
}
.byg-footer-grid {
  display: grid;
  grid-template-columns: 1fr repeat(4, auto);
  gap: 40px 48px;
  margin-bottom: 48px;
}
.byg-footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  text-decoration: none;
}
.byg-footer-logo-text {
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.3px;
  color: #fff;
}
.byg-footer-logo-text span { color: var(--accent); }
.byg-footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  max-width: 200px;
}
.byg-footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.byg-footer-link {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 9px;
  text-decoration: none;
  transition: color .15s;
}
.byg-footer-link:hover { color: #fff; }
.byg-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.byg-footer-bottom span {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}

/* ── Search / 404 ───────────────────────────────────────────────────────────── */
.byg-search-form {
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
}
.byg-search-input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--font);
  background: #fff;
  outline: none;
  transition: border-color .15s;
}
.byg-search-input:focus { border-color: var(--accent); }
.byg-search-btn {
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
}

/* ── Arrow SVG helper ───────────────────────────────────────────────────────── */
.byg-arrow-icon { display: inline-block; vertical-align: middle; }

/* ── Håndværker lokation – billedkort ───────────────────────────────────────── */
.byg-loc-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}
.byg-loc-photo-card {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  text-decoration: none;
  background: var(--accent-dark);
}
.byg-loc-photo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.byg-loc-photo-card:hover img { transform: scale(1.05); }
.byg-loc-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, rgba(0,0,0,.08) 55%, transparent 100%);
}
.byg-loc-photo-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.byg-loc-photo-name {
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.byg-loc-photo-sub {
  color: rgba(255,255,255,.75);
  font-size: 12px;
  font-weight: 500;
}

/* ── Håndværker lokation – bysliste ─────────────────────────────────────────── */
.byg-loc-city-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 48px;
}
.byg-loc-city-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  background: #fff;
  transition: border-color .15s, background .15s;
}
.byg-loc-city-item:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent-dark);
}
.byg-loc-city-name { font-size: 15px; }

/* ── By-side wrapper (ingen sidebar) ────────────────────────────────────────── */
.byg-hw-city-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

/* ── Håndværker kontaktformular ─────────────────────────────────────────────── */
.byg-hw-form-wrap {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin-bottom: 40px;
}
.byg-hw-form-wrap h2 { margin-top: 0; }
.byg-hw-form-intro {
  color: var(--text-mid);
  margin-bottom: 28px;
}
.byg-hw-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.byg-hw-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.byg-hw-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.byg-hw-field input,
.byg-hw-field select,
.byg-hw-field textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color .15s;
  width: 100%;
  box-sizing: border-box;
}
.byg-hw-field input:focus,
.byg-hw-field select:focus,
.byg-hw-field textarea:focus { border-color: var(--accent); background: #fff; }
.byg-hw-field textarea { resize: vertical; }
.byg-hw-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-mid);
  cursor: pointer;
  line-height: 1.5;
}
.byg-hw-consent-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}
.byg-hw-consent-label a { color: var(--accent); }
.byg-hw-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: background .15s, transform .1s;
  margin-top: 8px;
}
.byg-hw-submit:hover { background: var(--accent-dark); transform: translateY(-1px); }
.byg-hw-form-success {
  background: #edf7ef;
  color: #2d7a4f;
  border: 1.5px solid #a8d8b8;
  border-radius: var(--radius);
  padding: 16px 20px;
  font-weight: 500;
}
.byg-hw-form-error {
  background: #fff1f2;
  color: #be123c;
  border: 1.5px solid #fecdd3;
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 14px;
}

/* ── Prose / Gutenberg-indhold ──────────────────────────────────────────────── */
.byg-articles-col p,
.byg-articles-col h2,
.byg-articles-col h3,
.byg-articles-col h4,
.byg-articles-col ul,
.byg-articles-col ol,
.byg-articles-col blockquote,
.byg-hw-city-wrap p,
.byg-hw-city-wrap h2,
.byg-hw-city-wrap h3,
.byg-page-content p,
.byg-page-content h2,
.byg-page-content h3,
.byg-page-content ul,
.byg-page-content ol {
  max-width: 72ch;
}
.byg-articles-col p,
.byg-hw-city-wrap > p,
.byg-page-content p {
  margin: 0 0 1.2em;
  line-height: 1.75;
  font-size: 16px;
  color: var(--text-mid);
}
.byg-articles-col h2,
.byg-page-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2em 0 0.5em;
  color: var(--text);
  line-height: 1.25;
}
.byg-articles-col h3,
.byg-page-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 1.6em 0 0.4em;
  color: var(--text);
}
.byg-articles-col h4,
.byg-page-content h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 1.4em 0 0.3em;
  color: var(--text);
}
.byg-articles-col ul,
.byg-articles-col ol,
.byg-page-content ul,
.byg-page-content ol {
  margin: 0 0 1.2em 1.5em;
  padding: 0;
  color: var(--text-mid);
  line-height: 1.75;
  font-size: 16px;
}
.byg-articles-col ul { list-style: disc; }
.byg-articles-col ol { list-style: decimal; }
.byg-page-content ul { list-style: disc; }
.byg-page-content ol { list-style: decimal; }
.byg-articles-col li,
.byg-page-content li { margin-bottom: 0.3em; }
.byg-articles-col blockquote {
  border-left: 3px solid var(--accent);
  margin: 1.5em 0;
  padding: 0.5em 0 0.5em 1.2em;
  color: var(--text-mid);
  font-style: italic;
}
.byg-articles-col strong,
.byg-page-content strong { color: var(--text); }
.byg-articles-col a,
.byg-page-content a { color: var(--accent); text-decoration: underline; }

/* Gutenberg-specifikt */
.byg-articles-col .wp-block-heading:first-child,
.byg-articles-col > h2:first-child { margin-top: 0; }

/* ── Utility ────────────────────────────────────────────────────────────────── */
.byg-section-inner { max-width: var(--max-width); margin: 0 auto; }
