/* Nabogo v2 — Design system */
:root {
  --brand-green: #00a673;
  --brand-green-hover: #00915f;
  --brand-green-dim: rgba(0, 166, 115, 0.08);
  --brand-blue: #2d75f6;
  --brand-blue-hover: #1f5fd4;
  --brand-blue-dim: rgba(45, 117, 246, 0.08);
  --accent-amber: #ee7c1b;
  --accent-red: #dc3232;
  --accent-red-hover: #c12525;
  --accent-red-dim: rgba(220, 50, 50, 0.08);
  --accent-red-soft: #fdecec;

  --text-primary: #1b2129;
  --text-secondary: #5a6470;
  --text-muted: #8a95a3;
  --text-inverse: #ffffff;

  --bg-page: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-surface: #ffffff;
  --bg-dark: #0f1a2b;

  --border: #e3e8ef;
  --border-strong: #ced5df;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --shadow-sm: 0 1px 2px rgba(15, 26, 43, 0.04), 0 1px 3px rgba(15, 26, 43, 0.06);
  --shadow: 0 4px 12px rgba(15, 26, 43, 0.06), 0 2px 4px rgba(15, 26, 43, 0.04);
  --shadow-lg: 0 12px 32px rgba(15, 26, 43, 0.1), 0 4px 8px rgba(15, 26, 43, 0.05);

  --container: 1200px;
  --container-narrow: 920px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background: var(--bg-page);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-blue); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--brand-blue-hover); }

/* Typography scale */
h1, h2, h3, h4 { color: var(--text-primary); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; }
p { color: var(--text-secondary); }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-green);
  margin-bottom: 0.75rem;
}
.lead { font-size: 1.2rem; color: var(--text-secondary); max-width: 720px; line-height: 1.55; }

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

/* Sections */
section { padding: clamp(64px, 9vw, 120px) 0; }
section.tight { padding: clamp(40px, 5vw, 64px) 0; }
section.soft { background: var(--bg-soft); }
section.dark { background: var(--bg-dark); color: var(--text-inverse); }
section.dark h1, section.dark h2, section.dark h3 { color: var(--text-inverse); }
section.dark p { color: rgba(255,255,255,0.75); }

/* ---- Navigation ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; max-width: var(--container); margin: 0 auto; gap: 18px; }
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; flex-shrink: 1; }
.nav-links > li { position: relative; }
.nav-links a { color: var(--text-primary); font-weight: 500; font-size: 0.92rem; white-space: nowrap; }
.nav-links a:hover { color: var(--brand-green); }
.nav-links .has-dropdown > a::after {
  content: ''; display: inline-block; margin-left: 5px; vertical-align: middle;
  width: 0; height: 0;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 4px solid currentColor; opacity: 0.6;
  transition: transform .15s;
}
.nav-links .has-dropdown:hover > a::after { transform: rotate(180deg); }
.nav-links .has-dropdown { padding: 14px 0; margin: -14px 0; }
.nav-links .dropdown {
  position: absolute; top: 100%; left: -16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(15,26,43,0.12);
  padding: 10px;
  min-width: 260px;
  list-style: none;
  opacity: 0; visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
  z-index: 60;
}
/* Bridge: an invisible layer between the parent link and the dropdown so cursor doesn't lose hover */
.nav-links .dropdown::before {
  content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 14px;
}
.nav-links .has-dropdown:hover > .dropdown,
.nav-links .has-dropdown:focus-within > .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-links .dropdown a {
  display: block; padding: 12px 14px; border-radius: var(--radius-sm);
  font-size: 0.92rem; line-height: 1.4;
}
.nav-links .dropdown a:hover { background: var(--brand-green-dim); color: var(--brand-green); }
.nav-links .dropdown a strong { display: block; font-weight: 600; color: var(--text-primary); margin-bottom: 2px; }
.nav-links .dropdown a:hover strong { color: var(--brand-green); }
.nav-links .dropdown a span { display: block; font-size: 0.78rem; color: var(--text-muted); }
.nav-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-right .btn { padding: 10px 18px; font-size: 0.9rem; }
.lang-switch { font-size: 0.78rem; }
.lang-switch a { padding: 3px 7px; }

@media (max-width: 1180px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 0.88rem; }
}
@media (max-width: 1080px) {
  .nav-right .lang-switch { display: none; }
}
.lang-switch {
  display: flex; gap: 4px; font-size: 0.82rem; font-weight: 700; color: var(--accent-red); letter-spacing: 0.05em;
}
.lang-switch a { color: var(--accent-red); padding: 4px 8px; border-radius: 4px; transition: background .15s, color .15s; }
.lang-switch a:hover { background: rgba(220,50,50,0.08); color: var(--accent-red); }
.lang-switch a.active { background: var(--accent-red); color: white; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle svg { width: 24px; height: 24px; color: var(--text-primary); }

@media (max-width: 960px) {
  .nav-links, .nav-right .lang-switch { display: none; }
  .nav-toggle { display: block; }
  /* Disable backdrop-filter on mobile — it creates a containing block that breaks position:fixed children */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: white; }
  .nav.mobile-open .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; top: 60px; left: 0; right: 0; bottom: 0;
    background: white; border-top: 1px solid var(--border);
    padding: 12px 0 80px; overflow-y: auto;
    z-index: 60;
  }
  .nav.mobile-open .nav-links li { padding: 0 24px; list-style: none; }
  .nav.mobile-open .nav-links a {
    display: block; padding: 16px 0;
    border-bottom: 1px solid var(--bg-soft);
    font-size: 1.05rem; font-weight: 500;
    color: var(--text-primary);
  }
  .nav.mobile-open .nav-links a:hover { color: var(--brand-green); }
  .nav.mobile-open .nav-links li:last-child a { border-bottom: 0; }
  /* On mobile, expand dropdowns inline */
  .nav.mobile-open .nav-links .has-dropdown > a::after { display: none; }
  .nav.mobile-open .nav-links .dropdown {
    display: block; position: static; box-shadow: none; border: 0;
    padding: 0 0 0 16px; margin: 0; min-width: auto;
  }
  .nav.mobile-open .nav-links .dropdown a {
    padding: 12px 0; font-size: 0.95rem;
  }
  .nav.mobile-open .nav-links .dropdown a span { display: none; }
  /* Lang switch — render inside the menu overlay as a separate floating block */
  .nav.mobile-open .lang-switch {
    display: flex; gap: 6px; padding: 16px 24px;
    flex-wrap: wrap;
    position: fixed; left: 0; right: 0; bottom: 0;
    background: white; border-top: 1px solid var(--border);
    z-index: 61;
  }
  .nav.mobile-open .lang-switch a {
    padding: 8px 14px; border: 1px solid var(--accent-red);
    border-radius: 999px; font-size: 0.85rem; color: var(--accent-red); background: white;
  }
  .nav.mobile-open .lang-switch a.active {
    background: var(--accent-red); color: white; border-color: var(--accent-red);
  }
}

