/* /vind: ugens giveaway og vinderne. /traek: vinderen findes. Samme udtryk som kampagnen. */
:root { --plum: #3f1f2d; --berry: #7b3549; --cream: #f7ebdf; --line: #e3cfc1; --ink: #2e1c22; --soft: #5d4650; --yellow: #fddd1d; --bg: #f7f1ee; --r: 20px; --display: "Bricolage Grotesque", system-ui, sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 1.0625rem/1.5 "Figtree", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2 { font-family: var(--display); font-variation-settings: "opsz" 96, "wdth" 82; font-weight: 800; line-height: 1.02; text-wrap: balance; }
h2 { font-size: clamp(2rem, 5vw, 2.8rem); }
a { color: var(--berry); text-underline-offset: 3px; }
button { font: inherit; cursor: pointer; touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--berry); outline-offset: 2px; }
.kick { margin-bottom: 8px; color: var(--berry); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.cta { display: grid; place-items: center; width: 100%; max-width: 380px; min-height: 60px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--yellow); color: var(--plum); font: 800 1.1rem "Figtree", sans-serif; text-decoration: none; }
.cta:active { opacity: .9; }
.cta:disabled { opacity: .5; cursor: default; }
.top { display: grid; place-items: center; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.top img { height: 38px; width: auto; }

.hero { padding: 40px 16px 72px; background: linear-gradient(to bottom, #46203a, #5b2e48); color: var(--cream); text-align: center; }
.hero .kick { color: var(--yellow); }
.hero h1 { max-width: 15em; margin: 0 auto; font-size: clamp(2.8rem, 10vw, 5rem); }
.hero h1 em { display: block; font-style: normal; color: var(--yellow); }
.hero__sub { max-width: 34em; margin: 14px auto 0; font-size: 1.12rem; }

main > section:not(.hero) { max-width: 1072px; margin: 44px auto 0; padding-inline: 16px; }
main > section.uge { margin-top: -44px; }
.uge { display: grid; }
.uge__foto { overflow: hidden; border-radius: var(--r) var(--r) 0 0; }
.uge__foto img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.uge__tekst { padding: 24px 20px; border-radius: 0 0 var(--r) var(--r); background: var(--yellow); color: var(--plum); }
.uge .kick { color: var(--plum); }
.uge h2 { font-size: clamp(2.2rem, 6vw, 3.2rem); }
.uge__tekst p:not(.kick) { margin-top: 8px; }
.uge__slut { font-weight: 700; }
.uge .cta { margin-top: 16px; background: var(--plum); color: var(--cream); }

.trin ol { counter-reset: t; margin-top: 18px; display: grid; gap: 16px; }
.trin li { counter-increment: t; position: relative; padding-left: 58px; min-height: 44px; }
.trin li::before { content: counter(t); position: absolute; left: 0; top: 0; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--plum); color: var(--yellow); font: 800 1.2rem var(--display); }
.trin b { display: block; font-size: 1.1rem; }
.trin span { color: var(--soft); }

main > section.vindere { max-width: 720px; padding: 26px 20px; border-radius: var(--r); background: var(--bg); }
main > section.vindere { margin-inline: auto; }
.vindere ul { margin-top: 12px; }
.vindere li { display: grid; grid-template-columns: 4.5rem 1fr auto; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); }
.vindere li span:first-child { color: var(--soft); }
.vindere__tom { margin-top: 10px; color: var(--soft); }

.galleri h2 { margin-bottom: 16px; }
.galleri ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.galleri img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 65%; border-radius: 16px; }
.galleri b { display: block; margin-top: 6px; }
.galleri__note { margin-top: 12px; color: var(--soft); font-size: .92rem; }

.regler h2 { margin-bottom: 10px; }
.regler details { padding: 14px 2px; border-bottom: 1px solid var(--line); }
summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; cursor: pointer; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; font-size: 1.5rem; font-weight: 400; line-height: 1; color: var(--plum); }
details[open] summary::after { content: "−"; }
details p { margin-top: 6px; color: var(--soft); }
.fod { margin-top: 48px; padding: 24px 16px; background: var(--plum); color: var(--cream); font-size: .92rem; text-align: center; }
.fod a { color: var(--yellow); }

/* /traek */
.traek { min-height: 100svh; display: grid; align-content: center; justify-items: center; gap: 14px; padding: 24px 16px; background: linear-gradient(to bottom, #46203a, #5b2e48); color: var(--cream); text-align: center; }
.traek h1 { font-size: clamp(2.4rem, 8vw, 4rem); }
.traek__navne { width: min(100%, 560px); min-height: 200px; padding: 14px; border: 0; border-radius: 14px; background: #fff; color: var(--ink); font: 400 16px/1.4 "Figtree", sans-serif; resize: vertical; }
.traek__info { font-size: .95rem; opacity: .85; }
.traek__valg { display: flex; align-items: center; gap: 8px; }
.traek__valg input { width: 72px; min-height: 44px; padding: 0 10px; border: 0; border-radius: 10px; font: 700 16px "Figtree", sans-serif; text-align: center; }
.traek__scene { display: grid; justify-items: center; gap: 6px; }
.traek__scene img { width: 180px; }
.traek__scene.ruller img { animation: vugge .25s ease-in-out infinite alternate; }
@keyframes vugge { from { rotate: -5deg; } to { rotate: 5deg; } }
.traek__navn { min-height: 1.1em; font: 800 clamp(2.4rem, 11vw, 5.4rem)/1.05 var(--display); font-variation-settings: "opsz" 96, "wdth" 82; overflow-wrap: anywhere; }
.traek__navn.vinder { color: var(--yellow); }
.traek__log { max-width: 34em; font-size: .92rem; opacity: .85; }
.traek .cta--lys { background: none; color: var(--cream); box-shadow: inset 0 0 0 2px var(--cream); }

@media (min-width: 900px) {
  .uge { grid-template-columns: 1.15fr 1fr; }
  .uge__foto { border-radius: var(--r) 0 0 var(--r); }
  .uge__foto img { height: 100%; aspect-ratio: auto; }
  .uge__tekst { display: flex; flex-direction: column; justify-content: center; padding: 40px; border-radius: 0 var(--r) var(--r) 0; }
  .trin ol { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .galleri ul { grid-template-columns: repeat(4, 1fr); }
}
@media (hover: hover) and (pointer: fine) { .cta:not(:disabled):hover { filter: brightness(1.06); } }
@media (prefers-reduced-motion: reduce) { .traek__scene.ruller img { animation: none; } }
