/* ============================================================
   DOFK — Fælles stylesheet
   Tokens, reset, knapper, typografi, top-nav, footer,
   citat-band, bliv-medlem CTA, sleeknote.

   Side-specifikke styles bor stadig inline i hver HTML-fil
   (hero, sektionsgrids osv.). Hvis denne fil ændres, slår
   det igennem på alle sider der linker den ind.
   ============================================================ */

:root {
  --dofk-sort: #1C1C1B;
  --dofk-rosa-lys: #F9E1EF;
  --dofk-rosa-medium: #F5B8D5;
  --dofk-cta: #E5007D;
  --dofk-blaa: #3153A1;
  --dofk-cta-blaa: #2F47F7;
  --dofk-dm-blond: #F3DCC7;
  --dofk-dm-brun: #673719;
  --hvid: #FFFFFF;
  --kant: rgba(28, 28, 27, 0.12);
  --font-display: 'Anton', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-quote: 'Playfair Display', 'BentonModDisp', serif;
  --max: 1480px;
  --gap: 24px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--dofk-sort);
  background: var(--hvid);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gap);
}

/* ============================================
   KNAPPER
   1) PRIMÆR (btn-cta):  CTA-blå fyld → hover hvid fyld + blå tekst & kant
   2) SEKUNDÆR (btn-outline / btn-outline-light / btn-white):
      hvid fyld + sort tekst & kant → hover sort fyld + hvid tekst
============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.005em;
  line-height: 1;
  border: 2px solid var(--dofk-cta-blaa);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-cta {
  background: var(--dofk-cta-blaa);
  color: var(--hvid);
  border-color: var(--dofk-cta-blaa);
}
.btn-cta:hover {
  background: var(--hvid);
  color: var(--dofk-cta-blaa);
  border-color: var(--dofk-cta-blaa);
}
.btn-outline,
.btn-white,
.btn-outline-light {
  background: var(--hvid);
  color: var(--dofk-sort);
  border: 1px solid var(--dofk-sort);
}
.btn-outline:hover,
.btn-white:hover,
.btn-outline-light:hover {
  background: var(--dofk-sort);
  color: var(--hvid);
  border-color: var(--dofk-sort);
}
.btn:focus-visible {
  outline: 2px solid var(--dofk-cta-blaa);
  outline-offset: 2px;
}

/* På mørk baggrund: outline bytter farver (hvid kant + tekst) */
.section.dark .btn-outline,
.section.dark .btn-white,
.section.dark .btn-outline-light,
.dark-bg .btn-outline,
.dark-bg .btn-white,
.dark-bg .btn-outline-light {
  background: transparent;
  color: var(--hvid);
  border-color: var(--hvid);
}
.section.dark .btn-outline:hover,
.section.dark .btn-white:hover,
.section.dark .btn-outline-light:hover,
.dark-bg .btn-outline:hover,
.dark-bg .btn-white:hover,
.dark-bg .btn-outline-light:hover {
  background: var(--hvid);
  color: var(--dofk-sort);
  border-color: var(--hvid);
}

/* Læs mere — chip */
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: transparent;
  border: 1.5px solid currentColor;
  color: inherit;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.005em;
  border-radius: 0;
  text-decoration: none;
  align-self: flex-start;
  transition: all 0.15s ease;
}
.read-more::after {
  content: "→";
  font-weight: 500;
  font-size: 13px;
  transition: transform 0.2s ease;
  display: inline-block;
}
.read-more:hover {
  background: var(--dofk-sort);
  border-color: var(--dofk-sort);
  color: var(--hvid);
}
.read-more:hover::after {
  transform: translateX(4px);
}

/* ============================================
   FILTER CHIPS — master-styling (knaprække)
============================================ */
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 32px;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1.5px solid var(--dofk-sort);
  background: transparent;
  color: var(--dofk-sort);
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.filter-chip:hover {
  color: var(--dofk-cta-blaa);
  border-color: var(--dofk-cta-blaa);
}
.filter-chip.active {
  background: var(--dofk-sort);
  color: var(--hvid);
  border-color: var(--dofk-sort);
}
.filter-chip.active:hover {
  background: var(--dofk-cta-blaa);
  border-color: var(--dofk-cta-blaa);
}

