/*
Theme Name: Sygemelding
Theme URI: https://sygemelding.dk
Author: Sygemelding.dk
Description: Let onepage-tema til Sygemelding.dk.
Version: 0.2.0
Text Domain: sygemelding
*/

:root {
  --yellow: #ffe96f;
  --yellow-soft: #f9e99e;
  --cream: #fff9dc;
  --navy: #101b45;
  --navy-soft: #26335d;
  --white: #ffffff;
  --paper: #fbfcfd;
  --line: rgba(16, 27, 69, .14);
  --green: #1d6b50;
  --shadow: 0 24px 70px rgba(16, 27, 69, .13);
  --radius: 26px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--navy);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
.wrap { width: min(calc(100% - 40px), var(--wrap)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 20px; top: 20px; z-index: 100; background: var(--white); padding: 12px 18px; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  padding: 24px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; font-size: 21px; letter-spacing: -.03em; }
.brand img { display: block; width: 235px; height: auto; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 2px solid var(--navy); border-radius: 13px; font-size: 21px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 700; }
.nav-links a:not(.button):hover { text-decoration: underline; text-underline-offset: 5px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 2px solid var(--navy);
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(16,27,69,.18); }
.button.secondary { background: transparent; color: var(--navy); }
.button.light { background: var(--white); color: var(--navy); border-color: var(--white); }
.button.small { min-height: 44px; padding-inline: 20px; font-size: 14px; }

.hero {
  min-height: 780px;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  background: var(--yellow);
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -180px;
  bottom: -310px;
  border: 2px solid rgba(16,27,69,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255,255,255,.11), 0 0 0 160px rgba(255,255,255,.08);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 72px; align-items: center; }
.eyebrow { margin: 0 0 18px; font-size: 14px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(48px, 6.4vw, 82px); line-height: .98; letter-spacing: -.065em; }
.hero-copy { max-width: 680px; margin-bottom: 30px; font-size: clamp(19px, 2vw, 23px); line-height: 1.45; color: var(--navy-soft); }
.hero-number {
  display: inline-flex;
  flex-direction: column;
  margin: 0 0 28px;
  color: var(--navy);
  text-decoration: none;
}
.hero-number span {
  margin-bottom: -3px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero-number strong {
  font-size: clamp(38px, 4.5vw, 58px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.hero-number:hover strong { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 7px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 26px; }
.trust-line { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: 14px; font-weight: 750; }
.trust-line span::before { content: "✓"; margin-right: 7px; color: var(--green); font-weight: 900; }

.phone-stage { position: relative; min-height: 490px; display: grid; place-items: center; }
.phone {
  position: relative;
  width: 290px;
  min-height: 520px;
  padding: 18px;
  border: 9px solid #151923;
  border-radius: 48px;
  background: #f5f7fa;
  box-shadow: 0 34px 70px rgba(16,27,69,.28);
  transform: rotate(4deg);
}
.phone::before { content: ""; position: absolute; top: 9px; left: 50%; width: 88px; height: 25px; transform: translateX(-50%); border-radius: 0 0 15px 15px; background: #151923; }
.phone-screen { padding: 55px 13px 18px; }
.call-status { margin-bottom: 22px; text-align: center; }
.call-status small { display: block; margin-bottom: 3px; color: #64708d; font-size: 12px; }
.call-status strong { font-size: 21px; }
.wave { display: flex; justify-content: center; align-items: center; gap: 4px; height: 56px; margin: 18px 0; }
.wave i { display: block; width: 5px; border-radius: 8px; background: var(--navy); }
.wave i:nth-child(1), .wave i:nth-child(7) { height: 18px; }
.wave i:nth-child(2), .wave i:nth-child(6) { height: 34px; }
.wave i:nth-child(3), .wave i:nth-child(5) { height: 50px; }
.wave i:nth-child(4) { height: 28px; }
.dialogue { padding: 16px; border-radius: 17px 17px 17px 4px; background: var(--white); box-shadow: 0 6px 20px rgba(16,27,69,.08); font-size: 14px; line-height: 1.45; }
.confirmation {
  position: absolute;
  right: -95px;
  bottom: 35px;
  width: 245px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: rotate(-4deg);
}
.confirmation small { color: #66708a; font-weight: 700; }
.confirmation strong { display: block; margin: 5px 0; font-size: 15px; }
.confirmation p { margin: 0; font-size: 13px; line-height: 1.4; }

.section { padding: 110px 0; }
.section.soft { background: var(--cream); }
.section.navy { background: var(--navy); color: var(--white); }
.section-head { max-width: 750px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
h2 { margin-bottom: 18px; font-size: clamp(38px, 5vw, 58px); line-height: 1.06; letter-spacing: -.05em; }
h3 { margin-bottom: 10px; font-size: 22px; line-height: 1.22; letter-spacing: -.025em; }
.lead { font-size: 20px; color: #4a5675; }
.navy .lead { color: #ccd2e2; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { min-height: 295px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.step-number { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 50px; border-radius: 50%; background: var(--yellow); font-size: 18px; font-weight: 900; }
.step p { margin-bottom: 0; color: #59627c; }

.safety-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.quote-card { position: sticky; top: 25px; padding: 38px; border-radius: var(--radius); background: var(--yellow); color: var(--navy); }
.quote-card blockquote { margin: 0 0 24px; font-size: clamp(28px, 3.5vw, 42px); line-height: 1.12; font-weight: 850; letter-spacing: -.04em; }
.quote-card p { margin: 0; font-size: 14px; font-weight: 750; }
.feature-list { display: grid; gap: 14px; }
.feature { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.feature-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: rgba(255,233,111,.13); color: var(--yellow); font-weight: 900; }
.feature p { margin: 0; color: #cbd1e1; }

.sectors { display: flex; flex-wrap: wrap; gap: 12px; }
.sector { padding: 15px 19px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-weight: 750; }

.cta-card { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: 55px; border-radius: 34px; background: var(--yellow); }
.cta-card h2 { max-width: 720px; margin-bottom: 12px; }
.cta-card p { max-width: 680px; margin-bottom: 0; color: var(--navy-soft); font-size: 19px; }

.site-footer { padding: 42px 0; background: var(--navy); color: var(--white); }
.site-footer .brand img { width: 250px; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer-copy { color: #bfc6d8; font-size: 14px; }
.footer-copy a { color: var(--white); }
.private-label { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12px; color: #bfc6d8; }

@media (max-width: 900px) {
  .nav-links a:not(.button) { display: none; }
  .hero { min-height: auto; }
  .hero-grid, .safety-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 45px; }
  .phone-stage { min-height: 560px; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: auto; }
  .step-number { margin-bottom: 28px; }
  .quote-card { position: static; }
  .cta-card { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: min(calc(100% - 28px), var(--wrap)); }
  .site-header { padding-top: 16px; }
  .brand { font-size: 18px; }
  .brand img { width: 190px; }
  .brand-mark { width: 38px; height: 38px; }
  .nav-links .button { min-height: 40px; padding-inline: 15px; }
  .hero { padding-top: 110px; }
  h1 { font-size: 51px; }
  .hero-copy { font-size: 18px; }
  .hero-actions .button { width: 100%; }
  .phone-stage { min-height: 500px; transform: scale(.88); margin: -25px 0; }
  .phone { width: 270px; min-height: 500px; }
  .confirmation { right: -25px; bottom: 10px; }
  .section { padding: 78px 0; }
  .section-head { margin-bottom: 34px; }
  .step, .quote-card { padding: 25px; }
  .cta-card { padding: 32px 24px; }
  .footer-grid { display: grid; }
}
