/* ==========================================================
   Sorgheling – stylesheet
   Farver:
     Sand (baggrund)        #F7F4EF
     Mørkegrå (tekst)       #3A3A3A
     Salviegrøn (accent)    #6F8F81
     Mørk salviegrøn        #4F6E61
   Skrift: Lora (SIL Open Font License, se fonts/OFL.txt)
   ========================================================== */

@font-face {
  font-family: "Lora";
  src: url("../fonts/Lora-Variable.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lora";
  src: url("../fonts/Lora-Italic-Variable.ttf") format("truetype");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --sand: #F7F4EF;
  --sand-dark: #EEF2EF;
  --text: #3A3A3A;
  --text-soft: #555555;
  --sage: #6F8F81;
  --sage-dark: #4F6E61;
  --sage-darker: #3F5A4F;
  --white: #FFFFFF;

  --font: "Lora", Georgia, "Times New Roman", serif;
  --radius: 16px;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.125rem;      /* 18px */
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1.1em; }

a { color: var(--sage-dark); text-underline-offset: 3px; }
a:hover { color: var(--sage-darker); }

a:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.narrow { max-width: 720px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--sage-dark);
  color: var(--sand);
  padding: 12px 16px;
  z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; color: var(--sand); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 239, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(58, 58, 58, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand img { width: 200px; height: auto; }

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
}

.nav-list a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.05rem;
}
.nav-list a:hover { color: var(--sage-dark); text-decoration: underline; }

.nav-list a.nav-cta {
  background: var(--sage-dark);
  color: var(--sand);
  padding: 10px 20px;
  border-radius: 999px;
}
.nav-list a.nav-cta:hover { background: var(--sage-darker); color: var(--sand); text-decoration: none; }

/* ---------- Hero ---------- */

.hero {
  padding: clamp(72px, 12vw, 140px) 0 clamp(64px, 10vw, 120px);
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.hero-text { max-width: 640px; }

.lead {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-style: italic;
  color: var(--sage-dark);
  margin-bottom: 1.6em;
}

.button {
  display: inline-block;
  background: var(--sage-dark);
  color: var(--sand);
  text-decoration: none;
  font-size: 1.1rem;
  padding: 14px 32px;
  border-radius: 999px;
  min-height: 48px;
  transition: background 0.2s ease;
}
.button:hover { background: var(--sage-darker); color: var(--sand); }

.hero-bird {
  width: clamp(160px, 26vw, 320px);
  flex-shrink: 0;
  margin-top: -80px;
}
.hero-bird path,
.section-bird path {
  fill: none;
  stroke: var(--sage);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Sektioner ---------- */

.section { padding: clamp(64px, 9vw, 112px) 0; }
.section.alt { background: var(--sand-dark); }

/* Sorgens fugle */
.quote-section .narrow { margin: 0 auto; text-align: center; }
.section-bird { width: 96px; margin: 0 auto 24px; }

.proverb {
  margin: 0 0 2em;
  padding: 0;
}
.proverb p {
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--sage-dark);
  margin: 0;
}

/* Sådan arbejder vi */
.steps {
  list-style: none;
  margin: 40px 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px 28px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sage-dark);
  color: var(--sand);
  font-size: 1.15rem;
  margin-bottom: 18px;
}

.step p { margin: 0; color: var(--text-soft); font-size: 1.05rem; }

.note { font-style: italic; }

/* Forløbet */
.forloeb-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 64px;
  align-items: center;
}

.facts {
  margin: 0;
  display: grid;
  gap: 20px;
}

.fact {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 32px;
}
.fact dt {
  font-size: 0.95rem;
  color: var(--text-soft);
  margin-bottom: 4px;
}
.fact dd {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--sage-dark);
  line-height: 1.2;
}

/* ---------- Kontakt ---------- */

.contact {
  background: var(--sage-dark);
  color: var(--sand);
  padding: clamp(72px, 10vw, 120px) 0;
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px 80px;
  flex-wrap: wrap;
}

.contact-logo { width: min(380px, 100%); }

.contact-text { flex: 1 1 340px; }
.contact h2 { color: var(--sand); }

.contact-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.contact-label {
  display: block;
  font-size: 0.95rem;
  color: #E3EAE6;
}
.contact-list a {
  color: var(--sand);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  word-break: break-word;
}
.contact-list a:hover { color: var(--white); text-decoration-thickness: 2px; }
.contact a:focus-visible { outline-color: var(--sand); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--sage-darker);
  color: #E3EAE6;
  font-size: 0.95rem;
  padding: 24px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.footer-inner p { margin: 0; }
.site-footer a { color: #E3EAE6; }
.site-footer a:hover { color: var(--white); }

/* ---------- Mobil og tablet ---------- */

@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .forloeb-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 140px; }
  .hero-bird { display: none; }
  .brand img { width: 170px; }
  .nav-list { gap: 6px 20px; }
  .nav-list a { font-size: 1rem; }
}

@media (max-width: 520px) {
  body { font-size: 1.0625rem; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .fact dd { font-size: 1.9rem; }
}