@media (max-width: 600px) {
  .nav { padding: 12px 16px; gap: 12px; }
  .nav-logo img { height: 28px; }
  .nav-right .btn { padding: 8px 14px; font-size: 0.85rem; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--brand-green); color: white; box-shadow: 0 6px 16px rgba(0,166,115,0.25); }
.btn-primary:hover { background: var(--brand-green-hover); color: white; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,166,115,0.32); }
.btn-secondary { background: white; color: var(--text-primary); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--brand-green); color: var(--brand-green); }
.btn-red { background: var(--accent-red); color: white; box-shadow: 0 6px 16px rgba(220,50,50,0.22); }
.btn-red:hover { background: var(--accent-red-hover); color: white; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(220,50,50,0.3); }
.btn-ghost { background: transparent; color: var(--brand-green); padding-left: 0; padding-right: 0; }
.btn-ghost:hover { color: var(--brand-green-hover); }
.btn-ghost::after { content: ' →'; transition: transform .15s ease; display: inline-block; }
.btn-ghost:hover::after { transform: translateX(4px); }

/* ---- Hero ---- */
.hero { padding: clamp(80px, 12vw, 140px) 0 clamp(64px, 10vw, 120px); background: linear-gradient(180deg, #f7faff 0%, #ffffff 60%); position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -100px; right: -80px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(45,117,246,0.12) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -80px; left: -60px; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0,166,115,0.12) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-title { font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.08; letter-spacing: -0.025em; margin-bottom: 20px; }
.hero-subtitle { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 32px; max-width: 560px; line-height: 1.55; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  background: #0f1a2b;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-visual video, .hero-visual img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 16/9; max-height: none; }
}

/* ---- Stat row ---- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 32px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-top: -48px;
  position: relative;
  z-index: 2;
}
.stat { text-align: left; }
.stat .val { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; color: var(--text-primary); line-height: 1; letter-spacing: -0.02em; }
.stat .label { font-size: 0.85rem; color: var(--text-muted); margin-top: 6px; letter-spacing: 0.02em; }
@media (max-width: 720px) { .stat-row { grid-template-columns: repeat(2, 1fr); margin-top: 0; } }

/* ---- Audience entry cards ---- */
.entry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.entry-card {
  display: flex; flex-direction: column;
  padding: 36px 32px; background: white; border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all .2s ease;
  text-decoration: none; color: inherit;
  position: relative;
  overflow: hidden;
}
.entry-card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--brand-green), var(--brand-blue));
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.entry-card:hover { border-color: var(--brand-green); transform: translateY(-3px); box-shadow: var(--shadow-lg); color: inherit; }
.entry-card:hover::before { transform: scaleX(1); }
.entry-card .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-green-dim); color: var(--brand-green); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.entry-card .icon svg { width: 26px; height: 26px; }
.entry-card h3 { margin-bottom: 8px; }
.entry-card p { margin-bottom: 20px; font-size: 0.95rem; }
.entry-card .link { margin-top: auto; font-weight: 600; color: var(--brand-green); font-size: 0.92rem; }
.entry-card .link::after { content: ' →'; transition: transform .2s ease; display: inline-block; }

/* ============ Subtle hand-drawn illustration accents ============
   Decorative only — low opacity, pointer-events disabled, hidden on small mobile. */
.illust-accent {
  position: absolute;
  pointer-events: none;
  opacity: 0.28;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  transition: opacity .3s ease;
}
.entry-card:hover .illust-accent { opacity: 0.4; }
.illust-bil { background-image: url('/assets/img/illustrations/bil-med-passagerer.png'); }
.illust-mand { background-image: url('/assets/img/illustrations/mand-med-telefon.png'); }
.illust-dame { background-image: url('/assets/img/illustrations/dame-med-kaffe.png'); }
.illust-haand { background-image: url('/assets/img/illustrations/app-haand-telefon.png'); }
.illust-tre { background-image: url('/assets/img/illustrations/tre-personer-rat.png'); }
.illust-rejseplan { background-image: url('/assets/img/illustrations/rejseplan.png'); }

