/* ============================================================
   LANDINGSSIDER
   Produktsiderne (/produkter/) og stedsiderne (/merch/).
   Bygger paa side.css - her staar kun det, de to sidetyper har
   ud over en almindelig underside.
   Markup laves af content-src/landingssider.py.
   ============================================================ */

.ld section { margin-top: clamp(40px, 5vw, 68px); }
.ld h2 { margin-bottom: 14px; }
.ld p + p { margin-top: 12px; }

/* Prisen staar for sig selv lige under manchetten. Det er det, folk kom for. */
.ld-pris {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  margin-top: 22px; padding: 16px 20px;
  background: var(--ash); border-radius: 14px;
}
.ld-pris b { font-size: clamp(26px, 3vw, 34px); font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.ld-pris span { font-size: 14px; color: var(--ink-2); }

/* Punktlister, hvor hvert punkt er en saetning og ikke et ord. */
.ld-punkter { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.ld-punkter li {
  position: relative; padding-left: 26px;
  font-size: 15.5px; line-height: 1.6; color: var(--ink-2);
}
.ld-punkter li::before {
  content: ""; position: absolute; left: 6px; top: .66em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}
.ld-punkter strong { color: var(--ink); font-weight: 600; }

/* Vilkaarene: navn og forklaring, saa de kan skimmes. */
.ld-vilkaar-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; background: var(--line-soft); border-radius: 14px; overflow: hidden; }
.ld-vilkaar-liste li { background: var(--bg); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.ld-vilkaar-liste b { font-size: 15px; color: var(--ink); font-weight: 600; }
.ld-vilkaar-liste span { font-size: 14px; line-height: 1.55; color: var(--ink-2); }

/* Byerne i en region: ét langt aandedrag, ikke en punktopstilling. */
.ld-byliste { font-size: 15.5px; line-height: 1.9; color: var(--ink-2); }

/* Spoergsmaal, der folder ud. Ingen JavaScript - details kan det selv. */
.ld-q { border-bottom: 1px solid var(--line-soft); }
.ld-q:first-of-type { border-top: 1px solid var(--line-soft); }
.ld-q summary {
  cursor: pointer; list-style: none; padding: 17px 34px 17px 0; position: relative;
  font-size: 16px; font-weight: 500; color: var(--ink); min-height: 44px;
  display: flex; align-items: center;
}
.ld-q summary::-webkit-details-marker { display: none; }
.ld-q summary::after {
  content: ""; position: absolute; right: 6px; top: 50%;
  width: 9px; height: 9px; margin-top: -6px;
  border-right: 1.6px solid var(--mid); border-bottom: 1.6px solid var(--mid);
  transform: rotate(45deg); transition: transform .22s ease;
}
.ld-q[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.ld-q p { margin: 0 0 18px; font-size: 15px; line-height: 1.65; color: var(--ink-2); max-width: 64ch; }
.ld-q strong { color: var(--ink); font-weight: 600; }

/* Kortene paa de to oversigtssider. */
.ld-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.ld-kort-en {
  display: flex; flex-direction: column; gap: 5px;
  padding: 20px; border-radius: 14px; text-decoration: none;
  background: var(--bg); box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .18s ease, transform .18s ease;
}
.ld-kort-en:hover { box-shadow: inset 0 0 0 1px var(--ink); transform: translateY(-2px); }
.ld-kort-en b { font-size: 16px; font-weight: 600; color: var(--ink); }
.ld-kort-en span { font-size: 13.5px; line-height: 1.5; color: var(--mid); }
.ld-kort-p { font-family: var(--f-mono); font-size: 12.5px; color: var(--accent); }

/* Brodsmulen oeverst. */
.ld .pg-eyebrow a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); }
.ld .pg-eyebrow a:hover { color: var(--ink); border-bottom-color: var(--ink); }

@media (max-width: 620px) {
  .ld-pris { padding: 14px 16px; }
  .ld-grid { grid-template-columns: 1fr; }
}

/* Produktfotoet. Varen paa en neutral bund, saa den kan ses foer prisen. */
.ld-foto {
  margin: 26px 0 0; border-radius: 16px; overflow: hidden;
  background: var(--ash); display: grid; place-items: center;
}
.ld-foto img { width: 100%; height: auto; display: block; max-height: 460px; object-fit: contain; }

/* Knappen paa sin egen linje. Se cta() i generatoren for hvorfor. */
.ld-cta-rad { margin: 0; }
