/* Brandvagter.dk — undersider design system */
:root {
  --red: #e30613;
  --primary-red: #e30613;
  --navy: #0a192f;
  --dark-blue: #0a192f;
  --white: #ffffff;
  --light: #f6f4f1;
  --off-white: #f6f4f1;
  --paper: #f6f4f1;
  --ink: #1c2430;
  --muted: #5c6778;
  --line: #e4e0db;
  --header-h: 72px;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body { margin: 0; font-family: Poppins, Arial, sans-serif; color: var(--ink); line-height: 1.65; font-size: 17px; background: #fff; padding-top: var(--header-h); }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.container { width: min(1160px, calc(100% - 40px)); margin: auto; }

.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.2) blur(10px);
}
.nav {
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  position: relative;
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { display: block; width: auto; height: 40px; }
.links { display: flex; gap: 4px; align-items: center; }
.links a {
  font-size: 14px; font-weight: 600; text-decoration: none;
  padding: 10px 14px; border-radius: 8px; min-height: 44px;
  display: inline-flex; align-items: center;
}
.links a:hover { color: var(--red); }
.cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--red); color: #fff !important;
  padding: 12px 20px; text-decoration: none; font-weight: 700;
  border: 0; cursor: pointer; border-radius: 10px; min-height: 44px;
  transition: transform .18s ease, background .18s ease;
}
.cta:hover { background: #c10510; transform: translateY(-1px); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--navy); }

.hero {
  min-height: 520px; display: grid; align-items: center;
  background: linear-gradient(105deg, rgba(6,16,30,.92) 0%, rgba(10,25,47,.7) 50%, rgba(10,25,47,.32) 100%),
              url('brandvagt-hero.webp') center/cover;
  color: #fff;
  padding: 48px 0 64px;
}
.hero h1, h1.page-title {
  margin: 10px 0 14px;
  color: #fff;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-transform: none;
  font-weight: 800;
}
.hero p { max-width: 720px; font-size: clamp(17px, 2vw, 21px); font-weight: 500; line-height: 1.5; color: #e8edf4; }
.eyebrow {
  color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.dark-section .eyebrow, .hero .eyebrow, .contact .eyebrow, .network .eyebrow, .city-proof .eyebrow { color: #ffb4b8; }

.section { padding: 80px 0; }
.alt { background: var(--light); }
h2 {
  color: var(--navy);
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.2;
  margin: 8px 0 18px;
  letter-spacing: -0.02em;
}
.grid, .sector-grid, .quotes, .steps, .network-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.card, .sector, .quote, .step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
}
.card h3, .sector h3, .step h3 { margin-top: 0; color: var(--navy); font-size: 20px; }
.sector a { color: var(--red); font-weight: 700; text-decoration: none; }
.quote blockquote { margin: 0; font-size: 17px; }
.quote cite { display: block; margin-top: 16px; color: var(--navy); font-style: normal; font-weight: 700; }
.dark-section { background: var(--navy); color: #fff; }
.dark-section h2, .dark-section h3 { color: #fff; }
.dark-section .step, .city-proof .step { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); color: #fff; }
.split { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(280px,.95fr); gap: 48px; align-items: start; }
.checklist { list-style: none; padding: 0; margin: 24px 0; }
.checklist li { position: relative; padding: 12px 0 12px 32px; border-bottom: 1px solid var(--line); }
.checklist li:before { content: '✓'; position: absolute; left: 0; color: var(--red); font-weight: 800; }
.process-number {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: 10px; background: var(--red); color: #fff; font-weight: 800; margin-bottom: 14px;
}
.long-copy p { margin: 0 0 16px; color: var(--muted); }

.network { background: #06101e; color: #fff; padding: 64px 0; }
.network h2 { color: #fff; }
.network-card {
  display: block; background: rgba(255,255,255,.04); color: #fff; padding: 22px;
  text-decoration: none; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); font-weight: 700;
}
.network-card:hover { border-color: var(--red); }
.network-card small { display: block; color: #aeb9c8; font-weight: 500; margin-top: 6px; }
.tags, .sources, .related { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 28px; }
.tags a, .related a { color: var(--navy); font-weight: 700; text-decoration: none; }
.tags a:hover, .related a:hover { color: var(--red); }
.contact { background: var(--navy); color: #fff; }
.contact h2 { color: #fff; }
.contact a { color: #fff; }

.footer { background: #040a14; color: #c5ced9; padding: 48px 0 28px; font-size: 14px; }
.footer p { margin: 6px 0 0; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: #ffb4b8; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1.2fr; gap: 28px; align-items: start; }
.footer nav { text-align: left; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer strong { color: #fff; display: block; margin-bottom: 8px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 8px; }
.faq summary { cursor: pointer; color: var(--navy); font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.city-intro { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(280px,.85fr); gap: 48px; align-items: start; }
.coverage-box { background: var(--navy); color: #fff; padding: 28px; border-radius: var(--radius); }
.coverage-box h3 { color: #fff; margin-top: 0; }
.coverage-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.coverage-list span, .coverage-list a {
  display: inline-flex; align-items: center; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16); padding: 8px 12px; color: #fff; text-decoration: none;
  font-size: 13px; border-radius: 999px; min-height: 36px;
}
.coverage-list a:hover { background: #fff; color: var(--navy); }
.contact-strip { background: var(--light); padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.contact-strip h2 { font-size: 26px; margin: 0 0 4px; }
.contact-strip p { margin: 0; color: var(--muted); }

.service-feature { display: grid; grid-template-columns: 1fr 1fr; min-height: 440px; }
.service-feature.reverse .feature-image { order: 2; }
.feature-image { min-height: 400px; background: #d9e0e8 center/cover no-repeat; }
.feature-copy { padding: 64px max(32px, calc((100vw - 1160px) / 2)); display: flex; flex-direction: column; justify-content: center; }
.feature-copy h2 { font-size: clamp(26px, 3.4vw, 36px); }
.feature-copy p { max-width: 640px; color: var(--muted); }
.feature-copy .text-link { color: var(--red); font-weight: 700; text-decoration: none; }
.feature-copy .checklist { max-width: 640px; }
.service-feature.alt-feature .feature-copy { background: var(--light); }
.local-scenarios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.local-scenario { background: #fff; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.local-scenario h3 { color: var(--navy); margin-top: 0; }
.local-scenario a { color: var(--red); font-weight: 700; text-decoration: none; }
.city-proof { background: var(--navy); color: #fff; padding: 72px 0; }
.city-proof h2 { color: #fff; }
.city-proof .steps { grid-template-columns: repeat(4, 1fr); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
@media (max-width: 850px) {
  .city-intro, .service-feature, .split { grid-template-columns: 1fr; }
  .service-feature.reverse .feature-image { order: 0; }
  .feature-image { min-height: 240px; }
  .feature-copy { padding: 48px 24px; }
  .contact-strip .container { align-items: flex-start; flex-direction: column; }
  .local-scenarios, .city-proof .steps, .network-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .links {
    display: none; position: absolute; left: 0; right: 0; top: var(--header-h);
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 12px 20px 20px;
  }
  .links.is-open { display: flex; }
  .grid, .sector-grid, .quotes, .steps, .network-grid, .split { grid-template-columns: 1fr; }
  .hero { min-height: 420px; }
  .section { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; }
}

.crumbs { font-size: 0.88rem; padding: 16px 0 0; color: #5b6573; }
.crumbs a { color: var(--navy); font-weight: 600; text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.sitemap-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 6px 28px; margin-top: 18px; }
.sitemap-cols a { display: block; padding: 6px 0; color: var(--navy); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.sitemap-cols a:hover { color: var(--red); }

.header.is-scrolled { box-shadow: 0 10px 28px rgba(10,25,47,.14); background: #fff; }
.header.is-scrolled .logo img { height: 34px; }
.ss-copy { background: #ff0000; color: #fff; text-align: center; padding: 14px 16px; font-size: 13px; font-weight: 600; }
.ss-copy a { color: #fff; }
.ss-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.ss-reveal.is-visible, .card.is-visible { opacity: 1; transform: none; }
.cta:hover { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) {
  .ss-reveal { opacity: 1 !important; transform: none !important; }
}

@keyframes ss-fallback-show { to { opacity: 1; transform: none; } }
.ss-reveal { animation: ss-fallback-show 0.01s linear 0.85s forwards; }