/* Default placement on entry-cards: top-right corner, partly clipped */
.entry-card .illust-accent {
  top: 4px; right: 4px;
  width: 90px; height: 115px;
  opacity: 0.22;
}
.entry-card:hover .illust-accent { opacity: 0.36; }
@media (max-width: 600px) {
  .illust-accent { display: none; }
}
.entry-card:hover .link::after { transform: translateX(4px); }
@media (max-width: 820px) { .entry-grid { grid-template-columns: 1fr; } }

/* ---- Value props / feature grid ---- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature {
  padding: 28px; border: 1px solid var(--border); border-radius: var(--radius);
  background: white;
}
.feature .num {
  font-size: 0.8rem; font-weight: 700; color: var(--brand-green);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px;
}
.feature h4 { margin-bottom: 10px; }
.feature p { font-size: 0.95rem; }
@media (max-width: 820px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---- Case cards ---- */
.case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.case-card {
  position: relative; overflow: hidden;
  background: white; border: 1px solid var(--border); border-radius: var(--radius);
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  transition: all .2s ease;
}
.case-card:hover { border-color: var(--brand-green); transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.case-card .case-media {
  aspect-ratio: 16/10; background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.case-card .case-media img { max-height: 80px; max-width: 80%; width: auto; height: auto; object-fit: contain; }
.case-card .case-body { padding: 22px; flex: 1; }
.case-card .case-tag {
  display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 4px 10px; border-radius: var(--radius-pill);
  background: var(--brand-green-dim); color: var(--brand-green); margin-bottom: 12px;
}
.case-card .case-tag.pilot { background: rgba(238,124,27,0.12); color: var(--accent-amber); }
.case-card .case-tag.blue { background: var(--brand-blue-dim); color: var(--brand-blue); }
.case-card h4 { margin-bottom: 6px; font-size: 1.1rem; }
.case-card .case-quote { color: var(--text-secondary); font-size: 0.95rem; margin-top: 12px; font-style: italic; }
.case-card .case-meta { font-size: 0.85rem; color: var(--text-muted); }

/* ---- Quote / testimonial ---- */
.quote-block {
  background: white; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 48px);
  box-shadow: var(--shadow);
}
.quote-block p { font-size: clamp(1.2rem, 2vw, 1.5rem); color: var(--text-primary); line-height: 1.45; font-weight: 500; }
.quote-author { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.quote-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote-author .name { font-weight: 700; color: var(--text-primary); font-size: 0.95rem; }
.quote-author .role { color: var(--text-muted); font-size: 0.85rem; }

/* ---- Logo strip ---- */
.logo-strip { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; justify-content: center; }
.logo-strip img { height: 40px; width: auto; opacity: 0.75; filter: grayscale(0.2); transition: opacity .15s, filter .15s; }
.logo-strip img:hover { opacity: 1; filter: none; }

/* ---- FAQ (accordion) ---- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
details.faq-item {
  background: white; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 22px; transition: border-color .15s ease;
}
details.faq-item[open] { border-color: var(--brand-green); }
details.faq-item summary {
  list-style: none; cursor: pointer; font-weight: 600; color: var(--text-primary);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 1rem;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--brand-green); font-weight: 400; line-height: 1; }
details.faq-item[open] summary::after { content: '−'; }
details.faq-item .faq-body { margin-top: 14px; color: var(--text-secondary); font-size: 0.96rem; }

/* ---- Forms ---- */
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 0.88rem; color: var(--text-primary); }
.field input, .field select, .field textarea {
  padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; background: white; color: var(--text-primary);
  transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-green); box-shadow: 0 0 0 3px var(--brand-green-dim);
}

/* ---- Banner / synergy-note ---- */
.synergy-note {
  background: linear-gradient(135deg, var(--brand-green-dim) 0%, var(--brand-blue-dim) 100%);
  border: 1px solid rgba(0,166,115,0.15);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
}
.synergy-note .eyebrow { color: var(--brand-blue); }

/* ---- Footer ---- */
.site-footer {
  background: var(--bg-dark); color: rgba(255,255,255,0.75);
  padding: 64px 0 28px;
}
.site-footer a { color: rgba(255,255,255,0.75); }
.site-footer a:hover { color: white; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-col h5 { color: white; font-size: 0.9rem; margin-bottom: 14px; letter-spacing: 0.04em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 0.92rem; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.92rem; margin-top: 12px; max-width: 320px; }
.footer-brand img { height: 32px; filter: brightness(0) invert(1); }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 0.84rem; color: rgba(255,255,255,0.45); flex-wrap: wrap; gap: 12px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---- Utilities ---- */
.text-center { text-align: center; }
.max-w-prose { max-width: 680px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 40px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: var(--radius-pill);
  background: var(--brand-green-dim); color: var(--brand-green);
  font-size: 0.8rem; font-weight: 600;
}

/* ---- Steps ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.step { counter-increment: step; position: relative; padding-top: 56px; }
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-size: 2.4rem; font-weight: 800; color: var(--brand-green); opacity: 0.3;
  letter-spacing: -0.02em;
}
.step h4 { margin-bottom: 8px; }
.step p { font-size: 0.95rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---- Breadcrumb ---- */
.breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--brand-green); }

