:root {
  --bg: #f7f4ec;
  --sage: #e3e9de;
  --surface: #ffffff;
  --ink: #22201b;
  --ink-soft: #55524a;
  --primary: #2f4b3c;
  --primary-dark: #1c2e24;
  --accent: #b9812e;
  --accent-dark: #8f6420;
  --line: #e1dbc9;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    "Work Sans",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: "Funnel Sans", Georgia, serif;
  font-weight: 500;
  color: var(--primary-dark);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
}
h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

p {
  margin: 0 0 1.1em;
  max-width: 62ch;
  color: var(--ink-soft);
}

a {
  color: var(--primary);
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  border-bottom: 1px solid #e3e9de;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo img {
  height: 40px;
  width: auto;
  border-radius: 0;
}

.nav {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.98rem;
}
.nav a:hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--primary-dark);
  border-radius: 2px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: #fff8ee;
}
.btn-primary:hover {
  background: var(--accent-dark);
}
.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 1.4em;
}

/* Hero */
.hero {
  padding: 40px 0 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-grid img {
  aspect-ratio: 4/5;
  object-fit: cover;
}
.hero .eyebrow-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 1.6em;
  color: var(--primary-dark);
  font-weight: 500;
}

/* Alternating content sections */
.section {
  padding: 70px 0;
}
.section.tint {
  background: var(--sage);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse .split-media {
  order: 2;
}
.split-media img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}

.section-intro {
  max-width: 68ch;
  margin-bottom: 2em;
}

/* Accordion (Ydelser page) */
.faq {
  border-top: 1px solid var(--line);
  max-width: 78ch;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq summary {
  cursor: pointer;
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--primary-dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--accent);
  margin-left: 20px;
}
.faq details[open] summary::after {
  content: "\2013";
}

.faq details p {
  margin-top: 14px;
}

/* Founder card (Om page) */
.founder {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 2em;
}
.founder img {
  aspect-ratio: 1/1;
  object-fit: cover;
}
.founder blockquote {
  margin: 0.6em 0 0;
  font-family: "Fraunces", serif;
  font-style: italic;
  color: var(--ink);
  font-size: 1.05rem;
}

/* Forms */
form.card-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 640px;
  margin: 0 auto;
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 0.95rem;
}
.field input,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  background: #fdfcf9;
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}
.form-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 14px;
}

/* Contact block (page content, not footer) */
.contact-strip {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin: 2em 0 2.5em;
}
.contact-item h3 {
  margin-bottom: 4px;
}
.contact-item a {
  text-decoration: none;
  font-size: 1.15rem;
  color: var(--primary-dark);
  font-weight: 500;
}

/* Privatlivspolitik-siden */
.legal h2 {
  margin-top: 1.8em;
}
.legal h2:first-of-type {
  margin-top: 0;
}
.legal ul {
  padding-left: 1.3em;
  margin: 0 0 1.1em;
  color: var(--ink-soft);
  max-width: 62ch;
}
.legal ul li {
  margin-bottom: 0.5em;
}
.legal ul li::marker {
  color: var(--accent);
}
.legal a {
  text-decoration: underline;
}

/* Footer */
footer.site-footer {
  background: var(--primary-dark);
  color: #e9e5d8;
  padding: 0px 0 20px;
}
footer.site-footer a {
  color: #e9e5d8;
}
footer p {
  color: #c9c3af;
  font-size: 0.9rem;
  max-width: none;
}

.foot-logo-wrap {
  display: flex;
  flex-direction: column;
}
footer .foot-logo {
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
}
footer .foot-logo .foot-mark {
  height: 26px;
  width: auto;
  border-radius: 0;
}

footer .foot-nav {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 10px 0 10px;
  flex-wrap: wrap;
}
footer .foot-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.9;
}

.foot-wrap-a {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  width: 100%;
  padding-bottom: 8px;
}

.footer-contact {
  text-align: right;
  line-height: 20px;
}
.footer-phone {
  font-size: 1.1rem;
  font-weight: 500;
  color: #e9e5d8;
  text-decoration: none;
  white-space: nowrap;
  line-height: 32px;
}

.footer-a {
  font-size: 0.8rem;
  line-height: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.foot-pri {
  margin-bottom: 6px;
}

.footer-copyright {
  font-size: 0.85rem;
  color: #c9c3af;
  margin: 0;
  white-space: nowrap;
}
.footer-credit {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 0.7rem;
  line-height: 1.5;
  color: #c9c3af;
  text-align: right;
  margin: 0;
}
.footer-credit a {
  color: #c9c3af;
}

.footie {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 16px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(233, 229, 216, 0.15);
}
.footie .footer-a {
  justify-self: center;
  align-items: center;
}

.footie .footer-credit {
  justify-self: end;
}

.page-body {
  position: relative;
}

.footer-a-inline {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* ============================= */
/* Mobil (skal altid stå sidst!)  */
/* ============================= */
@media (max-width: 820px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--bg);
  }

  .hero-grid,
  .split,
  .founder {
    grid-template-columns: 1fr;
  }
  .founder img {
    width: 140px;
  }

  .nav-toggle {
    display: flex;
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 16px;
  }
  .nav.open {
    display: flex;
  }
  .nav li {
    border-top: 1px solid var(--line);
  }
  .nav li:first-child {
    border-top: none;
  }
  .nav a {
    display: block;
    padding: 14px 0;
  }

  /* Footer: logo + telefon på linje, nav under */
  .foot-logo-wrap {
    order: 1;
   
  }
  .footer-contact {
    order: 2;
  }
  .foot-wrap-a .foot-nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  /* Footer: adresse-linje, så copyright + credit under */
  .footie {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 16px;
  }

  .footer-copyright {
    order: 2;
  }
  .footie .footer-credit {
    order: 3;
    text-align: center;
  }

  .footer-a-inline {
    display: flex;
    flex-direction: row;
    gap: 14px;
  }
 
  .footer-credit {
    margin-bottom: 1.1em;
  }

  .footer-a{
    margin-bottom: 12px ;
  }

 
}
