/* NSK Erhverv: black + logo red, in the style of naur-sir.dk (red top bar, white header,
   square black uppercase buttons, red headings in the footer). */

:root {
  --red: #d40000;          /* logo red */
  --red-bright: #fe2222;   /* naur-sir.dk accent */
  --red-dark: #a30000;
  --ink: #0d1116;
  --text: #33373d;
  --muted: #6b7078;
  --line: #e5e5e5;
  --soft: #f4f4f4;
  --white: #fff;
  --todo-bg: #fff176;
  --todo-line: #f2c500;
  --radius: 4px;
  --wrap: 1180px;
  --font: "Open Sans", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Sofia Pro", "Avenir Next", "Montserrat", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 1000; background: #fff; padding: 8px 12px; }

/* ---------- Awaiting-answer marker (yellow) ---------- */
.todo {
  background: var(--todo-bg);
  box-shadow: 0 0 0 2px var(--todo-bg);
  outline: 1px dashed var(--todo-line);
  outline-offset: 2px;
  color: #3b3300 !important;
  border-radius: 2px;
}
.todo-note {
  position: fixed; right: 16px; bottom: 16px; z-index: 200;
  background: var(--todo-bg); color: #3b3300; border: 1px solid var(--todo-line);
  font-size: 14px; font-weight: 600; padding: 10px 14px; border-radius: 6px;
  box-shadow: 0 6px 24px rgba(0,0,0,.15); display: flex; gap: 10px; align-items: center;
}
.todo-note button { background: none; border: 0; font: inherit; cursor: pointer; color: inherit; text-decoration: underline; padding: 0; }
body.hide-todo .todo { background: none; box-shadow: none; outline: none; color: inherit !important; }

/* ---------- Top bar (naur-sir.dk style) ---------- */
.topbar { background: var(--red-bright); color: #fff; font-size: 13px; font-weight: 600; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97);
  box-shadow: 0 1px 0 rgba(0,0,0,.1);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 82px; }
.brand img { width: 170px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:not(.btn):hover { color: var(--red); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* ---------- Buttons (naur-sir: square, bold, uppercase, black -> white on hover) ---------- */
.btn {
  display: inline-block; font-family: var(--font); font-weight: 700; font-size: 15px; letter-spacing: .04em;
  text-transform: uppercase; text-decoration: none; padding: 14px 26px; border: 2px solid var(--ink);
  background: var(--ink); color: #fff; border-radius: 1px; cursor: pointer; transition: background .15s, color .15s;
}
.btn:hover { background: #fff; color: var(--ink); }
.btn-red { background: var(--red); border-color: var(--red); }
.btn-red:hover { background: #fff; color: var(--red); }
.btn-ghost { background: transparent; border-color: #fff; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-sm { padding: 10px 18px; font-size: 13px; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: #0d1116 url("../img/pavillon.jpg") center 40% / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,10,14,.86) 0%, rgba(8,10,14,.6) 48%, rgba(8,10,14,.15) 100%); }
.hero .wrap { position: relative; padding-top: 120px; padding-bottom: 130px; }
.hero h1 { color: #fff; max-width: 720px; }
.hero .lead { font-size: 1.2rem; max-width: 600px; color: rgba(255,255,255,.9); margin-bottom: 1.8em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .caption { position: absolute; right: 24px; bottom: 18px; font-size: 13px; color: rgba(255,255,255,.75); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 700; color: var(--red); margin-bottom: 14px; }
.hero .eyebrow { color: #fff; }
.eyebrow::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--red-bright); box-shadow: 9px 9px 0 -1px var(--red-bright); margin-right: 8px; }

/* ---------- Stat strip ---------- */
.stats { background: var(--ink); color: #fff; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 20px; border-left: 1px solid rgba(255,255,255,.12); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--font-head); font-size: 2rem; line-height: 1.1; color: #fff; }
.stat b em { font-style: normal; color: var(--red-bright); }
.stat span { font-size: 14px; color: rgba(255,255,255,.72); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* About */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.about .big { font-size: 1.25rem; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.chips li { border: 1px solid var(--line); background: #fff; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink); }
.quote-card { position: relative; background: var(--red); color: #fff; padding: 48px 40px; border-radius: var(--radius); overflow: hidden; }
.quote-card p { font-family: var(--font-head); font-size: 1.45rem; line-height: 1.35; font-weight: 700; margin: 0; position: relative; }
.quote-card small { display: block; margin-top: 18px; font-size: 14px; opacity: .85; position: relative; }
.quote-card .shape-tri { position: absolute; right: -30px; bottom: -40px; width: 180px; opacity: .18; }

/* Membership */
.membership { display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: start; }
.price-card { background: #fff; border-top: 6px solid var(--red); box-shadow: 0 14px 40px rgba(13,17,22,.1); padding: 36px 32px; }
.price-card h3 { text-transform: uppercase; letter-spacing: .1em; font-size: 14px; color: var(--muted); }
.price { font-family: var(--font-head); font-size: 3.4rem; font-weight: 800; color: var(--ink); line-height: 1; margin: 6px 0 4px; }
.price small { font-size: 1.1rem; font-weight: 600; color: var(--muted); }
.split { margin: 26px 0 8px; }
.split-bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; }
.split-bar span:first-child { width: 50%; background: var(--red); }
.split-bar span:last-child { width: 50%; background: var(--ink); }
.split-legend { display: flex; justify-content: space-between; font-size: 14px; margin-top: 10px; gap: 12px; }
.split-legend b { display: block; color: var(--ink); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }
.dot-red { background: var(--red); } .dot-ink { background: var(--ink); }
.checks { list-style: none; padding: 0; margin: 22px 0 28px; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 10px; font-size: 15px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 14px; height: 8px; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg); }
.price-card .btn { width: 100%; text-align: center; }

.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.benefit { background: #fff; border: 1px solid var(--line); padding: 30px 28px; border-radius: var(--radius); transition: transform .15s, box-shadow .15s; }
.benefit:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(13,17,22,.08); }
.benefit .ico { width: 54px; height: 54px; border-radius: 50%; background: #fde8e8; color: var(--red); display: grid; place-items: center; margin-bottom: 18px; }
.benefit .ico svg { width: 26px; height: 26px; }
.benefit p { margin: 0; color: var(--muted); font-size: 16px; }
.benefit.wide { grid-column: span 2; display: flex; gap: 24px; align-items: center; background: var(--ink); border-color: var(--ink); }
.benefit.wide h3 { color: #fff; }
.benefit.wide p { color: rgba(255,255,255,.75); }
.benefit.wide .ico { background: var(--red); color: #fff; flex: none; margin: 0; }

/* Impact band */
.impact { background: var(--red); color: #fff; padding: 72px 0; position: relative; overflow: hidden; }
.impact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; position: relative; }
.impact h2 { color: #fff; }
.impact p { color: rgba(255,255,255,.9); }
.impact .amount { font-family: var(--font-head); font-size: clamp(3rem, 7vw, 5rem); font-weight: 800; line-height: 1; color: #fff; }
.impact .amount-label { font-size: 15px; opacity: .9; margin-top: 8px; }
.impact .todo { color: #3b3300 !important; }
.impact-deco { position: absolute; right: -60px; top: -60px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.07); }
.sports { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; }
.sports li { background: rgba(255,255,255,.14); padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; }

/* Events */
.events { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.event { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; overflow: hidden; }
.event-top { display: flex; gap: 18px; padding: 26px 26px 0; align-items: flex-start; }
.date { flex: none; width: 66px; text-align: center; border: 2px solid var(--ink); line-height: 1.1; }
.date b { display: block; font-family: var(--font-head); font-size: 1.7rem; padding: 6px 0 2px; color: var(--ink); }
.date span { display: block; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 3px 0; }
.event-tag { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.event h3 { margin: 4px 0 0; font-size: 1.15rem; }
.event-body { padding: 16px 26px 26px; color: var(--muted); font-size: 15px; flex: 1; display: flex; flex-direction: column; }
.event-meta { list-style: none; padding: 0; margin: 0 0 14px; font-size: 14px; color: var(--text); }
.event-meta li { margin-bottom: 4px; }
.event-meta strong { color: var(--ink); }
.event-body p { margin-bottom: 18px; }
.event-body .btn { margin-top: auto; align-self: flex-start; }
.events-foot { margin-top: 32px; text-align: center; color: var(--muted); }

/* Members */
.members-tools { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 28px; }
.search { position: relative; flex: 1; max-width: 460px; }
.search input { width: 100%; font: inherit; font-size: 16px; padding: 13px 16px 13px 46px; border: 2px solid var(--line); border-radius: var(--radius); background: #fff; }
.search input:focus { outline: none; border-color: var(--ink); }
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.count { font-size: 14px; color: var(--muted); }
.members { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.member { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; gap: 16px; align-items: flex-start; }
.member[hidden] { display: none; }
.avatar { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; color: #fff; background: var(--ink); font-size: 18px; }
.member:nth-child(3n+1) .avatar { background: var(--red); }
.member h3 { font-size: 1.05rem; margin: 2px 0 2px; }
.member .trade { font-size: 14px; color: var(--muted); margin: 0 0 8px; }
.member a { font-size: 14px; font-weight: 600; text-decoration: none; }
.member a:hover { text-decoration: underline; }
.empty { display: none; text-align: center; padding: 40px; color: var(--muted); border: 2px dashed var(--line); }
.empty.show { display: block; }

/* Join */
.join { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.form { background: #fff; padding: 36px; box-shadow: 0 14px 40px rgba(13,17,22,.1); border-top: 6px solid var(--ink); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 14px; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--radius); background: #fff; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); }
.field textarea { min-height: 110px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.board { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.board li { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); padding: 16px 18px; border-radius: var(--radius); }
.board .avatar { width: 48px; height: 48px; font-size: 16px; }
.board strong { display: block; color: var(--ink); }
.board span { font-size: 14px; color: var(--muted); }

/* ---------- Footer (dark, red headings like naur-sir.dk) ---------- */
.site-footer { background: #111317; color: rgba(255,255,255,.72); font-size: 15px; }
.site-footer .wrap { padding-top: 64px; padding-bottom: 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: var(--red-bright); font-size: 15px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .foot-logo { width: 180px; margin-bottom: 18px; }
.social { display: inline-flex; align-items: center; gap: 10px; }
.social svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; font-size: 13px; grid-template-columns: none; }

/* ---------- Simple page (privacy) ---------- */
.page { max-width: 780px; margin: 0 auto; padding: 72px 24px 96px; }
.page h2 { font-size: 1.5rem; margin-top: 2em; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .about, .membership, .join, .impact .wrap { grid-template-columns: 1fr; gap: 40px; }
  .events, .members { grid-template-columns: repeat(2, 1fr); }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 24px 20px; box-shadow: 0 10px 20px rgba(0,0,0,.08); display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; text-align: center; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
  .topbar .hide-sm { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero .wrap { padding-top: 72px; padding-bottom: 96px; }
  .hero::before { background: rgba(8,10,14,.7); }
  .brand img { width: 140px; }
  .events, .members, .benefits, .row2 { grid-template-columns: 1fr; }
  .benefit.wide { grid-column: auto; flex-direction: column; align-items: flex-start; }
  .form { padding: 24px 20px; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .footer-bottom .wrap { flex-direction: column; }
  .topbar ul { gap: 14px; }
  .todo-note { left: 16px; right: 16px; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
.impact-cta { margin-top: 22px; }

/* Member cards with logo (replaces the initials-only layout) */
.member { flex-direction: column; gap: 0; padding: 0; overflow: hidden; }
.member .logo { height: 130px; display: grid; place-items: center; padding: 20px 28px; border-bottom: 1px solid var(--line); background: #fff; }
.member .logo img { max-height: 90px; max-width: 100%; width: auto; object-fit: contain; }
.member .logo-none { background: var(--soft); }
.member .logo-none .avatar { width: 72px; height: 72px; font-size: 24px; }
.member:nth-child(3n+1) .avatar { background: var(--ink); }
.member .logo-none .avatar { background: var(--red); }
.member-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.member-body h3 { font-size: 1.05rem; margin: 0 0 6px; }
.member-body p { font-size: 15px; color: var(--muted); margin: 0 0 12px; flex: 1; }
.members-more { margin: 28px 0 0; text-align: center; color: var(--muted); }