/* ---- Team grid ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.team-card {
  display: flex; flex-direction: column;
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .15s, box-shadow .15s;
}
.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.team-card .team-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden; background: var(--bg-soft);
}
.team-card .team-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 25%;
}
.team-card .team-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.team-card .team-name { font-weight: 700; font-size: 1rem; color: var(--text-primary); }
.team-card .team-role {
  color: var(--text-muted); font-size: 0.85rem; margin-top: 2px;
  margin-bottom: 12px; letter-spacing: 0.01em;
}
.team-card .team-flag {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em;
  background: var(--brand-green-dim); color: var(--brand-green);
  text-transform: uppercase;
  align-self: flex-start;
}
.team-card .team-flag.nl { background: rgba(255,105,0,0.1); color: #ff6900; }
.team-card .team-flag.no { background: rgba(200,16,46,0.1); color: #c8102e; }
.team-card .team-contact { margin-top: auto; padding-top: 14px; font-size: 0.85rem; line-height: 1.7; }
.team-card .team-contact a { color: var(--brand-blue); display: block; word-break: break-all; }
.team-card .team-contact a:hover { color: var(--brand-blue-hover); }

.team-section + .team-section { margin-top: 40px; }
.team-section h3 {
  font-size: 1.2rem; margin-bottom: 16px; color: var(--text-primary);
  display: flex; align-items: center; gap: 10px;
}
.team-section h3 .team-flag {
  background: var(--brand-green-dim); color: var(--brand-green);
  font-size: 0.78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
@media (max-width: 600px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .team-card .team-body { padding: 14px; }
}

/* ---- Subhero (non-home pages) ---- */
.subhero {
  padding: clamp(80px, 10vw, 120px) 0 clamp(48px, 6vw, 72px);
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
}
.subhero h1 { max-width: 820px; margin-bottom: 16px; }
.subhero .lead { max-width: 720px; }

/* ============ Business model block ============ */
.model-block {
  background: linear-gradient(180deg, #f5fafd 0%, #ecf3fa 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px);
  position: relative;
  overflow: hidden;
}
.model-block::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(0,166,115,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.model-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 28px;
}
@media (max-width: 760px) { .model-grid { grid-template-columns: 1fr; } }
.model-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
  z-index: 1;
}
.model-item .model-num {
  display: inline-block;
  background: var(--brand-green-dim);
  color: var(--brand-green);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.model-item h4 { font-size: 1.02rem; margin-bottom: 8px; }
.model-item p { font-size: 0.9rem; color: var(--text-secondary); margin: 0; }
.model-footer {
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ============ Sub-segment cards (3 tracks) ============ */
.track-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 32px;
}
@media (max-width: 900px) { .track-grid { grid-template-columns: 1fr; } }
.track-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  transition: all .2s ease;
  position: relative;
}
.track-card:hover {
  border-color: var(--brand-green);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.track-card .track-tag {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700;
  color: var(--brand-green); letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.track-card.track-blue .track-tag { color: var(--brand-blue); }
.track-card.track-orange .track-tag { color: #ee7c1b; }
.track-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.track-card .track-lead { font-size: 0.95rem; color: var(--text-secondary); margin-bottom: 16px; }
.track-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 0; margin: 0 0 18px 0; }
.track-card ul li { font-size: 0.88rem; color: var(--text-secondary); padding-left: 22px; position: relative; }
.track-card ul li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 12px; height: 2px;
  background: var(--brand-green);
}
.track-card.track-blue ul li::before { background: var(--brand-blue); }
.track-card.track-orange ul li::before { background: #ee7c1b; }
.track-card .track-meta {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}
.track-card .track-meta strong { color: var(--text-primary); }

/* Price-anchor pill — used in B2B pages */
.price-anchor {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,166,115,0.1);
  color: var(--brand-green);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 16px;
  border-radius: 999px;
  margin-top: 12px;
}
.price-anchor::before {
  content: 'kr';
  background: var(--brand-green);
  color: white;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Model-grid 4-column variant for "Hvem betaler" */
.model-grid.model-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1000px) {
  .model-grid.model-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .model-grid.model-grid-4 { grid-template-columns: 1fr; }
}
.model-item .model-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.model-item .model-icon svg { width: 22px; height: 22px; }

/* User-callout box (sits below the 4-partner grid) */
.user-callout {
  margin-top: 24px;
  display: flex;
  gap: 18px;
  background: linear-gradient(135deg, var(--brand-green) 0%, #00805a 100%);
  color: white;
  border-radius: var(--radius);
  padding: 24px 28px;
  position: relative;
  z-index: 1;
}
.user-callout-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
}
.user-callout-icon svg { width: 22px; height: 22px; color: white; }
.user-callout-body { flex: 1; }
.user-callout-body h4 { color: white; margin-bottom: 6px; font-size: 1.1rem; }
.user-callout-body p { color: rgba(255,255,255,0.9); font-size: 0.95rem; margin: 0; }
@media (max-width: 540px) {
  .user-callout { flex-direction: column; gap: 12px; padding: 20px 22px; }
}

/* ============ Value-prop section (Tre løfter) ============ */
.value-prop { padding: clamp(72px, 9vw, 110px) 0; background: white; }
.vp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .vp-grid { grid-template-columns: 1fr; } }
.vp-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.vp-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.vp-icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.vp-icon svg { width: 26px; height: 26px; }
.vp-icon-blue { background: rgba(45,117,246,0.1); color: var(--brand-blue); }
.vp-icon-green { background: rgba(0,166,115,0.1); color: var(--brand-green); }
.vp-icon-orange { background: rgba(238,124,27,0.12); color: #ee7c1b; }
.vp-card h3 { margin-bottom: 12px; font-size: 1.2rem; }
.vp-card p { font-size: 0.96rem; margin-bottom: 16px; }
.vp-meta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.vp-meta strong { color: var(--text-primary); font-weight: 700; }

/* ============ Partner-grid (auto-rendered logo wall) ============ */
.pg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}
@media (max-width: 600px) {
  .pg-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
}
.pg-strip {
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: center; align-items: center;
}
.pg-tile {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 80px;
  display: flex; align-items: center; justify-content: center;
  padding: 14px;
  transition: transform .2s ease, box-shadow .2s ease;
  overflow: hidden;
}
.pg-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15,26,43,0.08);
}
.pg-tile img {
  max-width: 100%;
  max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  filter: grayscale(0.15);
  opacity: 0.92;
  transition: filter .25s, opacity .25s;
}
.pg-tile:hover img { filter: none; opacity: 1; }
.pg-tile.pg-tile-fallback {
  font-weight: 700;
  font-size: 0.88rem;
  text-align: center;
  line-height: 1.2;
}
.pg-tile.pg-tile-fallback .pg-tile-text {
  color: white;
  padding: 4px 8px;
}
.pg-strip .pg-tile { width: 170px; flex: 0 0 170px; }

