/* Skrifttyper hostes selv (ingen kald til Google) */
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("fonts/jost-latin.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1f2b27;        /* mørk grøn-sort, hero og overskrifter */
  --ink-soft: #2e3d38;
  --cream: #f5f1e9;      /* logoets creme */
  --sand: #e3c6a4;       /* logoets sandstreg */
  --sand-text: #8a6744;  /* sand mørk nok til tekst på lys baggrund */
  --paper: #fbf9f5;
  --text: #2b2b28;
  --muted: #5c5a54;
  --line: #e7e0d4;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 720px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--ink);
  border-bottom: 1px solid rgba(227, 198, 164, .25);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wordmark {
  font-family: var(--serif); font-size: 26px; font-weight: 500;
  color: var(--cream); text-decoration: none; letter-spacing: .01em;
}
.site-header nav { display: flex; gap: 28px; }
.site-header nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--cream); text-decoration: none; font-size: 15px;
  letter-spacing: .08em; text-transform: uppercase; opacity: .85;
}
.site-header nav a:hover { opacity: 1; color: var(--sand); }

/* Hero */
.hero { background: var(--ink); color: var(--cream); padding: 88px 0 104px; }
.logo { display: inline-flex; flex-direction: column; align-items: stretch; margin-bottom: 56px; }
.logo-name {
  font-family: var(--serif); font-weight: 400; font-size: clamp(64px, 12vw, 120px);
  line-height: 1; color: var(--cream); letter-spacing: -.01em;
}
.logo-rule { height: 4px; background: var(--sand); margin: 22px 0 16px; }
.logo-tag {
  font-family: var(--sans); font-weight: 500; color: var(--sand);
  font-size: clamp(13px, 2vw, 19px); letter-spacing: .5em; text-transform: uppercase;
}
.hero h1 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.2; max-width: 20ch; margin: 0 0 20px;
}
.lead { font-size: 20px; max-width: 58ch; color: rgba(245, 241, 233, .85); margin: 0 0 36px; }
.button {
  display: inline-block; background: var(--sand); color: var(--ink);
  text-decoration: none; font-weight: 500; letter-spacing: .04em;
  padding: 14px 28px; border-radius: 2px; transition: background .2s;
}
.button:hover { background: var(--cream); }

/* Sektioner */
.section { padding: 96px 0; }
.section.alt { background: var(--cream); }
.eyebrow {
  font-size: 14px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase;
  color: var(--sand-text); margin: 0 0 12px;
}
h2 {
  font-family: var(--serif); font-weight: 400; color: var(--ink);
  font-size: clamp(28px, 3.6vw, 38px); line-height: 1.2; margin: 0 0 28px;
}
h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); font-size: 22px; line-height: 1.3; margin: 0 0 10px; }
.section p { margin: 0 0 18px; }

/* Ydelser */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 12px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--sand);
  padding: 28px 28px 20px;
}
.card p { color: var(--muted); font-size: 17px; }

/* Værdier */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; margin-top: 12px; }
.values p { color: var(--muted); font-size: 17px; }

/* Kontakt */
.contact { background: var(--ink); color: var(--cream); text-align: center; }
.contact h2 { color: var(--cream); }
.contact .eyebrow { color: var(--sand); }
.contact p { color: rgba(245, 241, 233, .85); }
.contact-mail { font-family: var(--serif); font-size: clamp(24px, 4vw, 32px); margin-top: 32px !important; }
.contact-mail a { color: var(--sand); text-decoration: none; border-bottom: 1px solid rgba(227, 198, 164, .5); }
.contact-mail a:hover { color: var(--cream); border-color: var(--cream); }
.contact-meta { font-style: normal; font-size: 15px; line-height: 1.7; letter-spacing: .06em; color: rgba(245, 241, 233, .85); margin-top: 8px; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(245, 241, 233, .6); font-size: 14px; border-top: 1px solid rgba(227, 198, 164, .2); }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 24px; padding-bottom: 24px; }
.footer-name { font-family: var(--serif); color: var(--cream); font-size: 16px; }

/* Mobil */
@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .header-inner { height: 56px; gap: 12px; }
  .site-header nav { gap: 14px; }
  .site-header nav a { font-size: 13px; letter-spacing: .04em; }
  .wordmark { font-size: 22px; }
  .hero { padding: 40px 0 56px; }
  .logo { margin-bottom: 32px; }
  .logo-name { font-size: 64px; }
  .logo-rule { height: 3px; margin: 14px 0 10px; }
  .logo-tag { font-size: 12px; letter-spacing: .35em; }
  .hero h1 { font-size: 28px; }
  .lead { font-size: 17px; margin-bottom: 28px; }
  .button { display: block; text-align: center; padding: 16px 20px; }
  .section { padding: 56px 0; }
  h2 { margin-bottom: 20px; }
  .card { padding: 22px 20px 12px; }
  .values { gap: 24px; }
  .contact-mail a { display: inline-block; padding: 8px 0; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* Meget smalle telefoner */
@media (max-width: 360px) {
  .site-header nav { gap: 10px; }
  .site-header nav a { font-size: 12px; letter-spacing: .02em; }
  .wordmark { font-size: 20px; }
}
