:root {
  --navy: #17324d;
  --blue: #2d648d;
  --ink: #243442;
  --muted: #657582;
  --line: #dce5ea;
  --surface: #f4f7f8;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  background:
    radial-gradient(circle at 85% 10%, rgba(45,100,141,.10), transparent 28rem),
    linear-gradient(180deg, #f8fafb 0%, #eef3f5 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
}

.page {
  min-height: 100vh;
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 34px 28px;
  display: flex;
  flex-direction: column;
}

.brand {
  display: flex;
  align-items: center;
  min-height: 72px;
}

.brand img {
  display: block;
  width: auto;
  max-width: 210px;
  max-height: 72px;
  object-fit: contain;
}

/* Midlertidig placeholder, hvis logo.svg ikke er lagt ind endnu */
.brand img[src="logo.svg"] {
  visibility: hidden;
}

.brand::after {
  content: "KMO";
  position: absolute;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--navy);
  opacity: .92;
}

.hero {
  width: min(760px, 100%);
  margin: auto;
  padding: 88px 0 96px;
}

.eyebrow {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

h1 {
  margin: 0 0 28px;
  color: var(--navy);
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.06;
  letter-spacing: -.035em;
  font-weight: 700;
}

.lead {
  margin: 0 0 18px;
  font-size: clamp(21px, 2.3vw, 27px);
  line-height: 1.45;
  color: var(--ink);
}

.hero > p:not(.lead) {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.contact {
  margin-top: 46px;
  padding: 27px 30px;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: 0 10px 35px rgba(23,50,77,.06);
}

.contact-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--blue);
  font-size: 19px;
}

.contact h2 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 18px;
}

.contact p {
  margin: 0 0 8px;
  color: var(--muted);
}

.contact a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}

.contact a:hover { text-decoration: underline; }

.separator {
  color: #aab6bd;
  margin: 0 8px;
}

footer {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #84929b;
  font-size: 12px;
}

@media (max-width: 640px) {
  .page { padding: 25px 21px 20px; }
  .hero { padding: 62px 0 68px; }
  .brand { min-height: 58px; }
  .brand img { max-width: 165px; max-height: 58px; }
  .brand::after { font-size: 23px; }
  .contact { padding: 22px; }
  footer { flex-direction: column; gap: 5px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero { animation: rise .6s ease-out both; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
