/* Jul – grangrønt, julerødt og guld på en lys, varm baggrund.
   Snefald over topbilledet og julelys under menuen (slås fra ved "reduceret bevægelse"). */
:root {
  --c-bg: #fbf8f3; --c-surface: #f3ece0; --c-ink: #2b1f1a; --c-muted: #6f5f55; --c-line: #e6dccb;
  --c-accent: #a61b29; --c-accent-ink: #fff;
  --c-header-bg: rgba(21,57,43,.97); --c-header-ink: #fdf8ef; --c-menu-bg: #15392b; --c-menu-ink: #fdf8ef;
  --hero-overlay: linear-gradient(180deg, rgba(21,57,43,.35) 0%, rgba(21,57,43,.15) 45%, rgba(60,10,16,.55) 100%);
  --hero-fallback: #15392b;
  --map-land: #e6dccb; --map-visited: #a61b29; --map-stroke: #fbf8f3; --map-point: #d4a73a; --map-home: #15392b; --map-hover: #cbbba3;
  --gold: #d4a73a; --pine: #15392b;
  --f-head: "Playfair Display", Georgia, serif;
  --f-body: "Nunito Sans", system-ui, sans-serif;
  --radius: 6px; --header-h: 80px;
}

/* ---------- Menu med julelys ---------- */
.brand-name { font-weight: 700; letter-spacing: .01em; }
.brand-name::before { content: "✦"; color: var(--gold); margin-right: .45em; font-size: .8em; vertical-align: .1em; }
.menu-d0 > li > a { font-weight: 700; }
.menu-d0 > li > a:hover { text-decoration: none; color: var(--gold); }
.menu-d1, .menu-d2 { border-top: 3px solid var(--gold); }
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; top: calc(var(--header-h) - 6px); height: 16px; pointer-events: none;
  /* ledning */
  background:
    radial-gradient(circle at 12px 9px, #ff5a5a 0 4px, transparent 5px),
    radial-gradient(circle at 36px 9px, #ffd54a 0 4px, transparent 5px),
    radial-gradient(circle at 60px 9px, #56d37a 0 4px, transparent 5px),
    radial-gradient(circle at 84px 9px, #5ab4ff 0 4px, transparent 5px),
    linear-gradient(#2a2a2a, #2a2a2a) 0 4px / 100% 1px no-repeat;
  background-size: 96px 16px, 96px 16px, 96px 16px, 96px 16px, 100% 1px;
  filter: drop-shadow(0 0 4px rgba(255,220,120,.7));
  animation: jul-blink 2.4s ease-in-out infinite;
}
@keyframes jul-blink { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

/* ---------- Topbillede med snefald ---------- */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  /* to lag sne i forskellig størrelse og fart, så mønsteret ikke ser gentaget ud */
  background-image:
    radial-gradient(3px 3px at 20px 30px, #fff 50%, transparent 51%),
    radial-gradient(4px 4px at 80px 120px, rgba(255,255,255,.9) 50%, transparent 51%),
    radial-gradient(3px 3px at 150px 60px, #fff 50%, transparent 51%),
    radial-gradient(5px 5px at 200px 170px, rgba(255,255,255,.85) 50%, transparent 51%),
    radial-gradient(3px 3px at 260px 90px, #fff 50%, transparent 51%),
    radial-gradient(4px 4px at 110px 210px, rgba(255,255,255,.8) 50%, transparent 51%),
    radial-gradient(2px 2px at 45px 75px, rgba(255,255,255,.7) 50%, transparent 51%),
    radial-gradient(2px 2px at 130px 15px, rgba(255,255,255,.7) 50%, transparent 51%),
    radial-gradient(3px 3px at 175px 140px, rgba(255,255,255,.75) 50%, transparent 51%);
  background-size: 300px 240px, 300px 240px, 300px 240px, 300px 240px, 300px 240px, 300px 240px, 190px 170px, 190px 170px, 190px 170px;
  animation: jul-sne 16s linear infinite;
  opacity: .9;
}
@keyframes jul-sne {
  from { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0; }
  to   { background-position: 60px 240px, 60px 240px, 60px 240px, 60px 240px, 60px 240px, 60px 240px, -38px 340px, -38px 340px, -38px 340px; }
}
.hero-inner { position: relative; z-index: 1; }
.hero-title { font-weight: 700; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero-large .hero-title { font-size: clamp(2.8rem, 7vw, 5.4rem); }
.hero-sub { color: #fdf3df; }
.hero-sub::before { content: "❄ "; color: #fff; }

/* ---------- Indhold ---------- */
h2, .section-title, .chart figcaption, .prs h2 { color: var(--pine); }
.section-title::after { content: ""; display: block; width: 64px; height: 3px; margin-top: .5rem; background: linear-gradient(90deg, var(--c-accent) 0 50%, var(--gold) 50% 100%); border-radius: 2px; }
.front-travel .section-title::after, .front-races .section-title::after { margin-inline: 0; }
.stat-num { color: var(--c-accent); }
.stat { background: #fffdf9; }

/* Fliser med stribe som en polkagris */
.tile { border-radius: 10px; box-shadow: 0 6px 18px rgba(43,31,26,.12); }
.tile::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; z-index: 1;
  background: repeating-linear-gradient(-45deg, var(--c-accent) 0 10px, #fff 10px 20px); }
.tile-type { color: #ffe7a8; }
.tile-title { font-weight: 700; }

/* Knapper og detaljer */
.btn { border-radius: 999px; font-weight: 700; }
.btn:hover { filter: none; background: #85131f; }
.btn-quiet:hover { background: var(--c-surface); }
.ingredients { background: #fffdf9; border: 1px solid var(--c-line); border-top: 4px solid var(--pine); }
.steps li::before { background: var(--pine); color: #fff; box-shadow: 0 0 0 3px #fffdf9, 0 0 0 4px var(--gold); }
.recipe-tips { border-left-color: var(--gold); background: #fffdf9; }
.recipe-meta { background: #fffdf9; }
.chip[aria-pressed="true"] { background: var(--pine); border-color: var(--pine); color: #fff; }
.continents li.on { background: var(--pine); border-color: var(--pine); }
.bh-fill, .bar-fill { background: var(--c-accent); }
.prose blockquote { border-left-color: var(--gold); }
.travel-table tbody tr:hover { background: #f6efe3; }

/* Bund med grangrøn baggrund og stjerner */
.site-footer { background: var(--pine); color: #e9dfcb; border: 0; position: relative; padding-top: 2.6rem; }
.site-footer::before { content: "✦  ❄  ✦  ❄  ✦"; position: absolute; top: .7rem; left: 0; right: 0; text-align: center; color: var(--gold); letter-spacing: .4em; font-size: .85rem; opacity: .8; }
.site-footer a { color: #fdf3df; }

@media (prefers-reduced-motion: reduce) {
  .hero::before, .site-header::after { animation: none; }
}
@media print { .hero::before, .site-header::after, .site-footer::before { display: none; } }
.nav-open .site-header::after { display: none; }
