/* Ønskestjerne — fælles stilark for hjemmesiden */

:root {
  --ink: #24142F;
  --plum: #4B2466;
  --plum-2: #7A3E8E;
  --plum-dyb: #3A1A50;
  --gold: #F2B23E;
  --gold-lys: #FBE3A6;
  --cream: #FBF7F1;
  --card: #FFFFFF;
  --muted: #6B5B7A;
  --line: #EDE5DA;
  --rose: #F3D9DC;
  --radius: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(36, 20, 47, .05), 0 3px 10px rgba(36, 20, 47, .05);
  --shadow: 0 2px 6px rgba(36, 20, 47, .04), 0 14px 34px rgba(36, 20, 47, .09);
  --shadow-lg: 0 24px 70px rgba(36, 20, 47, .22);
  --font-head: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--plum); text-underline-offset: 3px; }
a:hover { color: var(--plum-2); }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 28px; } }

/* ---------- logo ---------- */
.logo {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 700; font-size: 21px; letter-spacing: -0.03em;
  color: var(--ink); text-decoration: none;
}
.logo:hover { color: var(--ink); }
.logo svg { width: 34px; height: 34px; flex: none; }
.logo-lys, .logo-lys:hover { color: #fff; }

/* ---------- knapper ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px;
  border-radius: 999px; border: 0;
  font-family: var(--font-body); font-weight: 600; font-size: 16px; line-height: 1;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primaer { background: var(--plum); color: #fff; box-shadow: 0 6px 18px rgba(75, 36, 102, .28); }
.btn-primaer:hover { background: #5A2C7A; color: #fff; box-shadow: 0 10px 24px rgba(75, 36, 102, .34); }
.btn-guld { background: var(--gold); color: var(--ink); box-shadow: 0 6px 18px rgba(242, 178, 62, .35); }
.btn-guld:hover { background: #F5BE56; color: var(--ink); }
.btn-sekundaer { background: #fff; color: var(--plum); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-sekundaer:hover { color: var(--plum); box-shadow: inset 0 0 0 1.5px #D9CCBC; background: #FFFDF9; }
.btn-lille { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn-fuld { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; box-shadow: none; }
.btn-tekst {
  background: none; border: 0; padding: 6px 2px; cursor: pointer;
  color: var(--plum); font-weight: 600; font-size: 14.5px; text-decoration: underline; text-underline-offset: 3px;
}
.btn-tekst:hover { color: var(--plum-2); }

/* ---------- sidehoved (forside og tekstsider) ---------- */
.site-top { position: relative; z-index: 5; }
.site-top .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 72px; }
.site-top nav { display: flex; align-items: center; gap: 6px; }
.site-top nav a.navlink { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 999px; display: none; }
.site-top nav a.navlink:hover { background: rgba(75, 36, 102, .07); }
@media (min-width: 760px) { .site-top nav a.navlink { display: inline-block; } }

/* ---------- forside: hero ---------- */
.hero { position: relative; padding: 20px 0 56px; overflow: visible; overflow-x: clip; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(10px); z-index: 0; pointer-events: none;
}
.hero::before { width: 520px; height: 520px; right: -180px; top: -140px; background: radial-gradient(circle, rgba(242, 178, 62, .28), rgba(242, 178, 62, 0) 68%); }
.hero::after { width: 620px; height: 620px; left: -280px; bottom: -320px; background: radial-gradient(circle, rgba(243, 217, 220, .9), rgba(243, 217, 220, 0) 65%); }
.hero .container { position: relative; z-index: 1; display: grid; gap: 44px; align-items: center; }
@media (min-width: 960px) {
  .hero { padding: 40px 0 96px; }
  .hero .container { grid-template-columns: 1.05fr .95fr; gap: 56px; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--plum);
  background: rgba(255, 255, 255, .75); border: 1px solid var(--line);
  padding: 6px 14px 6px 10px; border-radius: 999px;
}
.eyebrow svg { width: 16px; height: 16px; }
.hero h1 { font-size: clamp(42px, 11vw, 74px); line-height: 1.02; letter-spacing: -0.04em; margin: 18px 0 18px; }
.hero h1 .accent { color: var(--plum); position: relative; white-space: nowrap; }
.hero h1 .accent svg { position: absolute; left: 0; right: 0; bottom: -0.12em; width: 100%; height: .22em; }
.hero .lead { font-size: 18px; color: #4A3A58; max-width: 34em; }
@media (min-width: 720px) { .hero .lead { font-size: 19.5px; } }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 30px; }
.snart { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--muted); font-weight: 500; }
.snart svg { width: 18px; height: 18px; color: var(--plum-2); }

