/* TrygPåTur — web. Tokens fra FigCraft-designet (side 09). */
@import url("/fonts/fonts.css");

:root {
  --navy: #002e55;
  --teal: #0193aa;
  --coral: #e94656;
  --sun: #febf08;
  --green: #89be38;
  --sky: #deedf8;
  --paper: #f6f8fa;
  --line: #e7edf2;
  --ink60: #5b7185;
  --ink30: #9db0be;
  --white: #fff;
  --radius-card: 24px;
  --radius-btn: 14px;
  --max: 1200px;
  --pad: 96px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* sticky-nav må ikke dække overskriften, når man hopper til et anker */
section[id] { scroll-margin-top: 104px; }

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: Poppins, Inter, sans-serif;
  letter-spacing: -0.01em;
  line-height: 1.06;
  margin: 0;
}

h1 { font-size: clamp(36px, 4.5vw, 66px); font-weight: 700; }
h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; line-height: 1.09; }
h3 { font-size: 24px; font-weight: 600; line-height: 1.25; }

p { margin: 0; }
a { color: var(--teal); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink60);
}
.lead { font-size: 20px; line-height: 1.6; }
.muted { color: var(--ink60); }
.small { font-size: 14px; line-height: 1.55; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 58px; padding: 0 28px;
  font-family: Poppins, Inter, sans-serif; font-size: 17px; font-weight: 600;
  border-radius: var(--radius-btn); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--coral); color: var(--white); }
.btn--primary:hover { background: #d93c4c; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: rgba(0, 46, 85, .05); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--wide { width: 100%; }
.btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav__in {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  height: 88px; display: flex; align-items: center; gap: 34px;
}
.nav__logo { display: block; width: 200px; }
.nav__logo img { width: 100%; height: auto; display: block; }
.nav__links { display: flex; gap: 34px; margin-left: auto; }
.nav__links a {
  color: var(--navy); text-decoration: none; white-space: nowrap;
  font-size: 15px; font-weight: 500;
}
.nav__links a:hover { color: var(--teal); }
.nav__cta { margin-left: 8px; }
.nav__cta .btn { height: 44px; font-size: 15px; border-radius: 12px; padding: 0 22px; white-space: nowrap; }
.nav__burger { display: none; }

/* ---------- hero ---------- */
.hero { background: var(--sky); overflow: hidden; position: relative; }
.hero::after {
  content: ""; position: absolute; right: -120px; top: -140px;
  width: 520px; height: 520px; border-radius: 50%;
  background: rgba(255, 255, 255, .38);
}
.hero__in {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.12fr .88fr; gap: 56px;
  align-items: center; padding: 64px 0 72px;
}
.hero h1 { margin: 18px 0 26px; }
.hero .lead { max-width: 560px; }
.hero__actions { display: flex; gap: 14px; margin: 34px 0 22px; flex-wrap: wrap; }
.hero__micro { font-size: 14px; color: var(--ink60); }

/* produkt-visual */
.shot {
  background: var(--white); border-radius: 32px; padding: 32px;
}
.shot__label { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink60); }
.chips { display: flex; gap: 10px; margin: 12px 0 34px; }
.chip {
  font-size: 12px; color: var(--ink60); background: var(--paper);
  border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px;
}
.band { position: relative; border-radius: 3px; overflow: hidden; background: #f2f7fa; }
.band img { display: block; width: 100%; height: 100%; object-fit: fill; }
.band__qr {
  position: absolute; right: 3.5%; top: 7%; height: 78%;
  aspect-ratio: 1; background-color: var(--white); border-radius: 3px;
  background-image: url("/qr-tp001.svg");
  background-repeat: no-repeat; background-position: center;
  background-size: 84% 84%;
}
.shot__note { font-size: 12px; color: var(--ink60); margin-top: 22px; }

/* ---------- trust ---------- */
.trust { border-bottom: 1px solid var(--line); }
.trust__in {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding: 34px 0;
}
.trust__item { display: grid; grid-template-columns: 10px 1fr; gap: 14px; }
.trust__dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 8px; }
.trust__item b { display: block; font-family: Poppins, sans-serif; font-size: 15px; font-weight: 600; }
.trust__item span { font-size: 13px; color: var(--ink60); line-height: 1.45; }