/* ============================================
   TYPOGRAFI — eyebrow, sektionstitel, lede
============================================ */
.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 16px;
  color: var(--dofk-cta);
}

.section-title {
  margin: 0;
  text-transform: uppercase;
  line-height: 1.0;
  letter-spacing: 0.005em;
}
.section-title .display,
.section-title .regular {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4.8vw, 64px);
  letter-spacing: 0.005em;
}
.section-title .regular {
  margin-left: 0.2em;
  opacity: 1;
}

.head-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-bottom: 2px solid currentColor;
  padding-bottom: 4px;
  transition: color 0.15s, border-color 0.15s;
  text-decoration: none;
}
.head-link::after {
  content: "→";
  font-weight: 500;
  font-size: 14px;
  transition: transform 0.2s ease;
  display: inline-block;
}
.head-link:hover::after {
  transform: translateX(4px);
}
.section-head {
  padding: 96px 0 56px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  flex-wrap: wrap;
}
.section-head .lhs { max-width: 720px; }
.section-head .lede {
  font-size: 19px;
  font-weight: 700;
  margin: 14px 0 0;
  max-width: 56ch;
  line-height: 1.55;
  color: var(--dofk-sort);
}

/* Lede på undersider — bold manchet under H1 i .subpage-main */
.subpage-main p.lede {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.55;
  margin: 0 0 28px;
  color: var(--dofk-sort);
  max-width: 56ch;
}

/* Foto-felt — neutral grå placeholder bag billeder */
.foto {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.4), transparent 60%),
    linear-gradient(135deg, #EDEDED 0%, #D6D6D6 100%);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

/* ============================================
   TOP NAV
============================================ */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--hvid);
  border-bottom: 1px solid var(--kant);
}
.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 21px;
  padding-bottom: 21px;
}
.top .logo img { height: 50px; width: auto; display: block; }
.top nav {
  display: flex;
  gap: 0;
  align-items: center;
}
.top nav a {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  position: relative;
  padding: 4px 18px;
}
.top nav a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 18px;
  width: 1px;
  background: var(--dofk-sort);
  opacity: 0.6;
}
.top nav a:hover { color: var(--dofk-cta); }
.top nav a.active::after {
  content: "";
  position: absolute;
  inset: auto 0 -2px;
  height: 2px;
  background: var(--dofk-cta-blaa);
}
.top .actions { display: flex; gap: 10px; align-items: center; }

/* Social icons */
.social-icons {
  display: flex;
  gap: 6px;
  align-items: center;
}
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--dofk-sort);
  border-radius: 0;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.social-icons a svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.social-icons a:hover { color: var(--dofk-cta); }
.top .social-icons { margin-right: 8px; padding-right: 12px; border-right: 1px solid var(--kant); }
.top .social-icons a { width: 32px; height: 32px; }
.top .social-icons a svg { width: 16px; height: 16px; }

/* ============================================
   CITAT-BAND — DM brun + blond
============================================ */
.citat {
  background: var(--dofk-dm-brun);
  padding: 96px 0 104px;
}
.citat-tekst {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--gap);
  text-align: left;
  color: var(--dofk-dm-blond);
}
.citat-tekst .quote-mark { display: none; }
.citat-text {
  font-family: var(--font-quote);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.25;
  letter-spacing: -0.005em;
  margin: 0 0 28px;
  max-width: 32ch;
  color: var(--dofk-dm-blond);
}
.citat-afsender {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dofk-dm-blond);
}
.citat-afsender .rolle {
  display: block;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(245,238,223,0.7);
  margin-top: 6px;
}
@media (max-width: 800px) {
  .citat { padding: 64px 0 72px; }
}

/* ============================================
   BLIV MEDLEM — fuldformat foto-CTA før footer
============================================ */
.bliv-medlem {
  background: var(--dofk-rosa-medium);
  color: var(--hvid);
  padding: 0;
  position: relative;
}
.bliv-medlem .wrap {
  max-width: var(--max);
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0;
  align-items: stretch;
  padding: 0;
}
.bliv-medlem .bm-foto {
  position: relative;
  background-image: var(--bm-foto-bg, url('../media/DOFK_web_22.webp?v=1778772854'));
  background-size: cover;
  background-position: center 35%;
  min-height: 560px;
}
.bliv-medlem .bm-text {
  padding: 72px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  background: var(--dofk-rosa-medium);
}
.bliv-medlem h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 3.4vw, 56px);
  line-height: 1.0;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin: 0;
  color: var(--dofk-sort);
}
.bliv-medlem p {
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
  font-weight: 300;
  color: rgba(28,28,27,0.8);
}
.bliv-medlem .actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .bliv-medlem .wrap { grid-template-columns: 1fr; }
  .bliv-medlem .bm-foto { min-height: 320px; }
  .bliv-medlem .bm-text { padding: 48px 24px; }
}