/* Dark-tile variant for white-only logos (e.g. Sønderborg) */
.pg-tile.pg-tile-dark {
  border: 0;
}
.pg-tile.pg-tile-dark img {
  filter: none;
  opacity: 1;
}

/* Grouped partner-grid (country → segment) */
.pg-country {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.pg-country:first-child {
  margin-top: 0; padding-top: 0; border-top: 0;
}
.pg-country-header {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 18px;
}
.pg-country-header h3 {
  font-size: 1.4rem;
  margin: 0;
}
.pg-country-count {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}
.pg-seg {
  margin-top: 18px;
}
.pg-seg:first-child {
  margin-top: 0;
}
.pg-seg-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

/* Testimonial / story cards (used on segment pages, not just app) */
.uj-stories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 32px; }
.uj-story {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  display: flex; flex-direction: column;
  position: relative;
}
.uj-story .quote {
  font-size: 1rem; line-height: 1.55;
  color: var(--text-primary);
  margin-bottom: 22px;
  flex: 1;
}
.uj-story .quote::before { content: '"'; font-size: 2.2rem; color: var(--brand-green); line-height: 0.4; margin-right: 4px; vertical-align: -10px; }
.uj-story .author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.uj-story .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 800; font-size: 0.95rem;
  flex-shrink: 0;
}
.uj-story .author-info .name { font-weight: 700; font-size: 0.92rem; }
.uj-story .author-info .role { font-size: 0.8rem; color: var(--text-muted); }

/* ============ Business case calculator ============ */
.bc-calc { padding: clamp(64px, 9vw, 110px) 0; background: var(--bg-soft); }
.bc-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}
.bc-tab {
  background: transparent; border: 0; cursor: pointer;
  padding: 12px 18px; font-size: 0.95rem; font-weight: 600;
  color: var(--text-muted); position: relative;
  border-bottom: 3px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.bc-tab:hover { color: var(--text-primary); }
.bc-tab.active {
  color: var(--brand-green);
  border-bottom-color: var(--brand-green);
}
@media (max-width: 720px) {
  .bc-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .bc-tab { white-space: nowrap; flex-shrink: 0; }
}

.bc-shell {
  display: grid;
  grid-template-columns: 320px 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.bc-shell .bc-inputs { grid-column: 1; grid-row: 1 / span 2; }
.bc-shell .bc-output { grid-column: 2; grid-row: 1; }
.bc-shell .bc-animation { grid-column: 2; grid-row: 2; }

@media (max-width: 900px) {
  .bc-shell { grid-template-columns: 1fr; padding: 22px; }
  .bc-shell .bc-inputs,
  .bc-shell .bc-output,
  .bc-shell .bc-animation { grid-column: 1; grid-row: auto; }
}

.bc-inputs {
  display: flex; flex-direction: column; gap: 22px;
  padding-right: 24px;
  border-right: 1px solid var(--border);
}
@media (max-width: 900px) {
  .bc-inputs { border-right: 0; padding-right: 0; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
}
.bc-input-row { display: flex; flex-direction: column; gap: 8px; }
.bc-input-row label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 0.85rem; font-weight: 600; color: var(--text-secondary);
}
.bc-input-row label output {
  color: var(--brand-green); font-weight: 800; font-size: 1rem;
}
.bc-input-row input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px;
  background: var(--bg-soft); border-radius: 3px;
  outline: none;
}
.bc-input-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  background: var(--brand-green);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,166,115,0.4);
  transition: transform .1s ease;
}
.bc-input-row input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
.bc-input-row input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  background: var(--brand-green);
  border: 0; border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,166,115,0.4);
}
.bc-input-row select {
  padding: 10px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.92rem;
  background: white;
  cursor: pointer;
}

.bc-headline {
  background: linear-gradient(135deg, var(--brand-green) 0%, #00805a 100%);
  border-radius: var(--radius);
  padding: 24px 28px;
  color: white;
  margin-bottom: 18px;
}
.bc-big-num {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 4px;
  transition: opacity .15s ease;
}
.bc-big-num.bc-flash { animation: bcFlash 0.4s ease; }
@keyframes bcFlash {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); color: #ffe066; }
  100% { transform: scale(1); }
}
.bc-big-label {
  font-size: 0.95rem; color: rgba(255,255,255,0.9);
  font-weight: 500;
}
.bc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.bc-cell {
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.bc-cell-num {
  font-size: 1.4rem; font-weight: 800;
  color: var(--brand-green);
  line-height: 1;
  margin-bottom: 4px;
}
.bc-cell-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.3;
}
.bc-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 14px;
  font-style: italic;
}

.bc-animation {
  background: var(--bg-soft);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  min-height: 200px;
}
.bc-svg { width: 100%; height: auto; max-height: 320px; }
.bc-car {
  transition: opacity .5s ease, transform .6s ease;
  transform-origin: 30px 30px;
}
.bc-car.bc-car-fade {
  opacity: 0;
  transform: scale(0.6) translateY(-30px);
}
.bc-saved-counter rect {
  transition: width .3s ease;
}