/* ---------- sections ---------- */
.section { padding: var(--pad) 0; }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: var(--white); }
.section--teal { background: var(--teal); color: var(--white); }
.section__head { margin-bottom: 56px; }
.section__head p { margin-top: 18px; color: var(--ink60); max-width: 640px; }
.section--navy .section__head p, .section--teal .section__head p { color: #a9c4d8; }

/* how */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { background: var(--paper); border-radius: var(--radius-card); padding: 32px; }
.step__n {
  width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: var(--white);
  display: grid; place-items: center;
  font-family: Poppins, sans-serif; font-weight: 700; font-size: 17px; margin-bottom: 30px;
}
.step h3 { margin-bottom: 12px; }
.step p { font-size: 16px; color: var(--ink60); }

/* product */
.product { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.product .shot { display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.product .chips { margin: 0; }
.specs { display: grid; gap: 0; }
.spec { padding: 20px 0; border-top: 1px solid #e3e9ee; }
.spec:first-child { border-top: 0; padding-top: 0; }
.spec dt {
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink60); margin-bottom: 6px;
}
.spec dd { margin: 0; font-size: 16px; }

/* collection */
.variants { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.variant {
  border: 1px solid var(--line); border-radius: var(--radius-card);
  overflow: hidden; background: var(--white); text-decoration: none; color: inherit;
  transition: border-color .15s ease, transform .15s ease;
}
.variant:hover { border-color: var(--teal); transform: translateY(-2px); }
.variant__img { aspect-ratio: 10 / 2.6; background: #f2f7fa; }
.variant__img img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.variant__img--skitse { position: relative; display: grid; place-items: center; }
.variant__img--skitse span {
  font-family: Poppins, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255, 255, 255, .9);
  border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; padding: 5px 14px;
}
.variant__body { padding: 22px 24px 24px; }
.variant__body h3 { font-size: 22px; }
.variant__body p { font-size: 15px; color: var(--ink60); margin: 6px 0 14px; }
.variant__price { font-family: Poppins, sans-serif; font-weight: 600; font-size: 15px; }

/* privacy */
.privacy { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.privacy h2 { max-width: 480px; }
.privacy p { color: #a9c4d8; margin-top: 26px; max-width: 520px; }
.privacy__list { display: grid; gap: 26px; }
.privacy__item { display: grid; grid-template-columns: 30px 1fr; gap: 16px; }
.privacy__tick {
  width: 30px; height: 30px; border-radius: 50%; background: var(--teal);
  display: grid; place-items: center; font-size: 15px; font-weight: 700;
}
.privacy__item b { font-family: Poppins, sans-serif; font-weight: 600; font-size: 18px; }
.privacy__item span { display: block; color: #a9c4d8; font-size: 15px; margin-top: 4px; }

/* prices */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: start; }
.price {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-card); padding: 32px; display: flex; flex-direction: column;
}
.price--hot { background: var(--white); border: 2px solid var(--coral); }
.price:not(.price--hot)::before { content: ""; display: block; height: 41px; }
.price__badge {
  align-self: flex-start; background: var(--coral); color: var(--white);
  font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 8px;
  font-family: Poppins, sans-serif; margin-bottom: 14px;
}
.price__name { font-family: Poppins, sans-serif; font-weight: 600; font-size: 20px; }
.price__amount { font-family: Poppins, sans-serif; font-weight: 700; font-size: 40px; margin: 6px 0 2px; }
.price__sub { font-size: 15px; color: var(--ink60); }
.price ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; font-size: 15px; }
.price li::before { content: "·"; color: var(--teal); font-weight: 700; margin-right: 10px; }
.price .btn { margin-top: auto; height: 48px; font-size: 15px; border-radius: 12px; }

/* faq */
.faq { display: grid; grid-template-columns: 380px 1fr; gap: 56px; }
.faq details {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 14px; padding: 0 24px; margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; list-style: none; font-family: Poppins, sans-serif; font-weight: 600;
  font-size: 17px; padding: 22px 40px 22px 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 16px;
  font-size: 24px; color: var(--teal); font-weight: 500;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 40px 22px 0; color: var(--ink60); font-size: 16px; }

/* cta */
.section--teal.cta { padding: 0; }
.cta__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; padding: 64px 0; flex-wrap: wrap;
}
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta .btn--ghost { color: var(--white); border-color: var(--white); }
.cta .btn--ghost:hover { background: rgba(255, 255, 255, .12); }

/* footer */
.footer { background: var(--navy); color: var(--white); padding: 72px 0 40px; }
.footer__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__badge {
  background: var(--white); border-radius: 12px; padding: 10px 14px; width: 190px;
}
.footer__badge img { width: 100%; display: block; }
.footer__slogan { color: #a9c4d8; font-size: 14px; margin-top: 18px; }
.footer h4 {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: #7fa3bf; margin: 0 0 14px; font-weight: 600;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: var(--white); text-decoration: none; font-size: 15px; }
.footer a:hover { color: #8fe0ea; }
.footer__mail { color: #8fe0ea; font-weight: 600; }
.footer__bottom {
  border-top: 1px solid #1c4468; margin-top: 56px; padding-top: 24px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 13px; color: #7fa3bf;
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  :root { --pad: 40px; }
  .hero__in { grid-template-columns: 1fr; gap: 44px; padding: 48px 0 56px; }
  .product, .privacy, .faq { grid-template-columns: 1fr; gap: 40px; }
  .variants, .prices { grid-template-columns: repeat(2, 1fr); }
  .nav__links { display: none; }
  .nav__burger {
    display: grid; gap: 5px; margin-left: auto; padding: 10px; background: none;
    border: 0; cursor: pointer;
  }
  .nav__burger span { width: 22px; height: 2px; background: var(--navy); border-radius: 1px; }
}

@media (max-width: 720px) {
  :root { --pad: 24px; }
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .section__head { margin-bottom: 36px; }
  .steps, .variants, .prices, .trust__in, .footer__in { grid-template-columns: 1fr; }
  .nav__in { height: 68px; }
  .nav__logo { width: 150px; }
  .nav__cta { display: none; }
  .hero__actions .btn { width: 100%; }
  .shot { padding: 20px; border-radius: 22px; }
  .cta__in { padding: 48px 0; }
  .cta__actions .btn { width: 100%; }
  .price__amount { font-size: 34px; }
}
