/* === IMPORT POPPINS FONT === */
@font-face {
  font-family: 'Poppins';
  src: url('Poppins/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
}
@font-face {
  font-family: 'Poppins';
  src: url('Poppins/Poppins-Bold.ttf') format('truetype');
  font-weight: 700;
}

/* === GLOBAL === */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

/* TILBYDER SEKTION */
/* FIX: indhold må ikke ligge bag fixed header */
.page-content {
  padding-top: 100px;
}

/* SEKTIONS-FARVER */
.section-white { background: #ffffff; }
.section-sage  { background: #66A53D; }
.section-green { background: #66A53D; }

.section {
  padding: 50px 0;
}

/* LAYOUT */
.wrap {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.row {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.row.reverse {
  flex-direction: row-reverse;
}

/* ENS BILLEDER */
.imgBox {
  width: 360px;
  height: 260px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.imgBox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* TEKST */
.content {
  max-width: 680px;
  margin: 0 auto;               /* ← dette centrerer hele content-blokken horisontalt */
  text-align: center;           /* centrerer al tekst inde i p og andre elementer */
  padding: 0 20px;              /* lidt luft i siderne på små skærme */
}

.title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 14px;
}

.content p {
  font-size: 15px;
  line-height: 1.7;
  margin: 0 auto 16px auto;     /* centrerer hver paragraf */
  max-width: 600px;             /* begræns bredden så det ikke bliver for bredt */
}

.content-light,
.title-light {
  color: #f5f5f5;
}

/* MOBIL */
@media (max-width: 900px) {
  .row,
  .row.reverse {
    flex-direction: column;
    align-items: center;
  }

  .imgBox {
    width: 100%;
    max-width: 420px;
  }
  .title {
    margin-top: -10px;
  }
  
}

.anchor-offset {
  display: block;
  position: relative;
  top: -250px;          /* Juster denne værdi – start med 90–120px */
  height: 100px;        /* matcher offset for at holde plads */
  margin-bottom: -100px; /* kompenserer så layout ikke hopper */
  visibility: hidden;   /* helt usynlig */
}
 

@media (max-width: 768px) {
  .anchor-offset {
    display: block;
    position: relative;
    top: -450px;          /* Juster denne værdi – start med 90–120px */
    height: 100px;        /* matcher offset for at holde plads */
    margin-bottom: -100px; /* kompenserer så layout ikke hopper */
    visibility: hidden;   /* helt usynlig */
	}	
}

@media (max-width: 900px) {
  .content {
    margin: 20px auto;          /* mere luft oven/under på mobil */
    padding: 0 15px;
  }
  
  .content p {
    max-width: 100%;            /* fuld bredde på mobil */
  }
  
  .title {
    margin-top: 0;              /* fjern negativ margin hvis det skubber teksten */
  }
}


/* Video i stedet for billede */
.video-wrapper {
  width: 100%;
  height: 100%;                /* fylder hele .imgBox */
  overflow: hidden;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;           /* vigtig – beskærer og fylder som cover-billede */
  display: block;
}

/* ────────────────────────────────────────────────
   FOOTER – MOBIL – IKON + TEKST ALIGNMENT
   ──────────────────────────────────────────────── */
@media (max-width: 768px) {

  .footer-right {
    width: 100%;
  }

  .footer-contact {
    list-style: none;
    padding: 0;
    margin: 24px auto 32px auto;
    
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 500px;               /* ← juster her hvis for bred/smalt */
  }

  .footer-contact li {
    display: flex;
    align-items: center;
    gap: 14px;                      /* afstand ikon → tekst */
    justify-content: flex-start;    /* vigtig – starter til venstre */
    width: 100%;
  }

  .footer-icon {
    width: 34px;                    /* lidt større for bedre balance */
    height: 34px;
    flex-shrink: 0;
    object-fit: contain;
  }

  /* Sørg for at tekst starter på samme linje */
  .footer-contact li > *:last-child {   /* rammer span eller a */
    flex: 1;
    text-align: left;
    color: white;
    font-size: 1.05rem;
    line-height: 1.45;
  }

  .footer-contact a {
    color: white;
    text-decoration: none;
  }

  .footer-contact a:hover {
    text-decoration: underline;
  }

  /* Fix Facebook – ikon er inde i <a> */
  .footer-contact li a[href*="facebook"] {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .footer-contact li a[href*="facebook"] img {
    margin: 0;
  }
}
