/* ============================================================================
   LMBB.DK — VARM, JULET UNDER-OPBYGNING FORSIDE
   Årstidens farver: dyb grangrøn, varm creme, dyb julerød og blød antik-guld.
   Inkl. diskret juletræs-vandmærke, stille snefnug, flettede julehjerter & kravlenisser.
   ============================================================================ */

:root {
  --gran: #1e3a2f;
  --gran-moerk: #152921;
  --juleroed: #8b2635;
  --juleroed-hover: #6e1c28;
  --guld: #b89352;
  --creme: #f5efe2;
  --creme-varm: #ebe1ce;
  --kort: #fffdf9;
  --tekst: #22201d;
  --tekst-blod: #544e46;
  --linje: #dfd4c0;

  --font-overskrift: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-broed: "Lora", Georgia, "Times New Roman", serif;
}

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--creme);
  color: var(--tekst);
  font-family: var(--font-broed);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;

  /* Blød julevarme + diskret vandmærke-tapet med juletræer og små stjerner */
  background-image:
    radial-gradient(circle at top center, rgba(184, 147, 82, 0.16), transparent 52%),
    radial-gradient(circle at bottom left, rgba(30, 58, 47, 0.08), transparent 45%),
    radial-gradient(circle at bottom right, rgba(139, 38, 53, 0.07), transparent 45%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='%231e3a2f' stroke-opacity='0.09' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3C!-- Juletrae 1 --%3E%3Cpath d='M45 24 L31 48 L38 48 L26 68 L35 68 L22 90 L68 90 L55 68 L64 68 L52 48 L59 48 Z'/%3E%3Cline x1='45' y1='90' x2='45' y2='98'/%3E%3C!-- Lille stjerne over trae 1 --%3E%3Cpath d='M45 13 L45 19 M42 16 L48 16' stroke='%23b89352' stroke-opacity='0.22'/%3E%3C!-- Juletrae 2 (forskudt) --%3E%3Cpath d='M135 104 L123 124 L129 124 L118 142 L126 142 L115 162 L155 162 L144 142 L152 142 L141 124 L147 124 Z'/%3E%3Cline x1='135' y1='162' x2='135' y2='169'/%3E%3C!-- Diskrete snefnug-stjerner --%3E%3Cpath d='M135 34 L135 46 M129 40 L141 40 M131 36 L139 44 M139 36 L131 44' stroke='%238b2635' stroke-opacity='0.11'/%3E%3Cpath d='M45 136 L45 146 M40 141 L50 141 M42 138 L48 144 M48 138 L42 144' stroke='%23b89352' stroke-opacity='0.18'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 100% 100%, 100% 100%, 100% 100%, 180px 180px;
}

img {
  max-width: 100%;
  display: block;
}

