/* PostNow – one-pager. Farver, fonte og former følger brand-tavlerne. */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
}

:root {
  --blue: #2f45e0;
  --blue-dark: #1f2fa8;
  --orange: #ff6b2c;
  --pink: #ff9bcb;
  --meadow: #8dbf8b;
  --ink: #121530;
  --cloud: #f1efea;
  --line: #dedbd3;
  --muted: #4a4e6a;
  --white: #ffffff;
  --head: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cloud);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: var(--blue); }
a:hover { color: var(--blue-dark); }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 200;
  background: var(--ink); color: var(--white); padding: 12px 20px; border-radius: 999px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; color: var(--white); }

/* ---------- Knapper ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--body); font-size: 17px; font-weight: 700; line-height: 1;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--blue-dark); color: var(--white); }
.btn--orange { background: var(--orange); color: var(--ink); }
.btn--orange:hover { background: #ff7f47; color: var(--ink); }
.btn--ghost-light { border-color: rgba(255,255,255,.7); color: var(--white); background: transparent; }
.btn--ghost-light:hover { background: var(--white); color: var(--ink); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--small { min-height: 44px; padding: 0 22px; font-size: 16px; }
.btn .arrow { color: var(--orange); }

/* ---------- Header ---------- */
.site-header { background: var(--cloud); border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 28px; padding-top: 16px; padding-bottom: 16px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo svg { width: 40px; height: 40px; flex: none; }
.logo__word {
  font-family: var(--head); font-weight: 800; font-size: 28px; letter-spacing: -1.2px; line-height: 1;
}
.logo__word .now { color: var(--blue); }
.logo__word .dot { color: var(--orange); }
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.site-header nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; }
.site-header nav a:not(.btn):hover { color: var(--blue); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; background: var(--ink); color: var(--white); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 55%; display: block; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.62) 55%, rgba(0,0,0,.5) 100%);
}
.hero .wrap {
  display: flex; flex-wrap: wrap; align-items: center; gap: 56px 64px;
  padding-top: 96px; padding-bottom: 104px;
}
.hero__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.badge {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 8px 16px;
  font-size: 14px; font-weight: 600; color: #e6e7f2; background: rgba(255,255,255,.06);
}
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.hero h1 {
  font-family: var(--head); font-weight: 800; letter-spacing: -2px; line-height: 1.02;
  font-size: clamp(40px, 5.6vw, 70px); text-wrap: balance;
}
.hero__lead { font-size: 20px; line-height: 1.55; color: #e6e7f2; max-width: 36ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 4px; }

/* Telefon-mockup */
.phone-wrap {
  flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; position: relative;
  padding: 8px 0 44px;
}
.phone {
  width: 300px; height: 600px; border-radius: 44px; background: #0a0c1c; padding: 12px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 30px 60px rgba(0,0,0,.45);
}
.phone__screen {
  width: 100%; height: 100%; border-radius: 34px; background: var(--cloud); color: var(--ink);
  padding: 26px 18px 18px; display: flex; flex-direction: column; gap: 14px; overflow: hidden;
}
.app-top { display: flex; align-items: center; justify-content: space-between; }
.app-top .logo svg { width: 26px; height: 26px; }
.app-top .logo__word { font-size: 18px; letter-spacing: -.8px; }
.app-avatar {
  width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--white);
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
}
.app-title { font-family: var(--head); font-weight: 800; font-size: 28px; letter-spacing: -1.2px; line-height: 1.05; }
.app-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.app-photos > * { aspect-ratio: 1; border-radius: 14px; }
.app-photo { background-size: 330% auto; background-repeat: no-repeat; background-color: #dce1fb; }
.app-photo--1 { background-image: url("../img/hero-960.jpg"); background-position: 62% 78%; }
.app-photo--2 { background-image: url("../img/hero-960.jpg"); background-position: 8% 28%; }
.app-add {
  border: 2px dashed var(--blue); background: var(--white); display: grid; place-items: center;
}
.app-label { font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  padding: 6px 12px; border-radius: 999px; background: var(--white); font-size: 12.5px; font-weight: 600;
}
.app-input {
  margin-top: 8px; height: 40px; border-radius: 12px; border: 2px solid var(--line); background: var(--white);
  padding: 0 12px; display: flex; align-items: center; font-size: 13px; color: #8a8da3;
}
.app-send {
  margin-top: auto; height: 50px; border-radius: 999px; background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 16px;
}
.app-send span { color: var(--orange); }

.suggestion {
  position: absolute; right: 0; bottom: 0; width: 280px; background: var(--white); color: var(--ink);
  border-radius: 24px; padding: 18px 20px; box-shadow: 0 16px 40px rgba(0,0,0,.35);
  display: flex; flex-direction: column; gap: 10px;
}
.suggestion__head { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.suggestion__check {
  width: 24px; height: 24px; border-radius: 50%; background: var(--meadow); display: grid; place-items: center;
}
.suggestion p { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.suggestion__foot { font-size: 12.5px; font-weight: 700; }

/* ---------- Sektioner ---------- */
.section { padding: 112px 0; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue); }
.h2 {
  font-family: var(--head); font-weight: 800; letter-spacing: -1.5px; line-height: 1.04;
  font-size: clamp(34px, 4.2vw, 54px); text-wrap: balance;
}

/* Hvad er PostNow */
.about { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: flex-start; }
.about__head { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.about__body { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 18px; font-size: 18px; line-height: 1.65; color: #2c3050; }
.about__body .lead { color: var(--ink); font-weight: 600; }

.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 56px; }
.card {
  background: var(--white); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 14px;
  border: 2px solid var(--line);
}
.card__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; }
.card__icon--blue { background: var(--blue); }
.card__icon--pink { background: var(--pink); }
.card__icon--meadow { background: var(--meadow); }
.card h3 { font-family: var(--head); font-weight: 800; font-size: 24px; letter-spacing: -.6px; line-height: 1.15; }
.card p { color: var(--muted); }

.fits { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 40px; }
.fits strong { margin-right: 6px; }
.pill { background: var(--white); border: 2px solid var(--line); border-radius: 999px; padding: 8px 18px; font-size: 15px; font-weight: 600; }
.pill--accent { background: var(--pink); border-color: var(--pink); }

/* Sådan virker det */
.how { background: var(--white); border-top: 1px solid var(--line); }
.how__head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px 20px; margin-top: 56px; counter-reset: step; }
.step { border-top: 4px solid var(--ink); padding-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.step__top { display: flex; align-items: center; justify-content: space-between; }
.step__num { font-family: var(--head); font-weight: 800; font-size: 56px; line-height: 1; letter-spacing: -2px; }
.step__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; }
.step:nth-child(5n+1) .step__icon { background: var(--blue); }
.step:nth-child(5n+2) .step__icon { background: var(--pink); }
.step:nth-child(5n+3) .step__icon { background: var(--meadow); }
.step:nth-child(5n+4) .step__icon { background: var(--orange); }
.step:nth-child(5n+5) .step__icon { background: var(--ink); }
.step h3 { font-family: var(--head); font-weight: 800; font-size: 23px; letter-spacing: -.5px; line-height: 1.15; }
.step p { color: var(--muted); }

/* CTA */
.cta { background: var(--blue); color: var(--white); position: relative; overflow: hidden; }
.cta .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px;
  padding-top: 80px; padding-bottom: 80px;
}
.cta h2 {
  flex: 1 1 420px; font-family: var(--head); font-weight: 800; letter-spacing: -1.5px; line-height: 1.04;
  font-size: clamp(32px, 4.2vw, 52px); text-wrap: balance;
}
.cta h2::before { content: ""; display: block; width: 16px; height: 16px; border-radius: 50%; background: var(--orange); margin-bottom: 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c9cbe0; }
.site-footer .wrap { padding-top: 72px; padding-bottom: 32px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.footer-col { display: flex; flex-direction: column; gap: 6px; }
.footer-col h2 { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.footer-brand .logo__word { color: var(--white); font-size: 30px; }
.footer-brand .logo__word .now { color: #8f9cf5; }
.footer-brand p { margin-top: 12px; }
.site-footer a, .link-button { color: #c9cbe0; text-decoration: none; }
.site-footer a:hover, .link-button:hover { color: var(--white); text-decoration: underline; }
.link-button {
  background: none; border: 0; padding: 0; font: inherit; text-align: left; cursor: pointer;
}
.footer-bottom { margin-top: 48px; border-top: 1px solid #2a2e50; padding-top: 24px; font-size: 14px; color: #9a9db8; }

/* Felter, der skal udfyldes */
.todo { background: var(--pink); color: var(--ink); border-radius: 4px; padding: 0 4px; }
.site-footer .todo { color: var(--ink); }

/* ---------- Politiksider ---------- */
.doc { padding: 64px 0 112px; }
.doc__inner { max-width: 820px; }
.doc .back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 32px; font-weight: 700; text-decoration: none; }
.doc h1 { font-family: var(--head); font-weight: 800; letter-spacing: -2px; line-height: 1.02; font-size: clamp(38px, 5vw, 60px); }
.doc .updated { margin-top: 14px; color: var(--muted); font-style: italic; }
.doc .intro { margin-top: 28px; font-size: 19px; line-height: 1.6; }
.doc h2 { font-family: var(--head); font-weight: 800; letter-spacing: -.8px; font-size: 28px; line-height: 1.15; margin: 48px 0 14px; }
.doc p { margin-top: 14px; }
.doc ul { margin-top: 14px; padding-left: 0; display: flex; flex-direction: column; gap: 10px; }
.doc li { position: relative; padding-left: 26px; }
.doc li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.table-scroll { margin-top: 18px; overflow-x: auto; border-radius: 20px; border: 2px solid var(--line); background: var(--white); }
.doc table { border-collapse: collapse; width: 100%; min-width: 560px; }
.doc th, .doc td { text-align: left; padding: 14px 18px; vertical-align: top; border-bottom: 1px solid var(--line); }
.doc th { background: var(--ink); color: var(--white); font-weight: 700; }
.doc tr:last-child td { border-bottom: 0; }
.doc .link-button { color: var(--blue); text-decoration: underline; font-weight: 600; }

/* ---------- Cookiebanner ---------- */
.cc {
  position: fixed; z-index: 100; left: 16px; bottom: 16px; width: min(560px, calc(100vw - 32px));
  background: var(--white); color: var(--ink); border-radius: 24px; padding: 24px;
  box-shadow: 0 20px 60px rgba(18,21,48,.35); border: 2px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
}
.cc[hidden] { display: none; }
.cc h2 { font-family: var(--head); font-weight: 800; font-size: 24px; letter-spacing: -.6px; line-height: 1.1; }
.cc p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.cc__options { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; border: 0; }
.cc__options[hidden] { display: none; }
.cc__row {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 12px 0; border-top: 1px solid var(--line);
}
.cc__row strong { display: block; font-size: 15px; }
.cc__row span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.switch { position: relative; flex: none; width: 52px; height: 30px; margin-top: 2px; }
.switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.switch i { position: absolute; inset: 0; border-radius: 999px; background: #c6c8d8; transition: background .15s; }
.switch i::after {
  content: ""; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--white); transition: transform .15s;
}
.switch input:checked + i { background: var(--blue); }
.switch input:checked + i::after { transform: translateX(22px); }
.switch input:disabled { cursor: not-allowed; }
.switch input:disabled + i { opacity: .55; }
.switch input:focus-visible + i { outline: 3px solid var(--orange); outline-offset: 3px; }
.cc__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cc__actions .btn { flex: 1 1 150px; min-height: 48px; padding: 0 18px; font-size: 16px; }
.cc__more[hidden] { display: none; }
.cc__links { align-self: flex-start; font-size: 15px; font-weight: 600; color: var(--blue); text-decoration: underline; }
.cc__links:hover { color: var(--blue-dark); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Responsivt ---------- */
@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .hero .wrap { padding-top: 56px; padding-bottom: 64px; }
  .hero__lead { font-size: 18px; }
  .phone-wrap { padding-bottom: 0; flex-direction: column; align-items: center; gap: 20px; }
  .suggestion { position: static; width: min(300px, 100%); }
  .site-header nav { gap: 6px 20px; }
  .cta .wrap { padding-top: 56px; padding-bottom: 56px; }
  .cc { left: 8px; bottom: 8px; width: calc(100vw - 16px); padding: 20px; }
}
@media (max-width: 380px) {
  .phone { width: 100%; max-width: 300px; }
}