/* hero-illustration: en ønskeliste */
.hero-vis { position: relative; max-width: 460px; width: 100%; margin: 0 auto; padding: 30px 6px 30px; }
.mock {
  background: #fff; border-radius: 28px; box-shadow: var(--shadow-lg); overflow: hidden;
  transform: rotate(1.6deg); border: 1px solid rgba(237, 229, 218, .8);
}
.mock-hoved { padding: 22px 22px 20px; color: #fff; background: linear-gradient(135deg, #4B2466, #7A3E8E); position: relative; overflow: hidden; }
.mock-hoved small { display: block; font-size: 12.5px; font-weight: 600; opacity: .85; letter-spacing: .01em; }
.mock-hoved strong { display: block; font-family: var(--font-head); font-size: 26px; letter-spacing: -0.02em; line-height: 1.15; margin-top: 4px; }
.mock-hoved .mock-dato { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, .16); padding: 4px 10px; border-radius: 999px; }
.mock-hoved .glimt { position: absolute; right: 16px; bottom: 12px; width: 50px; opacity: .95; }
.mock-liste { padding: 10px 12px 14px; display: grid; gap: 4px; }
.mock-raekke { display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: center; padding: 10px; border-radius: 16px; }
.mock-raekke + .mock-raekke { border-top: 1px solid #F4EEE6; border-radius: 0 0 16px 16px; }
.mock-flise { width: 60px; height: 60px; border-radius: 14px; display: grid; place-items: center; }
.mock-flise svg { width: 40px; height: 40px; }
.mock-titel { font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.mock-pris { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600; line-height: 1; white-space: nowrap;
  padding: 6px 10px; border-radius: 999px;
}
.chip svg { width: 13px; height: 13px; }
.chip-guld { background: #FDF0D5; color: #8A5A07; }
.chip-graa { background: #F1ECE6; color: #6B5B7A; }
.chip-plum { background: #EFE5F3; color: var(--plum); }
.mock-raekke.taget .mock-flise, .mock-raekke.taget .mock-titel { opacity: .5; }
.flyde {
  position: absolute; z-index: 2; background: #fff; border-radius: 16px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; font-size: 13.5px; font-weight: 600; line-height: 1.25;
  border: 1px solid #F1EAE0;
}
.flyde .ikon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.flyde .ikon svg { width: 18px; height: 18px; }
.flyde small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.flyde-1 { left: -6px; bottom: 0; transform: rotate(-2deg); }
.flyde-2 { right: -10px; top: 0; transform: rotate(2deg); }
@media (max-width: 420px) { .flyde-2 { right: -2px; } }

/* ---------- sektioner ---------- */
.sektion { padding: 64px 0; }
@media (min-width: 960px) { .sektion { padding: 96px 0; } }
.sektion-hoved { max-width: 640px; margin: 0 0 36px; }
.sektion-hoved.center { margin-left: auto; margin-right: auto; text-align: center; }
.sektion-hoved .kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--plum-2); margin-bottom: 10px; }
.sektion-hoved h2 { font-size: clamp(30px, 6.5vw, 46px); letter-spacing: -0.03em; }
.sektion-hoved p { margin-top: 14px; color: #4A3A58; font-size: 17.5px; }

.trin { display: grid; gap: 16px; counter-reset: trin; }
@media (min-width: 820px) { .trin { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.trin-kort {
  background: var(--card); border-radius: var(--radius); padding: 26px 24px 28px; box-shadow: var(--shadow-sm);
  border: 1px solid #F3ECE3; position: relative;
}
.trin-ikon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px; }
.trin-ikon svg { width: 28px; height: 28px; }
.trin-nr { position: absolute; top: 24px; right: 24px; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: #CDBFD6; }
.trin-kort h3 { font-size: 22px; margin-bottom: 10px; letter-spacing: -0.02em; }
.trin-kort p { color: #4A3A58; font-size: 16px; }

/* giver-sektion */
.giver { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .giver { grid-template-columns: 1fr 1fr; gap: 64px; } }
.giver-tekst ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
.giver-tekst li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; color: #4A3A58; }
.giver-tekst li strong { color: var(--ink); display: block; font-weight: 600; }
.tjek { width: 30px; height: 30px; border-radius: 50%; background: #EFE5F3; color: var(--plum); display: grid; place-items: center; margin-top: 1px; }
.tjek svg { width: 16px; height: 16px; }
.to-skaerme { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.skaerm { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; border: 1px solid #F3ECE3; }
.skaerm-label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.skaerm-label svg { width: 14px; height: 14px; }
.mini-kort { border-radius: 14px; background: #FBF7F1; padding: 10px; display: grid; gap: 8px; }
.mini-kort + .mini-kort { margin-top: 10px; }
.mini-kort .mock-flise { width: 100%; height: 84px; }
.mini-kort .mock-flise svg { width: 48px; height: 48px; }
.mini-titel { font-weight: 600; font-size: 13.5px; line-height: 1.3; }
.mini-kort.dim .mock-flise { filter: grayscale(.5); opacity: .55; }

/* gratis-bånd */
.gratis {
  background: radial-gradient(900px 500px at 90% 120%, rgba(138, 74, 158, .9), rgba(138, 74, 158, 0) 60%), linear-gradient(135deg, #3E1C55, #4B2466 50%, #5E2D7E);
  color: #fff; border-radius: 32px; padding: 44px 24px; position: relative; overflow: hidden;
}
@media (min-width: 820px) { .gratis { padding: 64px 64px; } }
.gratis h2 { color: #fff; font-size: clamp(32px, 7vw, 52px); letter-spacing: -0.035em; max-width: 12em; }
.gratis h2 em { font-style: normal; color: var(--gold); }
.gratis p.lead { color: #EADCF0; font-size: 18px; margin-top: 16px; max-width: 36em; }
.gratis-grid { display: grid; gap: 14px; margin-top: 34px; }
@media (min-width: 720px) { .gratis-grid { grid-template-columns: 1fr 1fr; gap: 14px 40px; } }
.gratis-punkt { display: grid; grid-template-columns: 28px 1fr; gap: 12px; color: #F3E8F6; }
.gratis-punkt svg { width: 22px; height: 22px; color: var(--gold); margin-top: 2px; }
.gratis-punkt strong { color: #fff; font-weight: 600; }
.gratis .hero-cta { margin-top: 36px; }
.gratis .snart { color: #E2D2EA; }
.gratis .snart svg { color: var(--gold); }
.gratis .stjerne-pynt { position: absolute; right: -40px; top: -40px; width: 220px; opacity: .14; transform: rotate(14deg); }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: var(--radius-md); border: 1px solid #F0E8DE; box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; position: relative;
  font-weight: 600; font-size: 17px; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--plum); border-bottom: 2.5px solid var(--plum); transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 22px 22px; color: #4A3A58; }

/* ---------- footer ---------- */
.site-fod { padding: 48px 0 40px; margin-top: 24px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.site-fod .container { display: grid; gap: 22px; }
@media (min-width: 760px) { .site-fod .container { grid-template-columns: 1fr auto; align-items: center; } }
.site-fod nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-fod nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.site-fod nav a:hover { color: var(--plum); text-decoration: underline; }
.site-fod .fod-lille { font-size: 14px; margin-top: 6px; }

/* ---------- tekstsider (privatliv, vilkår, 404) ---------- */
.tekstside { padding: 24px 0 40px; }
.tekstside article { max-width: 720px; margin: 0 auto; background: #fff; border-radius: 24px; padding: 32px 22px; box-shadow: var(--shadow-sm); border: 1px solid #F3ECE3; }
@media (min-width: 720px) { .tekstside article { padding: 52px 56px; } }
.tekstside h1 { font-size: clamp(32px, 7vw, 46px); letter-spacing: -0.03em; margin-bottom: 10px; }
.tekstside .opdateret { color: var(--muted); font-size: 14.5px; margin-bottom: 26px; }
.tekstside h2 { font-size: 22px; margin: 34px 0 10px; }
.tekstside p, .tekstside li { color: #3D2E4A; }
.tekstside p + p { margin-top: 12px; }
.tekstside ul { padding-left: 20px; margin: 12px 0 0; }
.tekstside li + li { margin-top: 8px; }
.pladsholder-tekst { background: #FDF0D5; color: #7A4E05; padding: 2px 8px; border-radius: 6px; font-weight: 600; border: 1px dashed #E2B65C; }
.infoboks { background: #F7F1FA; border-radius: 16px; padding: 18px 20px; margin-top: 18px; color: #3D2E4A; }

.fejlside { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 40px 0 72px; }
.fejlside .stor-stjerne { width: 120px; height: 120px; margin: 0 auto 26px; }
.fejlside h1 { font-size: clamp(34px, 8vw, 52px); letter-spacing: -0.035em; }
.fejlside p { color: #4A3A58; font-size: 18px; margin: 14px auto 30px; max-width: 30em; }

/* ======================================================================
   Delt ønskeliste (/l/:slug)
   ====================================================================== */
.liste-hoved {
  --tema-fra: #4B2466; --tema-til: #7A3E8E; --tema-tekst: #fff; --tema-tekst-2: rgba(255, 255, 255, .86); --tema-chip: rgba(255, 255, 255, .16);
  background: linear-gradient(150deg, var(--tema-fra) 0%, var(--tema-til) 115%);
  color: var(--tema-tekst);
  border-radius: 0 0 32px 32px;
  position: relative; overflow: hidden;
  padding-bottom: 34px;
}
@media (min-width: 720px) { .liste-hoved { padding-bottom: 52px; border-radius: 0 0 44px 44px; } }
.tema-plum  { --tema-fra: #4B2466; --tema-til: #7A3E8E; }
.tema-rose  { --tema-fra: #E8A0A8; --tema-til: #F3D9DC; --tema-tekst: #24142F; --tema-tekst-2: rgba(36, 20, 47, .78); --tema-chip: rgba(255, 255, 255, .5); }
.tema-sage  { --tema-fra: #7FA58A; --tema-til: #CFE0D2; --tema-tekst: #24142F; --tema-tekst-2: rgba(36, 20, 47, .78); --tema-chip: rgba(255, 255, 255, .5); }
.tema-ocean { --tema-fra: #2E5E8C; --tema-til: #7FB2D9; }
.tema-sand  { --tema-fra: #C9A27A; --tema-til: #EFE0CB; --tema-tekst: #24142F; --tema-tekst-2: rgba(36, 20, 47, .78); --tema-chip: rgba(255, 255, 255, .5); }
.tema-night { --tema-fra: #1C1830; --tema-til: #3A3360; }
.tema-ocean, .tema-plum, .tema-night { --tema-skygge: 0 1px 12px rgba(0, 0, 0, .12); }
.liste-hoved .pynt { position: absolute; pointer-events: none; opacity: .5; }
.liste-hoved .pynt-1 { right: 7%; top: 86px; width: 30px; }
.liste-hoved .pynt-2 { right: 22%; top: 40px; width: 14px; opacity: .4; }
.liste-hoved .pynt-3 { right: 4%; bottom: 40px; width: 18px; opacity: .35; }
.liste-hoved .stor-glimt { position: absolute; right: -60px; bottom: -70px; width: 260px; opacity: .12; pointer-events: none; transform: rotate(-12deg); }
@media (max-width: 719px) { .liste-hoved .stor-glimt { width: 180px; right: -50px; bottom: -40px; } }
.liste-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; padding: 16px 0 6px; }
.liste-top .logo { color: var(--tema-tekst); font-size: 18px; }
.liste-top .logo svg { width: 28px; height: 28px; }
.skjul-link {
  background: none; border: 0; padding: 6px 0; cursor: pointer;
  color: var(--tema-tekst-2); font-size: 13.5px; font-weight: 500; text-align: left;
}
.skjul-link span { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; color: var(--tema-tekst); }
.liste-info { position: relative; z-index: 1; padding-top: 26px; max-width: 760px; }
@media (min-width: 720px) { .liste-info { padding-top: 40px; } }
.liste-ejer { font-weight: 600; font-size: 15px; color: var(--tema-tekst-2); display: flex; align-items: center; gap: 8px; }
.liste-ejer .avatar {
  width: 30px; height: 30px; border-radius: 50%; background: var(--tema-chip); display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--tema-tekst);
}
.liste-info h1 {
  color: var(--tema-tekst); font-size: clamp(36px, 10vw, 64px); letter-spacing: -0.04em; line-height: 1.02; margin: 12px 0 0;
  text-shadow: var(--tema-skygge, none); overflow-wrap: anywhere;
}
.liste-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.liste-chips .chip { background: var(--tema-chip); color: var(--tema-tekst); font-size: 13px; padding: 8px 12px; }
.liste-beskrivelse { margin-top: 18px; color: var(--tema-tekst-2); font-size: 16.5px; max-width: 40em; white-space: pre-line; overflow-wrap: anywhere; }

.skjult-note {
  display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 14px 16px; margin: 22px 0 0; box-shadow: var(--shadow-sm); font-size: 14.5px; color: #3D2E4A;
}
.skjult-note svg { width: 22px; height: 22px; flex: none; color: var(--plum); margin-top: 1px; }
.skjult-note strong { color: var(--ink); }

.liste-hovedlinje { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 30px 0 14px; }
.liste-hovedlinje h2 { font-size: 22px; }
.liste-hovedlinje .antal { color: var(--muted); font-size: 14.5px; font-weight: 500; }

.gitter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 680px) { .gitter { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1000px) { .gitter { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }

.kort {
  position: relative; background: var(--card); border-radius: 18px; box-shadow: var(--shadow-sm);
  border: 1px solid #F1EAE0; overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.kort:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.kort-billede { position: relative; aspect-ratio: 1 / 1; background: #fff; border-bottom: 1px solid #F5EFE7; }
.kort-billede img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: filter .2s ease, opacity .2s ease; }
.pladsholder {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, #FFF6E3, rgba(255, 246, 227, 0) 55%), linear-gradient(140deg, #F7EEE6, #F3D9DC);
}
.pladsholder svg { width: 38%; height: 38%; opacity: .9; }
.maerkat {
  position: absolute; left: 10px; top: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 700; line-height: 1;
  padding: 7px 10px 7px 8px; border-radius: 999px; box-shadow: 0 4px 12px rgba(242, 178, 62, .35);
}
.maerkat svg { width: 13px; height: 13px; }
.status-pille {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700; line-height: 1;
  padding: 8px 11px 8px 9px; border-radius: 999px;
  background: rgba(36, 20, 47, .82); color: #fff; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.status-pille svg { width: 14px; height: 14px; }
.status-pille.min { background: var(--plum); }
.kort-tekst { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
@media (min-width: 680px) { .kort-tekst { padding: 14px 16px 16px; } }
.kort h3 { font-family: var(--font-body); font-weight: 600; font-size: 15px; line-height: 1.35; letter-spacing: 0; }
.kort-aabn {
  all: unset; cursor: pointer; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere;
}
.kort-aabn::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 18px; }
.kort-aabn:focus-visible::after { outline: 3px solid var(--gold); outline-offset: -3px; }
.kort-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-top: auto; padding-top: 2px; }
.pris { font-weight: 700; font-size: 15.5px; color: var(--ink); white-space: nowrap; }
.butik { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.kort-fod { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 8px; font-size: 13px; color: var(--muted); font-weight: 500; }
.kort-fod .btn-tekst { position: relative; z-index: 3; font-size: 13.5px; padding: 4px 0; }
.antal-linje { display: inline-flex; align-items: center; gap: 6px; }
.antal-linje .prik { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.kort.taget { background: #FBF8F4; }
.kort.taget .kort-billede img { filter: grayscale(.85) blur(1.5px); opacity: .45; }
.kort.taget .pladsholder { filter: grayscale(.8); opacity: .5; }
.kort.taget h3, .kort.taget .kort-meta { opacity: .55; }
.kort.min { box-shadow: 0 0 0 2px var(--plum), var(--shadow-sm); }

/* skelet */
@keyframes glimt { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }
.skel { background: linear-gradient(90deg, #F1EAE1 0px, #FAF6F0 120px, #F1EAE1 240px); background-size: 800px 100%; animation: glimt 1.3s linear infinite; border-radius: 10px; }
.liste-hoved .skel { background: linear-gradient(90deg, rgba(255, 255, 255, .14) 0px, rgba(255, 255, 255, .28) 120px, rgba(255, 255, 255, .14) 240px); background-size: 800px 100%; }
.skel-kort .kort-billede { border: 0; }
.skel-kort .kort-billede .skel { position: absolute; inset: 0; border-radius: 0; }
@media (prefers-reduced-motion: reduce) { .skel { animation: none; } .kort, .btn { transition: none; } }

/* tom / fejl */
.tilstand { text-align: center; padding: 56px 16px 40px; max-width: 520px; margin: 0 auto; }
.tilstand svg.stor { width: 96px; height: 96px; margin: 0 auto 20px; }
.tilstand h2 { font-size: 28px; letter-spacing: -0.03em; }
.tilstand p { color: #4A3A58; margin: 12px 0 24px; font-size: 17px; }

/* bund-CTA */
.lav-egen {
  margin: 56px 0 8px; background: #fff; border-radius: 24px; border: 1px solid #F1EAE0; box-shadow: var(--shadow-sm);
  padding: 26px 22px; display: grid; gap: 18px; align-items: center;
}
@media (min-width: 760px) { .lav-egen { grid-template-columns: auto 1fr auto; padding: 28px 32px; gap: 24px; } }
.lav-egen .mini-logo { width: 56px; height: 56px; }
.lav-egen h2 { font-size: 22px; letter-spacing: -0.02em; }
.lav-egen p { color: var(--muted); font-size: 15.5px; margin-top: 4px; }

/* ---------- dialoger ---------- */
dialog {
  border: 0; padding: 0; color: var(--ink); background: transparent;
  max-width: 100vw; max-height: 100dvh; width: 100%; margin: 0; overflow: visible;
}
dialog::backdrop { background: rgba(28, 16, 38, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
body:has(dialog[open]) { overflow: hidden; }
.ark {
  position: fixed; left: 0; right: 0; bottom: 0; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain;
  background: #fff; border-radius: 26px 26px 0 0; box-shadow: var(--shadow-lg);
  padding-bottom: env(safe-area-inset-bottom);
  animation: op .26s cubic-bezier(.2, .8, .2, 1);
}
@keyframes op { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 760px) {
  .ark {
    left: 50%; top: 50%; bottom: auto; right: auto; transform: translate(-50%, -50%);
    width: min(860px, calc(100vw - 56px)); max-height: calc(100dvh - 56px); border-radius: 28px;
    animation: opc .22s ease;
  }
  .ark.smal { width: min(480px, calc(100vw - 56px)); }
  @keyframes opc { from { opacity: 0; transform: translate(-50%, calc(-50% + 16px)); } to { opacity: 1; transform: translate(-50%, -50%); } }
}
.ark-greb { width: 44px; height: 5px; border-radius: 3px; background: #E4DBD0; margin: 10px auto 0; }
@media (min-width: 760px) { .ark-greb { display: none; } }
.luk {
  position: absolute; right: 14px; top: 14px; z-index: 5;
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .92); box-shadow: 0 2px 10px rgba(36, 20, 47, .12);
  display: grid; place-items: center; color: var(--ink);
}
.luk svg { width: 18px; height: 18px; }
.luk:hover { background: #fff; }
.detalje { display: grid; }
@media (min-width: 760px) { .detalje { grid-template-columns: 1fr 1fr; } }
.detalje-billede { position: relative; aspect-ratio: 1 / 1; background: #fff; margin: 8px 16px 0; border-radius: 20px; overflow: hidden; border: 1px solid #F3EDE5; }
@media (max-width: 759px) { .detalje-billede { aspect-ratio: 4 / 3; } }
@media (min-width: 760px) { .detalje-billede { margin: 20px 0 20px 20px; } }
.detalje-billede img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.detalje-billede .maerkat { left: 14px; top: 14px; }
.detalje-indhold { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 760px) { .detalje-indhold { padding: 56px 32px 32px 28px; } }
.detalje-indhold h2 { font-size: 26px; letter-spacing: -0.025em; overflow-wrap: anywhere; }
.detalje-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.detalje-meta .pris { font-size: 22px; font-family: var(--font-head); }
.detalje-meta .butik { font-size: 14.5px; }
.detalje-beskrivelse { color: #3D2E4A; white-space: pre-line; overflow-wrap: anywhere; font-size: 15.5px; }
.statusboks { border-radius: 16px; padding: 14px 16px; font-size: 14.5px; display: flex; gap: 12px; align-items: flex-start; }
.statusboks svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.statusboks strong { display: block; color: var(--ink); font-size: 15px; }
.statusboks.lilla { background: #F5EEF8; color: #3D2E4A; }
.statusboks.lilla svg { color: var(--plum); }
.statusboks.graa { background: #F4F0EB; color: #4A3A58; }
.statusboks.graa svg { color: var(--muted); }
.statusboks.guld { background: #FDF3DC; color: #5A3E08; }
.statusboks.guld svg { color: #B57A10; }
.handlinger { display: grid; gap: 10px; margin-top: 4px; }
.handlinger .btn-tekst { justify-self: center; }

/* formular */
.form-ark { padding: 26px 20px 24px; }
@media (min-width: 760px) { .form-ark { padding: 34px 32px 30px; } }
.form-ark h2 { font-size: 26px; letter-spacing: -0.025em; padding-right: 44px; }
.form-produkt { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; margin: 16px 0 20px; padding: 10px; background: var(--cream); border-radius: 16px; }
.form-produkt .thumb { position: relative; width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: #fff; }
.form-produkt .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.form-produkt .thumb .pladsholder svg { width: 55%; height: 55%; }
.form-produkt strong { font-weight: 600; font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.felt { display: grid; gap: 6px; margin-bottom: 16px; }
.felt label { font-weight: 600; font-size: 14.5px; }
.felt label .valgfri { color: var(--muted); font-weight: 500; }
.felt input {
  width: 100%; min-height: 52px; padding: 12px 16px; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1.5px solid #E3D9CC; border-radius: 14px; outline: none; transition: border-color .15s ease, box-shadow .15s ease;
}
.felt input:focus { border-color: var(--plum); box-shadow: 0 0 0 4px rgba(75, 36, 102, .12); }
.felt input[aria-invalid="true"] { border-color: #C0392B; }
.felt .hjaelp { font-size: 13.5px; color: var(--muted); }
.fejlbesked { background: #FCE8E6; color: #8E2418; border-radius: 12px; padding: 12px 14px; font-size: 14.5px; font-weight: 500; margin-bottom: 14px; }
.fejlbesked strong { display: block; }
.succes { text-align: center; padding: 8px 0 4px; }
.succes .stjerne-ok { width: 84px; height: 84px; margin: 6px auto 16px; }
.succes h2 { padding: 0; }
.succes p { color: #4A3A58; margin: 10px auto 22px; max-width: 26em; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); transform: translate(-50%, 30px);
  background: var(--ink); color: #fff; padding: 13px 20px; border-radius: 999px; font-weight: 500; font-size: 15px;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; z-index: 100;
  max-width: calc(100vw - 32px); text-align: center;
}
.toast.vis { opacity: 1; transform: translate(-50%, 0); }
.maerkat, .status-pille { pointer-events: none; }
.liste-hoved .stor-glimt { display: none; }
@media (max-width: 719px) { .liste-hoved .pynt-3 { display: none; } .liste-hoved .pynt-1 { top: 110px; } }
