/* 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: 56px; width: auto; }
.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; }