/* --- Stille dalende snefnug --- */
.sne-lag {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.snefnug {
  position: absolute;
  top: -10%;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(30, 58, 47, 0.25);
  opacity: 0.72;
  user-select: none;
  animation: dal-sne linear infinite;
}

.s1  { left: 5%;  font-size: 1rem;    animation-duration: 16s; animation-delay: -2s; }
.s2  { left: 13%; font-size: 0.8rem;  animation-duration: 21s; animation-delay: -9s; opacity: 0.55; }
.s3  { left: 22%; font-size: 1.25rem; animation-duration: 18s; animation-delay: -5s; }
.s4  { left: 31%; font-size: 0.85rem; animation-duration: 23s; animation-delay: -14s; opacity: 0.55; }
.s5  { left: 42%; font-size: 1.05rem; animation-duration: 19s; animation-delay: -7s; }
.s6  { left: 53%; font-size: 0.9rem;  animation-duration: 22s; animation-delay: -11s; opacity: 0.6; }
.s7  { left: 63%; font-size: 1.2rem;  animation-duration: 17s; animation-delay: -3s; }
.s8  { left: 72%; font-size: 0.8rem;  animation-duration: 24s; animation-delay: -16s; opacity: 0.55; }
.s9  { left: 81%; font-size: 1.1rem;  animation-duration: 18s; animation-delay: -8s; }
.s10 { left: 89%; font-size: 0.9rem;  animation-duration: 20s; animation-delay: -13s; opacity: 0.65; }
.s11 { left: 95%; font-size: 1.15rem; animation-duration: 17s; animation-delay: -4s; }
.s12 { left: 48%; font-size: 0.75rem; animation-duration: 25s; animation-delay: -19s; opacity: 0.5; }

@keyframes dal-sne {
  0% {
    transform: translate3d(0, -10vh, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(18px, 52vh, 0) rotate(120deg);
  }
  100% {
    transform: translate3d(-10px, 112vh, 0) rotate(240deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .snefnug {
    animation: none;
    display: none;
  }
}

/* --- Topbånd --- */
.top-baand {
  position: relative;
  z-index: 2;
  background: var(--gran);
  color: var(--creme);
  text-align: center;
  padding: 11px 16px;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid var(--guld);
}

.top-baand span:first-child,
.top-baand span:last-child {
  color: var(--guld);
}

/* --- Hovedindhold --- */
.side-wrap {
  position: relative;
  z-index: 2;
  flex: 1;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 24px 36px;
}

/* --- Intro --- */
.intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.julehjerte-top {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
  filter: drop-shadow(0 3px 6px rgba(30, 58, 47, 0.12));
}

.status-pille {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 14px;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--juleroed);
  border: 1px solid rgba(139, 38, 53, 0.35);
  background: rgba(255, 253, 249, 0.75);
}

.site-titel {
  font-family: var(--font-overskrift);
  font-size: clamp(2.6rem, 5.5vw, 3.8rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.05;
  margin: 0 0 16px;
  color: var(--gran-moerk);
}

.intro-tekst {
  margin: 0;
  color: var(--tekst-blod);
  font-size: 1rem;
}

/* --- Klikbart Projekt-kort (Hos Bette) --- */
.projekt-sektion {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}

/* Kravlenisse der kigger diskret frem over kortet */
.kravlenisse-top {
  position: absolute;
  top: -46px;
  left: 34px;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 2px 3px rgba(21, 41, 33, 0.14));
}

/* Lille flettet julehjerte ved øverste højre hjørne */
.julehjerte-hjoerne {
  position: absolute;
  top: -22px;
  right: 26px;
  z-index: 3;
  pointer-events: none;
  transform: rotate(8deg);
  filter: drop-shadow(0 2px 4px rgba(21, 41, 33, 0.12));
}

.projekt-kort {
  position: relative;
  z-index: 2;
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--kort);
  border: 1px solid var(--gran);
  padding: 10px;
  box-shadow: 0 14px 36px rgba(21, 41, 33, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.projekt-kort:hover,
.projekt-kort:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(21, 41, 33, 0.16);
  border-color: var(--juleroed);
  outline: none;
}

.projekt-ramme {
  border: 1px solid var(--linje);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
}

.projekt-billede {
  position: relative;
  min-height: 310px;
  background: var(--creme-varm);
  overflow: hidden;
}

.projekt-billede img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.projekt-kort:hover .projekt-billede img {
  transform: scale(1.03);
}

.projekt-maerkat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(30, 58, 47, 0.92);
  color: var(--creme);
  border: 1px solid var(--guld);
  padding: 4px 12px;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.projekt-indhold {
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.projekt-overlinje {
  margin: 0 0 8px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--guld);
  font-weight: 500;
}

.projekt-titel {
  font-family: var(--font-overskrift);
  font-size: clamp(2.1rem, 3.6vw, 2.75rem);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 14px;
  color: var(--gran-moerk);
}

.projekt-beskrivelse {
  margin: 0 0 26px;
  font-size: 0.96rem;
  color: var(--tekst-blod);
}

.projekt-handling {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px dashed var(--linje);
}

.knap-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--juleroed);
  color: var(--creme);
  padding: 11px 22px;
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--juleroed);
  transition: background-color 0.2s ease, gap 0.2s ease;
}

.projekt-kort:hover .knap-cta {
  background: var(--juleroed-hover);
  gap: 12px;
}

.projekt-url {
  font-size: 0.85rem;
  color: var(--gran);
  letter-spacing: 0.04em;
}

/* --- Flere projekter note --- */
.kommende-note {
  margin-top: 26px;
  text-align: center;
  color: var(--tekst-blod);
  font-size: 0.92rem;
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.kommende-note p {
  margin: 0;
}

.kommende-stjerne {
  color: var(--guld);
  font-style: normal;
}

/* --- Diskret sidefod --- */
.side-fod {
  position: relative;
  z-index: 2;
  padding: 20px 24px 36px;
  text-align: center;
}

.fod-linje {
  width: 110px;
  height: 1px;
  background: var(--linje);
  margin: 0 auto 14px;
}

.fod-hilsen-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.kravlenisse-fod {
  opacity: 0.88;
}

.hilsen {
  margin: 0;
  font-family: var(--font-overskrift);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--tekst-blod);
  letter-spacing: 0.03em;
}

/* --- Mobil --- */
@media (max-width: 780px) {
  .projekt-ramme {
    grid-template-columns: 1fr;
  }

  .projekt-billede {
    min-height: 230px;
  }

  .projekt-indhold {
    padding: 26px 22px;
  }

  .kravlenisse-top {
    left: 18px;
    top: -42px;
  }

  .julehjerte-hjoerne {
    right: 16px;
  }
}