/* ============================================
   SLEEKNOTE — flydende popup
============================================ */
.sleeknote {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 360px;
  max-width: calc(100vw - 48px);
  background: var(--dofk-dm-brun);
  color: var(--hvid);
  border-radius: 0;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
  z-index: 80;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.1), opacity 0.3s ease;
}
.sleeknote.is-open { transform: translateY(0); opacity: 1; }
.sleeknote-foto {
  height: 200px;
  background-image: url('../media/DOFK_web_09.webp?v=1778772400');
  background-size: cover;
  background-position: center 30%;
  position: relative;
  flex-shrink: 0;
}
.sleeknote-foto::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(103,55,25,0.4) 100%);
}
.sleeknote-content { padding: 24px 24px 22px; position: relative; }
.sleeknote-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--hvid);
  cursor: pointer;
  font-size: 18px;
  border-radius: 4px;
  line-height: 1;
  transition: background 0.15s;
}
.sleeknote-close:hover { background: rgba(255,255,255,0.15); }
.sleeknote h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--hvid);
  padding-right: 32px;
}
.sleeknote .sleeknote-tekst {
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 18px;
  color: rgba(255,255,255,0.85);
}
.sleeknote form { display: flex; flex-direction: column; gap: 8px; }
.sleeknote input[type="text"],
.sleeknote input[type="email"],
.sleeknote input[type="number"] {
  font-family: var(--font-body);
  padding: 12px 14px;
  border: 1.5px solid var(--dofk-blaa);
  border-radius: 0;
  background: var(--hvid);
  color: var(--dofk-sort);
  font-size: 13px;
  width: 100%;
}
.sleeknote input::placeholder { color: rgba(28,28,27,0.55); }
.sleeknote input:focus { outline: 2px solid var(--dofk-cta); outline-offset: 2px; }
.sleeknote-row { display: grid; grid-template-columns: 100px 1fr; gap: 8px; }
.sleeknote-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255,255,255,0.85);
  margin: 4px 0 4px;
}
.sleeknote-checkbox input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--dofk-cta);
}
.sleeknote button.btn { margin-top: 8px; justify-content: center; }
@media (max-width: 700px) {
  .sleeknote { width: auto; bottom: 16px; right: 16px; left: 16px; max-width: none; }
  .sleeknote-foto { height: 160px; }
  .sleeknote h3 { font-size: 19px; }
}

/* ============================================
   FOOTER
============================================ */
footer.footer {
  background: var(--dofk-sort);
  color: var(--hvid);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer .logo-block img { width: 240px; margin-bottom: 24px; }
.footer .adresse {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
}
.footer .adresse-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 12px;
}
.footer .adresse-row svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  margin-top: 2px;
}
.footer .adresse-row a:hover { color: var(--dofk-cta-blaa); }
.footer h4 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 20px;
  color: var(--hvid);
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 9px; }
.footer ul a {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  transition: color 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer ul a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--dofk-cta);
  flex-shrink: 0;
}
.footer ul a:hover { color: var(--dofk-cta-blaa); }
.footer .social-icons { margin-top: 16px; gap: 8px; }
.footer .social-icons a {
  border: 1.5px solid rgba(255,255,255,0.4);
  color: var(--hvid);
}
.footer .social-icons a:hover {
  background: var(--dofk-cta-blaa);
  border-color: var(--dofk-cta-blaa);
  color: var(--hvid);
}
.footer .bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.footer .bottom a { color: rgba(255,255,255,0.7); }
.footer .bottom a:hover { color: var(--dofk-cta-blaa); }

/* ============================================
   RESPONSIVE — fælles
============================================ */
@media (max-width: 1100px) {
  .top nav { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .section-head { padding: 64px 0 40px; }
  .footer-grid { grid-template-columns: 1fr; }
  .top .actions .btn-outline { display: none; }
}
