:root {
  --navy-950: #0a1120;
  --navy-900: #0f172a;
  --navy-800: #1e293b;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --blue-950: #172554;
  --blue-900: #1e3a8a;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;
  --white: #ffffff;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--navy-900);
  background: var(--slate-50);
  line-height: 1.6;
}
h1, h2, h3, h4 {
  font-family: Georgia, 'Times New Roman', serif;
  margin: 0;
  line-height: 1.2;
}
p { margin: 0; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 12px; font-weight: 600; font-size: 15px;
  border: none; cursor: pointer; transition: all .2s ease;
}
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 8px 20px rgba(37,99,235,.25); }
.btn-primary:hover { background: var(--blue-500); }
.btn-outline-dark { background: rgba(15,23,42,.4); color: #fff; border: 1px solid #475569; }
.btn-outline-dark:hover { border-color: #94a3b8; background: rgba(30,41,59,.6); }
.btn-outline { background: #fff; color: var(--blue-950); border: 1px solid #cbd5e1; }
.btn-outline:hover { background: var(--blue-50); border-color: #93c5fd; }
.btn-navy { background: var(--blue-950); color: #fff; }
.btn-navy:hover { background: var(--blue-900); }
.btn-block { width: 100%; }

/* Header */
header.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px); border-bottom: 1px solid #e2e8f0;
}
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.logo-mark { display: flex; align-items: center; }
.logo-mark img { height: 40px; width: auto; object-fit: contain; }
nav.desktop-nav { display: flex; gap: 4px; }
nav.desktop-nav a {
  padding: 10px 14px; border-radius: 8px; font-weight: 500; font-size: 14.5px; color: var(--slate-600);
}
nav.desktop-nav a:hover { background: var(--slate-100); color: var(--blue-950); }
nav.desktop-nav a.active { background: var(--blue-50); color: var(--blue-950); font-weight: 600; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-nav { display: none; flex-direction: column; padding: 8px 24px 20px; border-top: 1px solid #e2e8f0; }
.mobile-nav a { padding: 12px 0; font-weight: 500; color: var(--slate-600); border-bottom: 1px solid #f1f5f9; }
.mobile-nav.open { display: flex; }

@media (max-width: 860px) {
  nav.desktop-nav { display: none; }
  .menu-toggle { display: block; }
}

/* Hero */
.hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg img {
  position: absolute;
  width: 210%;
  max-width: none;
  height: auto;
  top: 58%;
  left: 80%;
  transform: translate(-52.8%, -33.6%);
}
.hero-gradient { position: absolute; inset: 0; background: linear-gradient(to right, rgba(2,6,23,.96), rgba(2,6,23,.65) 42%, rgba(15,23,42,.05) 68%); }
.hero-content { position: relative; z-index: 1; padding: 120px 0 150px; max-width: 640px; }
@media (min-width: 701px) {
  .hero-content { max-width: min(720px, 58%); }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(23,37,84,.8); border: 1px solid rgba(59,130,246,.4);
  color: #93c5fd; padding: 7px 16px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 999px; background: #60a5fa; }
.hero h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 700; margin: 26px 0 20px; }
.hero .tagline { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 400; font-size: clamp(18px, 2.4vw, 24px); color: var(--slate-300); margin-bottom: 32px; }
.hero .btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

.subhero { background: var(--navy-900); color: #fff; padding: 90px 0; text-align: center; position: relative; overflow: hidden; }
.subhero .hero-bg img { opacity: .18; }
.subhero .eyebrow { margin-bottom: 18px; }
.subhero h1 { font-size: clamp(30px, 4.5vw, 48px); margin-bottom: 18px; }
.subhero p { max-width: 640px; margin: 0 auto; color: var(--slate-300); font-size: 18px; }
.subhero .inner { position: relative; z-index: 1; }

/* Sections */
section { padding: 88px 0; }
.section-white { background: #fff; border-bottom: 1px solid #e2e8f0; }
.section-tint { background: rgba(241,245,249,.7); }
.eyebrow-label { font-size: 12px; text-transform: uppercase; letter-spacing: 2px; color: var(--blue-900); font-weight: 700; }

.grid-2 { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; }
.grid-2-rev { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .grid-2, .grid-2-rev { grid-template-columns: 1fr; } }

.portrait-card { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 25px 60px rgba(2,6,23,.2); border: 1px solid #e2e8f0; background: var(--navy-950); }
.portrait-card img { width: 100%; height: 420px; object-fit: cover; object-position: top; transition: transform .5s ease; }
.portrait-card:hover img { transform: scale(1.035); }
.portrait-caption { position: absolute; inset: 0; background: linear-gradient(to top, rgba(2,6,23,.85), transparent 55%); display: flex; align-items: flex-end; padding: 28px; pointer-events: none; }
.portrait-caption strong { display: block; font-family: Georgia, 'Times New Roman', serif; font-size: 18px; }
.portrait-caption span { font-size: 13.5px; color: var(--slate-300); }
.portrait-actions { display: flex; gap: 12px; margin-top: 16px; }
.portrait-actions .btn { flex: 1; }

.lead-h { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; margin: 12px 0 20px; }
.body-text { color: var(--slate-600); font-size: 17px; margin-bottom: 16px; }
.body-text:last-child { margin-bottom: 0; }

/* Services */
.services-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.services-head p { color: var(--slate-600); font-size: 18px; margin-top: 14px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .card-grid { grid-template-columns: 1fr; } }
.service-card { background: #fff; border-radius: 18px; padding: 34px; border: 1px solid #e2e8f0; box-shadow: 0 1px 3px rgba(0,0,0,.04); transition: box-shadow .25s ease; display: flex; flex-direction: column; justify-content: space-between; }
.service-card:hover { box-shadow: 0 18px 40px rgba(2,6,23,.1); }
.icon-box { width: 54px; height: 54px; border-radius: 14px; background: var(--blue-50); color: var(--blue-900); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.service-card h4 { font-size: 22px; margin-bottom: 12px; }
.service-card p { color: var(--slate-600); font-size: 14.5px; margin-bottom: 22px; }
.service-card .more { font-weight: 600; font-size: 14px; color: var(--blue-900); padding-top: 18px; border-top: 1px solid #f1f5f9; display: inline-block; }

.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 28px; }
@media (max-width: 700px) { .check-grid { grid-template-columns: 1fr; } }
.check-card { background: var(--slate-50); padding: 26px; border-radius: 16px; border: 1px solid #e2e8f0; }
.check-card h3 { font-size: 19px; color: var(--blue-950); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.check-card p { font-size: 14.5px; color: var(--slate-600); }

.cta-banner { background: var(--blue-950); color: #fff; padding: 34px; border-radius: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; margin-top: 40px; }
.cta-banner h4 { font-size: 24px; margin-bottom: 6px; }
.cta-banner p { color: var(--slate-300); font-size: 14px; }

/* Newsletter */
.newsletter { background: var(--blue-950); color: #fff; padding: 70px 0; text-align: center; }
.newsletter h3 { font-size: 30px; margin-bottom: 16px; }
.newsletter p { color: var(--slate-300); max-width: 560px; margin: 0 auto 28px; font-size: 16px; }
.inline-form { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 460px; margin: 0 auto; }
.inline-form input { flex: 1; min-width: 220px; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.1); color: #fff; font-size: 14.5px; }
.inline-form input::placeholder { color: #94a3b8; }
.inline-form input:focus { outline: none; border-color: #60a5fa; }
.form-note { margin-top: 14px; font-size: 12.5px; color: #93c5fd; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-item { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 14px; background: var(--slate-50); border: 1px solid #e2e8f0; margin-bottom: 14px; }
.contact-info-item .ic { width: 46px; height: 46px; border-radius: 10px; background: var(--blue-100); color: var(--blue-900); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-item .label { font-size: 11.5px; text-transform: uppercase; letter-spacing: 1px; color: var(--slate-500); font-weight: 700; }
.contact-info-item .value { font-size: 16px; font-weight: 700; }

.contact-form-box { background: var(--slate-50); padding: 40px; border-radius: 18px; border: 1px solid #e2e8f0; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
@media (max-width: 600px) { .form-row-2 { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; color: var(--navy-800); }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid #cbd5e1; background: #fff; font-size: 14.5px; font-family: inherit;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-900); }
.field { margin-bottom: 20px; }
.field textarea { resize: vertical; min-height: 110px; }

/* Info box (Om Virksomheden) */
.info-box { background: #fff; padding: 32px 40px; border-radius: 18px; border: 1px solid #e2e8f0; box-shadow: 0 1px 3px rgba(0,0,0,.04); display: inline-block; text-align: left; }
.info-box p { margin-bottom: 10px; font-size: 15.5px; color: var(--slate-700, #334155); }
.info-box p:last-child { margin-bottom: 0; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
@media (max-width: 700px) { .trio { grid-template-columns: 1fr; } }
.trio-item { background: var(--slate-50); padding: 20px; border-radius: 14px; border: 1px solid #e2e8f0; text-align: center; }
.trio-item h4 { font-size: 16px; margin: 10px 0 4px; }
.trio-item p { font-size: 12.5px; color: var(--slate-600); }

/* Footer */
footer { background: var(--navy-950); color: var(--slate-300); padding: 70px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid #1e293b; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h3 { color: #fff; font-size: 16px; margin-bottom: 16px; font-weight: 600; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif; }
.footer-logo { margin-bottom: 16px; }
.footer-logo img { height: 34px; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: .95; }
.footer-grid p.desc { font-size: 14px; color: #94a3b8; margin-bottom: 16px; line-height: 1.7; }
.footer-grid .meta { font-size: 12.5px; color: #64748b; line-height: 1.9; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: 10px; font-size: 14px; }
.footer-grid ul li a:hover { color: #fff; }
.footer-bottom { padding-top: 28px; text-align: center; font-size: 12.5px; color: #64748b; }
