body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #ffffff, #000000);
  color: #000000;
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 80px 10%;
  min-height: 80vh;
}

.text-section {
  max-width: 500px;
}

/* Overskrifter */
.text-section h2 {
  margin-bottom: 20px;
}

.text-section h3 {
  margin-top: 80px;   /* <-- DETTE er afstanden du vil have */
  margin-bottom: 20px;
}

/* Almindelig tekst */
.text-section p {
  line-height: 1.6;
  margin-bottom: 20px;
  color: #3e3e3e;
}

/* Lille undertekst */
.small-text {
  font-size: 13px;
  line-height: 1.5;
font-style: italic;
  opacity: 0.75;
  margin-top: 0;
  font-weight: 700;
  margin-bottom: 0; /* vi styrer afstanden fra h3 */
}

/* Knap */
.button {
  display: inline-block;
  padding: 14px 30px;
  background: #fff;
  color: #111;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  margin-bottom: 30px;
}

/* Logo */
.logo-section .logo {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

/* Footer */
footer {
  text-align: center;
  padding: 30px 0;
  background: #eee;
  color: #111;
}

footer a {
  color: #111;
  text-decoration: underline;
}
.strong-underline {
  font-weight: bold;
  text-decoration: underline;
}
/* TERMS PAGE */

.terms-page {
  background-color: #f2f2f2;
  font-family: Arial, sans-serif;
  color: #333;
}

.terms-container {
  max-width: 800px;
  margin: 60px auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.terms-logo {
  display: block;
  margin: 0 auto 30px auto;
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #ddd;
}

.terms-container h1 {
  text-align: center;
  margin-bottom: 40px;
}

.terms-container h2 {
  margin-top: 30px;
  font-size: 18px;
}

.terms-container p {
  line-height: 1.6;
  font-size: 14px;
}
/* ========================
   MOBILE-SPECIFIK LOGO
======================== */
@media (max-width: 768px) {
  /* Gør logoet mindre og centreret på mobil */
  .logo-section {
    display: flex;
    justify-content: center; /* centrer logoet */
    width: 100%;
    margin-bottom: 30px;     /* lidt luft under logoet */
  }

  .logo-section .logo {
    width: 180px;  /* mindre på mobil */
    height: 180px;
    margin: 0;     /* margin håndteres af logo-section */
  }
}
/* ========================
   MOBILE ADJUSTMENTS
======================== */
@media (max-width: 768px) {
  /* Container stables lodret på mobil */
  .container {
    flex-direction: column;
    padding: 40px 5%;
    align-items: center;
  }

  /* Logo: mindre og øverst */
  .logo-section {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 20px; /* luft under logo */
  }

  .logo-section .logo {
    width: 160px;  /* mindre logo */
    height: 160px;
    margin: 0;
  }

  /* Tekstsektion: centrer og afstand til top/bund */
  .text-section {
    max-width: 100%;
    text-align: center;
    margin-top: 20px;   /* lidt afstand fra logo */
    margin-bottom: 20px; /* lidt luft over bunden af container */
  }

  /* Overskrifter over knap: mindre margin-top på h3 */
  .text-section h3 {
    margin-top: 30px;
    margin-bottom: 15px;
  }

  /* Knap: lidt mindre på mobil */
  .button {
    padding: 12px 25px;
    font-size: 14px;
    margin-bottom: 20px; /* luft under knap */
  }
}
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    padding: 40px 5%;
    align-items: center;
  }

  .logo-section {
    order: -1; /* flytter logoet til toppen af containeren */
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 20px;
  }

  .logo-section .logo {
    width: 160px;
    height: 160px;
    margin: 0;
  }

  .text-section {
    max-width: 100%;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 20px;
  }

  .text-section h3 {
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .button {
    padding: 12px 25px;
    font-size: 14px;
    margin-bottom: 20px;
  }
}
/* ========================
   MOBILE PADDING/LUFT
======================== */
@media (max-width: 768px) {
  /* Container: mere plads nederst */
  .container {
    padding-bottom: 80px; /* giver luft under teksten/knappen */
  }

  /* Tekstsektion: lidt ekstra afstand til top og bund */
  .text-section {
    margin-top: 20px;    /* luft over teksten */
    margin-bottom: 40px; /* luft under teksten */
  }

  /* Knap: lidt ekstra margin under */
  .button {
    margin-bottom: 40px;
  }
}
/* ========================
   MOBILE TEKST KONTRAST
======================== */
@media (max-width: 768px) {
  /* Container: lidt ekstra padding, så teksten ikke rammer bunden */
  .container {
    padding-bottom: 100px;
  }

  /* Tekstsektion: lys baggrund bag teksten */
  .text-section {
    background: rgba(255, 255, 255, 0.85); /* semi-transparent hvid baggrund */
    padding: 15px 10px;
    border-radius: 10px;
    margin-top: 20px;
    margin-bottom: 40px;
  }

  /* Gør teksten mørk (eller sort) ovenpå den lyse baggrund */
  .text-section p,
  .text-section h2,
  .text-section h3,
  .text-section .small-text {
    color: #111; /* sort tekst */
  }

  /* Knap: lidt ekstra margin under */
  .button {
    margin-bottom: 40px;
  }
}
/* Tooltip styling */
.tooltip {
  position: relative;
  display: inline-block;
  cursor: help;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 220px;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 6px 10px;
  border-radius: 6px;
  position: absolute;
  z-index: 1000;
  bottom: 125%; /* placering over teksten */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 13px;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;

}
.terms-container .button {
  background: #ddd;           /* lys grå baggrund */
  color: #111;                /* mørk tekst */
  border: 2px solid #000;     /* sort kant */
  border-radius: 30px;
  padding: 14px 30px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background 0.3s, color 0.3s, border 0.3s;
}

.terms-container .button:hover {
  background: #000000;        /* sort hover */
  color: #fff;                /* hvid tekst */
  border: 2px solid #00cffd;  /* kant matcher hover farve */
}
.button {
  display: inline-block;
  padding: 14px 30px;
  background: #ddd;           /* lys grå baggrund */
  color: #111;                /* mørk tekst */
  text-decoration: none;
  border-radius: 30px;
  border: 2px solid #000;     /* sort kant */
  font-weight: bold;
  margin-bottom: 30px;
  transition: background 0.3s, color 0.3s, border 0.3s;
}

.button:hover {
  background: #000000;        /* sort hover */
  color: #fff;                /* hvid tekst */
  border: 2px solid #00cffd;  /* kant matcher hover farve */
}

/* ========================
   POPUP BILLEDE + DISCLAIMER (STABLET LODRET)
======================== */
.popup-content {
  display: block;        /* IKKE flex */
  text-align: center;
}

#popup-img {
  display: block;
  max-width: 80%;
  max-height: 80%;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 0 20px #000;
}

.popup-disclaimer {
  margin-top: 10px;      /* afstand UNDER billedet */
  font-size: 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  padding: 6px 10px;
  border-radius: 6px;
  display: inline-block;
  line-height: 1.3;
}
/* Tooltip til Half pallets */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 250px;
  background-color: #333;
  color: #fff;
  text-align: left;
  border-radius: 5px;
  padding: 8px;
  position: absolute;
  z-index: 10;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 14px;
}

/* Tooltip pil */
.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%; /* pil nederst */
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

/* Vis tooltip ved hover */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.terms-container p.highlight {
  background-color: #000;   /* sort baggrund */
  color: #fff;              /* hvid tekst */
  padding: 10px 15px;
  border-left: 4px solid #888; /* grå kant */
  margin: 12px 0;
  border-radius: 4px;
}