.bc-disclaimer {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 18px;
  background: rgba(238,124,27,0.06);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(238,124,27,0.2);
}

/* ============================================================
   ASSUMPTIONS BANNER — top of every calculator
   "Det her er antagelser, ikke konkrete tal for jeres geografi"
   ============================================================ */
.bc-assumptions-banner {
  background: linear-gradient(135deg, rgba(238,124,27,0.08) 0%, rgba(238,124,27,0.04) 100%);
  border: 1px solid rgba(238,124,27,0.25);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.bc-assumptions-banner-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1;
}
.bc-assumptions-banner-body {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.5;
}
.bc-assumptions-banner-body strong { color: var(--text-primary); }
.bc-assumptions-banner-body a {
  color: var(--brand-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================
   "INDIKATIVT" PILL — appears next to fabricated/estimated outputs
   ============================================================ */
.bc-indikativ {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(238,124,27,0.95);
  background: rgba(238,124,27,0.12);
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
  cursor: help;
  border: 1px solid rgba(238,124,27,0.3);
}

/* ============================================================
   "FÅ DEN TILBUNDSGÅENDE ANALYSE" CTA — appears at bottom of each tab
   This is what makes the email-gate worth the price for the user
   ============================================================ */
.bc-deep-cta {
  margin-top: 22px;
  background: linear-gradient(135deg, var(--brand-green, #2e7d5a) 0%, #245d44 100%);
  color: white;
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}
@media (max-width: 720px) {
  .bc-deep-cta { grid-template-columns: 1fr; }
}
.bc-deep-cta-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 6px;
}
.bc-deep-cta-body {
  font-size: 0.92rem;
  opacity: 0.95;
  line-height: 1.5;
  margin: 0;
}
.bc-deep-cta-body strong { color: white; font-weight: 700; }
.bc-deep-cta-list {
  margin: 8px 0 0;
  padding-left: 0;
  list-style: none;
  font-size: 0.88rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0.95;
}
.bc-deep-cta-list li::before {
  content: "✓ ";
  font-weight: 700;
  margin-right: 6px;
}
.bc-deep-cta-btn {
  background: white;
  color: var(--brand-green, #2e7d5a);
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.95rem;
  transition: transform 0.15s;
}
.bc-deep-cta-btn:hover { transform: translateY(-1px); }

/* ============================================================
   EMAIL GATE — sits in front of locked calculator sections
   ============================================================ */
.calc-locked {
  display: none !important;
}
.calc-gate {
  background: linear-gradient(160deg, #f8fbf9 0%, #ffffff 60%, #fafcfb 100%);
  padding: 64px 16px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: opacity 0.25s;
}
.calc-gate-fading-out { opacity: 0; }
.calc-gate-card {
  max-width: 540px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: 0 6px 28px rgba(0,0,0,0.06);
  text-align: center;
}
.calc-gate-icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
}
.calc-gate-headline {
  margin: 0 0 8px;
  font-size: 1.4rem;
  line-height: 1.25;
  color: var(--text-primary);
}
.calc-gate-sub {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 auto 22px;
  max-width: 440px;
}
.calc-gate-form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.calc-gate-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 540px) {
  .calc-gate-row { grid-template-columns: 1fr; }
}
.calc-gate-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
}
.calc-gate-form input {
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background: white;
  color: var(--text-primary);
  font-weight: 400;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.calc-gate-form input:focus {
  outline: none;
  border-color: var(--brand-green, #2e7d5a);
  box-shadow: 0 0 0 3px rgba(46,125,90,0.12);
}
.calc-gate-honeypot {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.calc-gate-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}
.calc-gate-submit { flex-shrink: 0; }
.calc-gate-status {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.calc-gate-status-err {
  color: #c0392b;
  font-weight: 500;
}
.calc-gate-fineprint {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 6px 0 0;
}
.bc-sources {
  margin-top: 24px;
  font-size: 0.88rem;
}
.bc-sources summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--brand-blue);
  padding: 8px 0;
}
.bc-sources ul { margin: 12px 0 0 20px; color: var(--text-secondary); }
.bc-sources li { margin-bottom: 8px; }

/* ============ Business case animation v2 ============ */
.bc-animation {
  background: linear-gradient(135deg, #f0f4fa 0%, #e8eef7 100%);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bc-anim-stage {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}

.bc-anim-col {
  display: flex; flex-direction: column;
  gap: 10px;
  align-items: center;
}

.bc-anim-label {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--text-muted);
  background: white;
  padding: 4px 12px; border-radius: 999px;
  border: 1px solid var(--border);
}
.bc-anim-label--green {
  color: white; background: var(--brand-green); border-color: var(--brand-green);
}

.bc-anim-arrow {
  align-self: center;
}
.bc-anim-arrow svg { width: 50px; height: 60px; }

.bc-lot {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  background: linear-gradient(180deg, #2c3445 0%, #1f2535 100%);
  padding: 12px;
  border-radius: 10px;
  width: 100%;
  max-width: 200px;
  aspect-ratio: 4/2;
}

.bc-spot {
  background: rgba(255,255,255,0.04);
  border: 1px dashed rgba(255,255,255,0.25);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}

.bc-mini-car {
  width: 70%; height: 65%;
  background: var(--c, #00a673);
  border-radius: 4px;
  position: relative;
  animation: bcCarIdle 4s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
.bc-mini-car::before {
  content: ''; position: absolute;
  top: 25%; left: 15%; right: 15%; height: 35%;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
}
@keyframes bcCarIdle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1px); }
}

.bc-spot--saved {
  background: rgba(0,166,115,0.15);
  border: 2px dashed var(--brand-green);
  animation: bcSavedGlow 2.5s ease-in-out infinite;
}
@keyframes bcSavedGlow {
  0%, 100% { background: rgba(0,166,115,0.15); border-color: rgba(0,166,115,0.5); }
  50% { background: rgba(0,166,115,0.3); border-color: var(--brand-green); }
}
.bc-saved-pulse {
  width: 8px; height: 8px;
  background: var(--brand-green);
  border-radius: 50%;
  animation: bcPulse 1.5s ease-out infinite;
}
@keyframes bcPulse {
  0% { box-shadow: 0 0 0 0 rgba(0,166,115,0.7); }
  70% { box-shadow: 0 0 0 12px rgba(0,166,115,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,166,115,0); }
}
.bc-spot-tag {
  position: absolute;
  bottom: 1px;
  font-size: 6px; font-weight: 800;
  color: var(--brand-green);
  letter-spacing: 0.05em;
  pointer-events: none;
}

.bc-anim-stat {
  font-size: 0.78rem; font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}
.bc-anim-stat--green { color: var(--brand-green); }

.bc-anim-banner {
  background: linear-gradient(90deg, var(--brand-green) 0%, #00805a 100%);
  color: white;
  text-align: center;
  font-weight: 800; font-size: 1.05rem;
  padding: 14px 18px;
  border-radius: 10px;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 20px rgba(0,166,115,0.25);
}

.bc-anim-loop {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 6px; align-items: center;
}
.bc-loop-track {
  display: flex;
  gap: 10px; align-items: center; justify-content: center;
  font-size: 1.6rem;
  flex-wrap: wrap;
}
.bc-loop-item {
  animation: bcLoopFade 5s ease-in-out infinite;
}
.bc-loop-item.bc-loop-home:nth-of-type(1) { animation-delay: 0s; }
.bc-loop-item.bc-loop-arrow:nth-of-type(2) { animation-delay: 0.4s; }
.bc-loop-item.bc-loop-home:nth-of-type(3) { animation-delay: 0.8s; }
.bc-loop-item.bc-loop-arrow:nth-of-type(4) { animation-delay: 1.2s; }
.bc-loop-item.bc-loop-people { animation-delay: 1.6s; }
.bc-loop-item.bc-loop-arrow:nth-of-type(6) { animation-delay: 2.0s; }
.bc-loop-item.bc-loop-car { animation-delay: 2.4s; }
.bc-loop-item.bc-loop-arrow:nth-of-type(8) { animation-delay: 2.8s; }
.bc-loop-item.bc-loop-office { animation-delay: 3.2s; }
@keyframes bcLoopFade {
  0%, 100% { opacity: 0.3; transform: scale(0.95); }
  10%, 30% { opacity: 1; transform: scale(1.1); }
  50% { opacity: 0.6; transform: scale(1); }
}
.bc-loop-caption {
  font-size: 0.78rem; color: var(--text-muted);
  font-style: italic;
}
@media (max-width: 600px) {
  .bc-anim-stage { grid-template-columns: 1fr; gap: 8px; }
  .bc-anim-arrow { transform: rotate(90deg); }
  .bc-loop-track { gap: 6px; font-size: 1.3rem; }
}

/* ============ Business case headline row with BIG total ============ */
.bc-headline-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  margin-bottom: 24px;
}
@media (max-width: 900px) {
  .bc-headline-row { grid-template-columns: 1fr; gap: 16px; align-items: start; }
}
.bc-headline-text { max-width: 660px; }
.bc-headline-total {
  text-align: right;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .bc-headline-total { text-align: left; }
}
.bc-total-num-xl {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, var(--brand-green) 0%, #00805a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bc-total-num-xl.bc-flash {
  animation: bcFlash 0.45s ease;
}
.bc-total-sub {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 8px;
  font-weight: 500;
}
.bc-total-sub strong {
  color: var(--brand-green);
  font-weight: 700;
}
.bc-breakdown-pills {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.bc-pill {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.bc-pill strong {
  color: var(--text-primary);
  font-weight: 700;
}
.bc-pill.bc-pill-co2 {
  background: rgba(0,166,115,0.08);
  border-color: rgba(0,166,115,0.25);
}
.bc-pill.bc-pill-co2 strong { color: var(--brand-green); }

/* Landdistrikt business case — village grid animation */
.bcp-village-stage {
  background: linear-gradient(135deg, #f0f4fa 0%, #e8eef7 100%);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bcp-village-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 14px;
  padding: 12px;
}
.bcp-village {
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--border-strong);
  position: relative;
  transition: background .4s ease, transform .3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bcp-village.covered {
  background: var(--brand-green);
  animation: bcpVillagePulse 2.6s ease-in-out infinite;
  box-shadow: 0 0 0 4px rgba(0,166,115,0.15);
}
.bcp-village.covered::after {
  content: '✓';
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
}
@keyframes bcpVillagePulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(0,166,115,0.15); }
  50% { box-shadow: 0 0 0 8px rgba(0,166,115,0.05); }
}
.bcp-village-legend {
  display: flex; gap: 18px; justify-content: center;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.bcp-legend-item {
  display: inline-flex; align-items: center; gap: 6px;
}
.bcp-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  display: inline-block;
}
.bcp-dot-covered { background: var(--brand-green); }
.bcp-dot-uncovered { background: var(--border-strong); }

/* ============================================================
   EKSPERTUDVALGET — regeringens anbefalinger 2025
   Tre-trins struktur: Problem → Anbefaling → Sådan leverer vi det
   ============================================================ */
.ekspertudvalg {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, #f8fbf9 0%, #ffffff 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.ek-intro {
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
}
.ek-intro h2 {
  margin-top: 8px;
}
.ek-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
@media (max-width: 960px) {
  .ek-steps { grid-template-columns: 1fr; }
}
.ek-step {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.ek-step-action {
  background: linear-gradient(160deg, #f3faf5 0%, #ffffff 100%);
  border-color: rgba(46, 125, 90, 0.25);
  box-shadow: 0 4px 16px rgba(46, 125, 90, 0.08);
}
.ek-step-num {
  position: absolute;
  top: -14px;
  left: 24px;
  background: var(--brand-green, #2e7d5a);
  color: white;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.ek-step-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  margin-top: 4px;
}
.ek-step h3 {
  font-size: 1.18rem;
  margin: 0 0 14px;
  line-height: 1.3;
}
.ek-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ek-bullets li {
  position: relative;
  padding-left: 20px;
  font-size: 0.93rem;
  line-height: 1.5;
  color: var(--text-primary);
}
.ek-bullets li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-green, #2e7d5a);
  font-weight: 700;
}
.ek-quote {
  margin: 14px 0 4px;
  padding: 14px 16px;
  border-left: 3px solid var(--brand-green, #2e7d5a);
  background: rgba(46, 125, 90, 0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.ek-quote p {
  margin: 0 0 6px;
  font-style: italic;
  font-size: 0.94rem;
  color: var(--text-primary);
  line-height: 1.5;
}
.ek-quote cite {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: normal;
}
.ek-quote-strong {
  border-left-width: 4px;
  background: rgba(46, 125, 90, 0.09);
}
.ek-quote-strong p {
  font-size: 1.0rem;
  font-weight: 500;
}
.ek-match-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}
.ek-match {
  background: white;
  border: 1px solid rgba(46, 125, 90, 0.18);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.ek-match-h {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-green, #2e7d5a);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.ek-match-b {
  font-size: 0.88rem;
  color: var(--text-primary);
  line-height: 1.45;
}
.ek-disclaimer {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 880px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Public-sector calculator — twin cards (udbud + anvendt) */
.bcp-twin {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 24px;
}
@media (max-width: 760px) {
  .bcp-twin { grid-template-columns: 1fr; }
  .bcp-twin-arrow { transform: rotate(90deg); }
}
.bcp-twin-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  display: flex; flex-direction: column;
  gap: 6px;
}
.bcp-twin-offered {
  border-color: var(--brand-blue);
  background: linear-gradient(135deg, rgba(45,117,246,0.04) 0%, white 100%);
}
.bcp-twin-used {
  border-color: var(--brand-green);
  background: linear-gradient(135deg, rgba(0,166,115,0.05) 0%, white 100%);
}
.bcp-twin-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.bcp-twin-offered .bcp-twin-label { color: var(--brand-blue); }
.bcp-twin-used .bcp-twin-label { color: var(--brand-green); }
.bcp-twin-num {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-top: 4px;
}
.bcp-twin-offered .bcp-twin-num { color: var(--brand-blue); }
.bcp-twin-used .bcp-twin-num { color: var(--brand-green); }
.bcp-twin-sub {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 2px;
}
.bcp-twin-foot {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  line-height: 1.45;
}
.bcp-twin-arrow {
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 800;
  color: var(--text-muted);
  padding: 0 8px;
}

/* Marginal-value panel inside økonomi tab */
.bcp-margin {
  margin-top: 18px;
  background: linear-gradient(135deg, rgba(45,117,246,0.04) 0%, rgba(0,166,115,0.04) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.bcp-margin-h {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 14px;
  color: var(--text-primary);
}
.bcp-margin-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}
@media (max-width: 700px) {
  .bcp-margin-grid { grid-template-columns: repeat(2, 1fr); }
}
.bcp-margin-step {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  transition: border-color .2s, transform .2s;
}
.bcp-margin-step.bcp-margin-sweet {
  border-color: var(--brand-green);
  background: rgba(0,166,115,0.04);
  transform: translateY(-2px);
}
.bcp-margin-step.bcp-margin-sweet::after {
  content: 'sweet spot';
  position: absolute; top: -8px; right: 8px;
  background: var(--brand-green); color: white;
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 999px;
}
.bcp-margin-budget {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}
.bcp-margin-borgere {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1;
}
.bcp-margin-step.bcp-margin-sweet .bcp-margin-borgere { color: var(--brand-green); }
.bcp-margin-extra {
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-top: 2px;
}
.bcp-margin-foot {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
  font-style: italic;
}

/* Kommune-picker source caption — visible attribution box */
.bcp-kommune-source {
  margin-top: 8px;
  padding: 10px 12px;
  background: rgba(45,117,246,0.06);
  border-left: 3px solid var(--brand-blue);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-secondary);
}
.bcp-kommune-source strong {
  color: var(--text-primary);
  font-weight: 700;
}
.bcp-kommune-source .bcp-source-cite {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-style: italic;
}
.bcp-kommune-source a {
  color: var(--brand-blue);
  text-decoration: underline;
}


/* Fallback avatar for team members without a photo on file. Keeps the card
   grid uniform instead of leaving a hole where the portrait should be. */
.team-card .team-photo.initials {
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-green-dim);
  color: var(--brand-green);
  font-weight: 700; font-size: 2.6rem; letter-spacing: 0.02em;
}
