/* hoerup.dk – designtokens og layout. Se docs/design-brief.md */
/* Skrifttyper ligger på sitet (SIL Open Font License: Manrope, DM Sans) – ingen kald til Google */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/fonts/manrope-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/fonts/manrope-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap; src: url(/fonts/dm-sans-latin-opsz-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap; src: url(/fonts/dm-sans-latin-ext-opsz-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
:root {
  --bg: #121110;
  --panel: #1B1A18;
  --line: #2A2826;
  --fg: #F2EFE9;
  --fg-2: #C9C3B9;
  --meta: #9A948B;
  --accent: #D7F25A;
  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --gutter: clamp(20px, 4vw, 64px);
  --radius: 6px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin: 0; }
ul, ol { margin: 0; padding: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--fg-2); margin: 0; }
.eyebrow { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.textlink { color: var(--accent); font-weight: 500; padding: 10px 0; display: inline-block; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; border: 0; }
.btn--dark { background: var(--bg); color: var(--fg); }
.btn--dark:hover { color: var(--accent); }
.btn--accent { background: var(--accent); color: var(--bg); }
.btn--accent:hover { color: var(--bg); filter: brightness(1.05); }

/* ---------------------------------------------------------------- topbar */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px;
  padding: 16px var(--gutter);
  background: rgba(18,17,16,0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.logo { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.03em; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo b { font: inherit; }
.logo-ico { color: var(--accent); flex: none; }
.logo span { color: var(--accent); }
.menu { display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; font-weight: 600; letter-spacing: -0.005em; }
.menu a { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(242, 239, 233, 0.16); color: var(--fg); transition: border-color .15s, background-color .15s; }
.menu a:hover { border-color: rgba(242, 239, 233, 0.38); background: rgba(242, 239, 233, 0.04); }
.menu a.is-active { border-color: var(--accent); color: var(--accent); }
/* Burgermenu: under 1180 px foldes menuen sammen bag en knap og åbner som et panel under toppen */
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 999px; border: 1px solid rgba(242, 239, 233, 0.16); background: transparent; color: var(--fg); cursor: pointer; flex: none; position: relative; }
.menu-toggle span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.menu-toggle span:nth-child(1) { top: 16px; } .menu-toggle span:nth-child(2) { top: 22px; } .menu-toggle span:nth-child(3) { top: 28px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menu-toggle:hover { border-color: rgba(242, 239, 233, 0.38); }
@media (max-width: 1179px) {
  .menu-toggle { display: block; order: 2; }
  #hovedmenu { display: none; position: absolute; top: calc(100% + 8px); right: var(--gutter); flex-direction: column; flex-wrap: nowrap; gap: 4px; min-width: 240px; padding: 8px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0,0,0,.5); z-index: 30; }
  .menu-open #hovedmenu { display: flex; }
  #hovedmenu a { height: 48px; border-color: transparent; border-radius: 12px; padding: 0 16px; font-size: 16px; }
  #hovedmenu a.is-active { border-color: transparent; background: rgba(215, 242, 90, 0.08); }
  #hovedmenu a[data-tip]::after { display: none; }
}
@media (max-width: 720px) { .menu-toggle { width: 40px; height: 40px; } .menu-toggle span { left: 11px; right: 11px; } .menu-toggle span:nth-child(1) { top: 13px; } .menu-toggle span:nth-child(2) { top: 19px; } .menu-toggle span:nth-child(3) { top: 25px; } #hovedmenu { right: 16px; left: 16px; } }
/* Hovertekst på menupunkterne (kun med mus/trackpad) */
@media (hover: hover) {
  .menu a { position: relative; }
  .menu a[data-tip]::after {
    content: attr(data-tip); position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, -4px);
    padding: 7px 11px; border-radius: 8px; background: var(--fg); color: #121110; font-size: 12.5px; font-weight: 600; line-height: 1;
    white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .15s, transform .15s; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); z-index: 20;
  }
  .menu a[data-tip]:hover::after, .menu a[data-tip]:focus-visible::after { opacity: 1; transform: translate(-50%, 0); transition-delay: .25s; }
  .menu a[data-tip]:nth-last-child(2)::after { left: auto; right: 0; transform: translateY(-4px); }
  .menu a[data-tip]:nth-last-child(2):hover::after, .menu a[data-tip]:nth-last-child(2):focus-visible::after { transform: none; }
}
/* Sprogvælger (DK / EN): pille som menupunkterne, med rullemenu */
.lang { position: relative; }
.lang-btn { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(242, 239, 233, 0.16); color: var(--fg); cursor: pointer; user-select: none; transition: border-color .15s, background-color .15s; }
.lang-btn::-webkit-details-marker { display: none; }
.lang-btn:hover, .lang[open] .lang-btn { border-color: rgba(242, 239, 233, 0.38); background: rgba(242, 239, 233, 0.04); }
.lang-btn svg { transition: transform .15s; }
.lang[open] .lang-btn svg { transform: rotate(180deg); }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; margin: 0; padding: 6px; list-style: none; min-width: 150px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0,0,0,.5); z-index: 40; display: grid; gap: 2px; }
.menu .lang-menu a { height: 42px; width: 100%; border-color: transparent; border-radius: 10px; padding: 0 14px; font-size: 15px; }
.menu .lang-menu a[aria-current] { color: var(--accent); }
.menu .lang-menu a::after { display: none !important; }
@media (max-width: 1179px) {
  .lang { width: 100%; }
  .lang-btn { width: 100%; height: 48px; border-color: transparent; border-radius: 12px; padding: 0 16px; font-size: 16px; justify-content: space-between; }
  .lang-menu { position: static; box-shadow: none; border: 0; background: transparent; padding: 0 0 4px 8px; }
  .menu .lang-menu a { height: 44px; font-size: 16px; }
}
.search-wrap { display: flex; align-items: center; gap: 8px; flex: 1 1 220px; max-width: 528px; order: 0; min-width: 0; }
.search {
  position: relative; flex: 1 1 auto; min-width: 0;
  display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 46px;
  border-radius: 999px; background: var(--panel); border: 1px solid var(--line); color: var(--meta);
}
.search:focus-within { border-color: var(--fg-2); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 15px; color: var(--fg); outline: none; }
.search input::placeholder { color: var(--meta); }
.search input::-webkit-search-cancel-button { filter: invert(0.8); }
.search-results {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); list-style: none;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.search-results li a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--fg); }
.search-results li:last-child a { border-bottom: 0; }
.search-results li a:hover, .search-results li a.is-active { background: #242220; color: var(--accent); }
.search-results small { color: var(--meta); white-space: nowrap; flex: none; }
.search-results li a > span { min-width: 0; }
.badge[data-savour] { cursor: pointer; }
.badge[data-savour]:hover, .badge[data-savour]:focus-visible { filter: brightness(1.15); outline: none; }
.savour-tip { position: fixed; z-index: 1000; max-width: 260px; padding: 10px 12px; border-radius: 10px; background: var(--panel, #1c1c1c); color: var(--text, #eee); border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(0,0,0,.5); font-size: 13px; line-height: 1.4; text-transform: none; letter-spacing: 0; font-weight: 400; pointer-events: none; }
.savour-tip b { display: block; margin-bottom: 2px; color: var(--accent); font-size: 14px; }
.badge.badge-flag { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.badge { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: var(--accent); color: var(--bg); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.search-results .none { padding: 12px 16px; color: var(--meta); }
.search-results .sep { padding: 8px 16px 6px; border-bottom: 1px solid var(--line); color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.search-results a.all { justify-content: flex-start; color: var(--fg-2); font-weight: 600; }
.search-results { max-height: min(70vh, 560px); overflow-y: auto; }
.search-similar-head { padding: clamp(28px, 4vw, 48px) var(--gutter) 20px; font-size: 28px; letter-spacing: -0.03em; }
/* Telefon: logo + menu på én linje (menuen kan rulles sidelæns), søgefeltet smalt nedenunder */
@media (max-width: 720px) {
  .topbar { padding: 10px 16px 10px; gap: 10px 8px; }
  .logo { font-size: 22px; }
  .search-wrap { order: 3; flex-basis: 100%; max-width: none; }
  .search { height: 38px; padding: 0 12px; gap: 8px; }
  .help-btn { width: 34px; height: 34px; font-size: 15px; }
  .search input { font-size: 16px; } /* under 16 px zoomer iOS ind, når feltet får fokus */
  .search svg { width: 16px; height: 16px; }
}

/* brødkrumme + relaterede opskrifter */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 18px var(--gutter) 22px; font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--meta); }
.crumbs a { color: var(--fg-2); padding: 4px 0; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { color: var(--fg-2); font-size: 15px; line-height: 1; }
@media (max-width: 720px) { .crumbs { padding: 12px 16px 14px; gap: 4px 10px; font-size: 11px; } }
.related { padding: clamp(32px, 4vw, 56px) 0 0; }
.related h2 { font-size: clamp(22px, 2.4vw, 28px); padding: 0 var(--gutter) 18px; }
@media print { .crumbs, .related { display: none !important; } }

/* Om-siden: tekst til venstre, app-skærmbilleder til højre */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); gap: clamp(32px, 5vw, 80px); align-items: start; }
.about .prose { max-width: 640px; }
.about-app { display: flex; flex-direction: column; gap: 16px; }
.used { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px 6px; }
.used h2 { margin: 0 0 12px; font-size: 20px; }
.about-app .used .muted { display: block; margin: 0 0 8px; font-size: 14px; }
.used h3 { margin: 14px 0 6px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted, #9a9a9a); }
.used-block { margin-bottom: 14px; }
.used-distinct { margin: 0 0 6px; font-size: 14px; color: var(--muted, #9a9a9a); }
.used-distinct b { color: var(--accent); font-size: 18px; }
.used-list { list-style: none; margin: 0; padding: 0; counter-reset: u; }
.used-list li { counter-increment: u; display: flex; align-items: baseline; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); }
.used-list li:first-child { border-top: 0; }
.used-list li::before { content: counter(u); width: 1.2em; color: var(--accent); font-weight: 600; }
.used-list a { flex: 1; color: inherit; text-decoration: none; }
.used-list a:hover { color: var(--accent); text-decoration: underline; }
.used-n { color: var(--muted, #9a9a9a); font-variant-numeric: tabular-nums; font-size: 14px; }
.phones { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
.phones img { width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--line); background: var(--panel); box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.phones img:first-child { transform: translateY(-28px); }
.phones:hover img { filter: brightness(1.05); }
.about-app .muted { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.about-app .app-icon { border-radius: 7px; }
.about-app .muted a { color: var(--accent); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about-app { position: static; max-width: 420px; } .phones img:first-child { transform: translateY(-16px); } }
@media print { .about-app { display: none; } }

/* ---------------------------------------------------------------- forside */
.intro { padding: 28px var(--gutter) 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.intro .lead { margin: 0; max-width: 560px; font-size: 17px; color: var(--fg-2); }
.stats { display: flex; gap: 28px; font-family: var(--font-display); }
.stats div { display: flex; align-items: baseline; gap: 8px; }
.stats b { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; }
.stats span { font-size: 13px; color: var(--meta); }

.mosaic {
  padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 14px;
}
.tile {
  position: relative; grid-column: span 2; grid-row: span 2; overflow: hidden; border-radius: var(--radius);
  background: var(--tone, #3D2A20); display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 22px;
  color: var(--fg);
}
.tile.big { grid-column: span 4; grid-row: span 4; }
.tile.wide { grid-column: span 3; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 75%; background: linear-gradient(to top, rgba(18,17,16,0.92), rgba(18,17,16,0)); }
.tile > span { position: relative; z-index: 1; }
.tile-cat { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.tile-title { font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.08; letter-spacing: -0.03em; }
.tile.big .tile-title { font-size: clamp(30px, 3.6vw, 52px); }
.tile.wide .tile-title { font-size: 28px; }
.tile:hover { color: var(--fg); }
.tile:hover .tile-title { color: var(--accent); }
/* Mellemstørrelse (udfoldet iPhone Duo, små tablets, halv iPad): tre kolonner i mosaikken, to under 560 px */
@media (max-width: 900px) {
  .mosaic { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 120px; }
  .tile, .tile.big, .tile.wide { grid-column: span 1; grid-row: span 2; }
  .tile.big { grid-column: span 2; grid-row: span 3; }
  .tile-title, .tile.wide .tile-title { font-size: 20px; }
}
/* Telefon: lavere fliser, mindre luft, én linje kategori (resten klippes), kortere titler */
@media (max-width: 720px) {
  .mosaic { padding: 0 16px; grid-auto-rows: 96px; gap: 8px; }
  .tile { padding: 12px; gap: 4px; }
  .tile.big { grid-row: span 3; }
  .tile-cat { font-size: 10px; letter-spacing: 0.12em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tile-cat .badge { font-size: 9px; padding: 1px 5px; margin-left: 4px; }
  .tile-title, .tile.wide .tile-title { font-size: 17px; line-height: 1.1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .tile.big .tile-title { font-size: 24px; }
  .intro { padding: 18px 16px 14px; gap: 12px; }
  .intro .lead { font-size: 15px; }
  .stats { gap: 18px; }
  .stats b { font-size: 20px; }
}

.duo { padding: clamp(40px, 5vw, 64px) var(--gutter) 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.box { display: flex; flex-direction: column; gap: 14px; padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); }
.box h2 { font-size: clamp(24px, 2.6vw, 30px); }
.box--accent { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.box--accent .eyebrow { color: var(--bg); }
.box--accent .btn { align-self: flex-start; }
@media (max-width: 720px) { .duo { grid-template-columns: 1fr; } }

.latest { padding: clamp(48px, 7vw, 96px) var(--gutter); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--fg); }
.section-head h2 { font-size: 32px; }
.row { display: grid; grid-template-columns: 1fr 3fr 1fr; gap: 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.row-date { font-size: 14px; color: var(--meta); }
.row-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 2.2vw, 28px); letter-spacing: -0.02em; line-height: 1.1; }
.row-cat { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); text-align: right; }
@media (max-width: 720px) { .row { grid-template-columns: 1fr; gap: 4px; } .row-cat { text-align: left; } }

/* ------------------------------------------------------------- lister */
.page-head { padding: clamp(36px, 5vw, 64px) var(--gutter) 20px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.page-head h1 { font-size: clamp(40px, 5.6vw, 72px); letter-spacing: -0.04em; line-height: 0.95; }
.page-head .muted { max-width: 560px; font-size: 17px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 var(--gutter) 28px; }
.chip { height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.chip.is-active { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.grid { padding: 0 var(--gutter) clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 20px; }
.card { display: flex; flex-direction: column; gap: 8px; }
.card-img { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--tone, #3D2A20); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-cat { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-top: 4px; }
.card-title { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.15; letter-spacing: -0.02em; }
.card-date { font-size: 13px; color: var(--meta); }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 12px; } .card-title { font-size: 16px; } }

/* ------------------------------------------------------- opskrift/event */
.hero { position: relative; min-height: 560px; background: var(--tone, #3D2A20); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(18,17,16,0.32); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 65%; background: linear-gradient(to top, rgba(18,17,16,0.9), rgba(18,17,16,0)); }
.hero-body { position: relative; z-index: 1; padding: clamp(28px, 4vw, 56px) var(--gutter); display: flex; flex-direction: column; gap: 16px; }
.hero h1 { max-width: 1000px; font-size: clamp(34px, 5.4vw, 76px); letter-spacing: -0.04em; line-height: 0.98; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-2); }
.meta .dot { color: var(--meta); }
.meta span:first-child { color: var(--accent); font-weight: 600; }
.tag { padding: 5px 10px; border-radius: 999px; background: var(--accent); color: var(--bg) !important; font-weight: 600; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pill { padding: 10px 16px; border-radius: 999px; background: rgba(18,17,16,0.55); border: 1px solid rgba(242,239,233,0.25); font-size: 14px; font-weight: 500; }
.print-btn { margin-left: auto; }
.backlink { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-size: 14px; font-weight: 500; color: var(--fg-2); }
@media (max-width: 720px) { .hero { min-height: 420px; } .print-btn { margin-left: 0; } }

.article { padding: clamp(36px, 5vw, 64px) var(--gutter) 0; }
.article .lead { margin: 0 0 24px; max-width: 760px; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.5; color: var(--fg-2); }
.prose { font-size: 18px; line-height: 1.6; color: #E6E2DA; }
.prose > :not(.gallery) { max-width: 760px; } /* tekst holdes læsbar; billedstriben må bruge hele bredden */
.prose p { margin: 0 0 20px; }
.prose h1, .prose h2, .prose h3 { margin: 32px 0 12px; color: var(--fg); }
.prose h1 { font-size: 30px; } .prose h2 { font-size: 26px; } .prose h3 { font-size: 20px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 20px; }
.prose li { margin: 0 0 6px; }
.prose img { border-radius: var(--radius); margin: 8px 0 20px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 0 0 20px; }
.prose th, .prose td { text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--meta); border-bottom-color: var(--fg-2); }
.prose td b, .prose td strong { color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums; }
.prose td { font-variant-numeric: tabular-nums; }
/* Smal skærm: tallene må ikke knække ("1–3 t" på to linjer); tabellen ruller i stedet sidelæns, hvis den er for bred */
@media (max-width: 560px) {
  .prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; font-size: 13px; }
  .prose th, .prose td { padding: 8px 10px 8px 0; white-space: nowrap; }
  .prose td:first-child { white-space: normal; min-width: 96px; }
}
.prose blockquote { margin: 0 0 20px; padding-left: 18px; border-left: 2px solid var(--accent); color: var(--fg-2); }

.recipe-parts { padding: clamp(24px, 4vw, 48px) var(--gutter) 0; }
.part { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; padding: 36px 0; border-top: 1px solid var(--line); }
.part h2 { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 16px; }
.ing-group + .ing-group { margin-top: 32px; }
.ings { list-style: none; }
.ings li { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.35; }
.ings .q { flex: 0 0 90px; color: var(--meta); font-variant-numeric: tabular-nums; }
.ings em { color: var(--meta); font-style: normal; }
.steps { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); background: var(--panel); font-size: 16px; line-height: 1.5; color: #E6E2DA; }
.steps .num { flex: 0 0 30px; height: 30px; border-radius: 999px; background: var(--accent); color: var(--bg); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 13px; }
@media (max-width: 860px) { .part { grid-template-columns: 1fr; gap: 20px; } }

.pager { padding: clamp(40px, 6vw, 80px) var(--gutter); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pager a { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--radius); background: var(--panel); font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.pager a .eyebrow { color: var(--meta); }
.pager a.right { text-align: right; }
@media (max-width: 720px) { .pager { grid-template-columns: 1fr; } .pager a.right { text-align: left; } }

/* ----------------------------------------------------------------- events */
.log { padding: 0 var(--gutter) clamp(40px, 6vw, 64px); }
.log-year { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 32px 0; border-top: 1px solid var(--line); }
.year { font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -0.04em; color: var(--accent); }
.log-items { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.log-card { display: grid; grid-template-columns: 280px 1fr; gap: 24px; padding: 16px; border-radius: var(--radius); background: var(--panel); }
.log-img { height: 190px; border-radius: 4px; overflow: hidden; background: var(--tone, #3D2A20); }
.log-img img { width: 100%; height: 100%; object-fit: cover; }
.log-body { display: flex; flex-direction: column; justify-content: center; gap: 10px; min-width: 0; }
.log-body .meta span:first-child { color: inherit; }
.log-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.08; letter-spacing: -0.03em; }
.log-lead { font-size: 15px; color: var(--fg-2); }
@media (max-width: 860px) { .log-year { grid-template-columns: 1fr; gap: 12px; } .log-card { grid-template-columns: 1fr; } }
.band { margin: 0 var(--gutter) clamp(48px, 6vw, 80px); padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); background: var(--accent); color: var(--bg); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.band .eyebrow { color: var(--bg); }
.band h2 { font-size: clamp(24px, 3vw, 36px); max-width: 640px; margin-top: 8px; }

/* ---------------------------------------------------------------- kontakt */
.contact { padding: 0 var(--gutter) clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.big-link { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.6vw, 32px); letter-spacing: -0.02em; color: var(--accent); }
@media (max-width: 720px) { .contact { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- footer */
.footer { margin-top: auto; padding: 24px var(--gutter); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--meta); }
.print-only { display: none; }

/* ------------------------------------------------------------------ print */
@media print {
  :root { --bg: #fff; --panel: #fff; --line: #ccc; --fg: #111; --fg-2: #333; --meta: #555; --accent: #111; }
  body { background: #fff; color: #111; font-size: 12pt; display: block; min-height: 0; } /* flex-body deler dårligt over sider: tekst klippes */
  main, .hero, .recipe-parts, .article { overflow: visible; }
  .topbar, .footer, .pager, .print-btn, .search, .menu, .backlink { display: none !important; }
  .hero { min-height: 0; background: none; display: block; }
  .hero::before, .hero::after { display: none; }
  .hero-img { position: static; width: 100%; height: 260px; object-fit: cover; border-radius: 4px; margin-bottom: 16px; }
  .hero-body { padding: 0; gap: 10px; }
  .hero h1 { font-size: 26pt; color: #111; }
  .meta, .meta span:first-child { color: #555; }
  .pill { border: 1px solid #111; background: none; color: #111; }
  .article, .recipe-parts { padding: 16px 0 0; }
  .prose { max-width: none; font-size: 11.5pt; color: #111; }
  .prose a { color: #111; }
  .prose img { max-height: 220px; width: auto; }
  /* grid/flex kan ikke deles pænt over sider i Chrome (tekst klippes), så udskrift bruger almindelig blok-layout */
  .part { display: block; padding: 18px 0; border-top: 1px solid #111; break-inside: auto; }
  .part h2 { break-after: avoid; }
  .ings { display: block; margin-bottom: 10px; }
  .steps { display: block; }
  .steps li { margin-bottom: 6px; }
  .part h2 { font-size: 16pt; color: #111; }
  .ings { columns: 2; column-gap: 24px; }
  .ings li { break-inside: avoid; padding: 4px 0; border-color: #ddd; font-size: 10.5pt; }
  .ings .q { color: #555; }
  .steps li { background: none; padding: 4px 0; font-size: 11pt; color: #111; break-inside: avoid; }
  .steps .num { background: none; border: 1.5px solid #111; color: #111; flex-basis: 22px; height: 22px; font-size: 10px; }
  .print-only { display: block; }
  .print-url { margin: 24px 0 0; padding-top: 8px; border-top: 1px solid #111; font-size: 9pt; color: #555; }
  @page { margin: 18mm; }
}

/* ---------------------------------------------------------------- galleri */
/* Vandret, scrollbar billedstribe. Billederne er 220 px høje; klik åbner lightbox. */
.gallery {
  display: flex; gap: 10px; margin: 8px 0 24px; padding-bottom: 8px;
  overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
  max-width: none;
}
.gallery::-webkit-scrollbar { height: 6px; }
.gallery::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.gallery a { flex: 0 0 auto; height: 220px; border-radius: var(--radius); overflow: hidden; background: var(--panel); scroll-snap-align: start; }
.gallery img { height: 100%; width: auto; max-width: none; margin: 0; border-radius: 0; display: block; transition: transform .4s ease; }
.gallery a:hover img { transform: scale(1.03); }
@media (max-width: 720px) { .gallery a { height: 160px; } }
@media print { .gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; } .gallery a { height: auto; aspect-ratio: 4 / 3; } .gallery img { width: 100%; height: 100%; object-fit: cover; } }

/* ---------------------------------------------------------------- lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: #121110; display: flex; flex-direction: column; }
.lightbox[hidden] { display: none; }
.lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px var(--gutter); color: var(--fg-2); font-size: 14px; }
.lightbox-close { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--fg); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.lightbox-close:hover { border-color: var(--fg); color: var(--accent); }
.lightbox-track { flex: 1; display: flex; gap: 24px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 24px; align-items: center; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.lightbox-track img { flex: 0 0 auto; max-height: calc(100vh - 110px); max-width: calc(100vw - 2 * var(--gutter)); width: auto; height: auto; object-fit: contain; scroll-snap-align: center; border-radius: var(--radius); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--fg); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.lightbox-nav:hover { color: var(--accent); border-color: var(--fg); }
.lightbox-nav.prev { left: 12px; } .lightbox-nav.next { right: 12px; }
@media (max-width: 720px) { .lightbox-nav { display: none; } }
body.has-lightbox { overflow: hidden; }

/* ---------------------------------------------------------------- figur */
.figure { margin: 8px 0 24px; }
.figure a { display: inline-block; border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.figure img { max-height: 420px; width: auto; max-width: 100%; margin: 0; border-radius: 0; }
@media print { .figure img { max-height: 220px; } }
.figure figcaption { font-size: 13px; color: var(--meta); margin-top: 8px; }

.part-note { margin: -4px 0 18px; color: var(--muted, #b4b4b4); line-height: 1.55; }
.part-note p { margin: 0 0 8px; }

.eatmap { margin-top: 0; padding-top: clamp(8px, 2vw, 24px); }
.eatmap h2 { margin: 0 0 6px; }
.eatmap > .muted { margin: 0 0 18px; }
.map-frame { position: relative; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); padding: 8px; overflow: hidden; }
.map-frame svg { display: block; width: 100%; height: auto; touch-action: pan-y; cursor: default; user-select: none; -webkit-user-select: none; }
.map-frame.is-zoomed svg { touch-action: none; cursor: grab; }
.map-frame.is-zoomed svg:active { cursor: grabbing; }
.map-ctl { position: absolute; top: 16px; right: 16px; display: flex; flex-direction: column; gap: 6px; }
.map-ctl button { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: rgba(28,28,28,.85); color: var(--text, #eee); font-size: 20px; line-height: 1; cursor: pointer; backdrop-filter: blur(6px); }
.map-ctl button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.map-ctl button:disabled { opacity: .35; cursor: default; }
.map-hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); margin: 0; padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,.7); color: #eee; font-size: 13px; pointer-events: none; }
.map-hint[hidden], .map-ctl[hidden] { display: none; }
.eatmap .dot { fill: var(--accent); fill-opacity: .8; stroke: var(--accent); stroke-width: 1; vector-effect: non-scaling-stroke; transition: fill-opacity .15s; }
.eatmap .cnt { fill: #121212; font-weight: 700; text-anchor: middle; pointer-events: none; font-family: inherit; }
.eatmap .lbl { display: none; font-size: calc(var(--fs, 11) * 1px); fill: #f2f2f2; paint-order: stroke; stroke: #111; stroke-width: calc(var(--fs, 11) * .3px); stroke-linejoin: round; text-anchor: middle; pointer-events: none; }
.eatmap .zoomed .lbl.big, .eatmap .zoomed-all .lbl { display: block; }
.eatmap .pin:hover .dot { fill-opacity: 1; }
.eatmap .small { margin: 14px 0 0; font-size: 14px; }
@media print { .eatmap { display: none; } }
.wake-btn { background: rgba(18,17,16,0.55); color: var(--fg); border: 1px solid rgba(242,239,233,0.25); font-size: 14px; padding: 10px 16px; font-weight: 500; }
.wake-btn[hidden] { display: none; }
.wake-btn:hover { border-color: var(--accent); }
.wake-btn.is-on { background: var(--accent); color: var(--bg); border-color: transparent; }
@media print { .wake-btn { display: none !important; } }

/* Favoritter */
.fav-sec { padding: 8px var(--gutter) clamp(40px, 5vw, 64px); }
.page-head + .fav-sec { padding-top: clamp(16px, 2.5vw, 32px); }
.fav-cols.fav-sec { align-items: start; }
.fav-sec .section-head { margin-bottom: 20px; }
.fav-sec .section-head .small { font-size: 14px; }
.fav-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.fav-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px 10px; }
.fav-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.fav-head h2 { font-size: 26px; }
.fav-toggle { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); }
.fav-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.fav-toggle label { padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--fg-2); cursor: pointer; user-select: none; }
.fav-toggle label:hover { color: var(--fg); }
.fav-toggle input:checked + label { background: var(--accent); color: var(--bg); }
.fav-toggle input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.fav-card .fav-pane { display: none; }
.fav-card:has(.fav-toggle input:nth-of-type(1):checked) .fav-pane[data-pane="0"],
.fav-card:has(.fav-toggle input:nth-of-type(2):checked) .fav-pane[data-pane="1"] { display: block; }
.fav-made { margin: 4px 0 0; font-size: 14px; color: var(--meta); }
.fav-made b { color: var(--fg); font-family: var(--font-display); font-size: 17px; }
.fav-sub { margin: 6px 0 4px; font-size: 14px; color: var(--meta); }
.fav-list { list-style: none; margin: 8px 0 0; padding: 0; }
.fav-list li + li { border-top: 1px solid var(--line); }
.fav-list a { display: grid; grid-template-columns: 30px 48px 1fr auto; gap: 14px; align-items: center; padding: 10px 0; }
.fav-rank { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.03em; color: var(--accent); text-align: right; font-variant-numeric: tabular-nums; }
.fav-img { width: 48px; height: 48px; border-radius: 8px; overflow: hidden; background: var(--tone, #3D2A20); }
.fav-img img { width: 100%; height: 100%; object-fit: cover; }
.fav-text { display: flex; flex-direction: column; min-width: 0; }
.fav-title { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -0.01em; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fav-list a:hover .fav-title { color: var(--accent); }
.fav-cat { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--meta); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fav-n { font-size: 14px; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.fav-grid { padding: 0; }
@media (max-width: 860px) { .fav-cols { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .fav-card { padding: 16px 16px 6px; } .fav-list a { grid-template-columns: 24px 44px 1fr auto; gap: 10px; } .fav-img { width: 44px; height: 44px; } .fav-rank { font-size: 19px; } .fav-title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } }

/* Udstyr */
.gear-h-ico { display: inline-flex; color: var(--accent); margin-right: 14px; vertical-align: middle; }
.gear-h-ico svg { width: .7em; height: .7em; }
.gear-group { padding: 0 var(--gutter) clamp(24px, 3vw, 40px); }
.page-head + .gear-group { padding-top: clamp(8px, 1.5vw, 20px); }
.gear-group-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--fg); }
.gear-group-head h2 { font-size: 36px; }
.gear-group-head .muted { max-width: 520px; font-size: 15px; }
.gear-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 6px; }
.gear-cats input { position: absolute; opacity: 0; pointer-events: none; }
.gear-cats label { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; cursor: pointer; user-select: none; }
.gear-cats label span { color: var(--meta); margin-left: 4px; font-variant-numeric: tabular-nums; }
.gear-cats label:hover { border-color: var(--fg-2); }
.gear-cats input:checked + label { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.gear-cats input:checked + label span { color: var(--bg); opacity: .7; }
.gear-cats input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.gear-group .gear-grid { margin-top: 20px; }
.gear-cat { color: var(--fg-2); }
.gear-sec { padding: 22px 0 18px; scroll-margin-top: 90px; }
.gear-sec .section-head { border-bottom-color: var(--line); padding-bottom: 12px; }
.gear-cat-title { font-size: 22px; }
.gear-sec .section-head { margin-bottom: 24px; }
.gear-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.gear-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.gear-img { display: block; position: relative; aspect-ratio: 1 / 1; background: radial-gradient(circle at 50% 42%, #2A2826 0%, #1B1A18 70%); }
.gear-img img { position: absolute; inset: 10%; width: 80%; height: 80%; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(0,0,0,.45)); transition: transform .4s ease; }
.gear-card:hover .gear-img img { transform: scale(1.04); }
.gear-img { overflow: hidden; }
.gear-img img.photo { inset: 0; width: 100%; height: 100%; object-fit: cover; filter: none; }
/* Sidetop på Udstyr/Ingredienser: titel | intro | "ikke sponsoreret" i tre kolonner, bundjusteret */
.gear-head { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 460px); align-items: end; gap: 20px 48px; }
.gear-head-side { display: contents; }
.gear-head .muted { margin: 0; max-width: 520px; justify-self: center; }
@media (max-width: 1399px) { .gear-head { grid-template-columns: auto minmax(0, 1fr); } .gear-head .gear-indep { grid-column: 1 / -1; max-width: 720px; } }
@media (max-width: 720px) { .gear-head { grid-template-columns: 1fr; } .gear-head .muted { justify-self: start; } }
.gear-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; border-top: 1px solid var(--line); }
.gear-maker { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.gear-body h3 { font-size: 20px; letter-spacing: -0.02em; line-height: 1.15; }
.gear-body h3 a:hover { color: var(--accent); }
.gear-body p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--fg-2); }
.gear-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.gear-facts li { font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--fg-2); }
.gear-link { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--accent); }
.gear-note { padding: 0 var(--gutter) clamp(40px, 5vw, 64px); }
@media (max-width: 1100px) { .gear-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .gear-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }  .gear-body { padding: 14px; } .gear-body h3 { font-size: 17px; } }
@media (max-width: 460px) { .gear-grid { grid-template-columns: 1fr; } }
.gear-group .gear-cats { margin-top: 4px; }
.gear-indep { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); font-size: 14px; line-height: 1.55; color: var(--fg-2); }
.gear-indep svg { flex: none; color: var(--accent); margin-top: 2px; }
.gear-indep b { color: var(--fg); font-weight: 700; }
.gear-foot { padding: 0 var(--gutter) clamp(48px, 6vw, 80px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.gear-foot .small { margin: 0; max-width: 560px; }
.gear-other { display: inline-flex; align-items: center; gap: 14px; padding: 14px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.gear-other:hover { border-color: var(--accent); color: var(--fg); }
.gear-other .gear-h-ico { margin: 0; }
.gear-other .gear-h-ico svg { width: 26px; height: 26px; }
.gear-other span:not(.gear-h-ico) { display: flex; flex-direction: column; }
.gear-other small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--meta); }
.gear-other b { font-family: var(--font-display); font-size: 20px; letter-spacing: -0.02em; }

/* "?" ved søgefeltet: forklaring af søgningen i en dialog (luk med Esc, X eller klik udenfor) */
.help-btn { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); color: var(--meta); font: 600 16px/1 var(--font-body); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: border-color .15s, color .15s; }
.help-btn:hover, .help-btn:focus-visible { border-color: var(--accent); color: var(--accent); outline: none; }
.help-dialog { width: min(560px, calc(100vw - 32px)); margin: 24px auto auto; padding: 28px 30px 26px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--fg-2); box-shadow: 0 24px 60px rgba(0,0,0,.55); }
.help-dialog::backdrop { background: rgba(18,17,16,.7); backdrop-filter: blur(4px); }
.help-dialog h2 { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -0.03em; color: var(--fg); margin: 0 36px 12px 0; }
.help-dialog p, .help-dialog li { font-size: 15px; line-height: 1.55; }
.help-dialog p { margin: 0 0 12px; }
.help-dialog ul { margin: 0 0 14px 18px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.help-dialog b { color: var(--fg); font-weight: 600; }
.help-dialog i { color: var(--accent); font-style: normal; }
.help-dialog em { color: var(--fg); }
.help-dialog .small { font-size: 13px; color: var(--meta); margin-bottom: 0; }
.help-dialog a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.help-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid transparent; background: transparent; color: var(--meta); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.help-close:hover, .help-close:focus-visible { border-color: var(--accent); color: var(--accent); outline: none; }
@media (max-width: 720px) { .help-dialog { margin-top: 12px; padding: 22px 20px 20px; } .help-dialog h2 { font-size: 20px; } }

/* Smalle skærme (foldet Duo-ydersskærm er 466 px; Safari i split view på den udfoldede ca. 313 px) */
@media (max-width: 560px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Bedømmelse (stjerner) under heroen på opskrifter */
.rate { padding: 18px var(--gutter) 0; }
.rate-box { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 12px 18px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); width: fit-content; max-width: 100%; }
.rate-h { font-size: 14px; font-weight: 600; color: var(--fg-2); }
.stars { display: inline-flex; gap: 2px; }
.star { font: inherit; font-size: 26px; line-height: 1; padding: 2px 3px; border: 0; background: none; color: var(--line); cursor: pointer; transition: color .12s, transform .12s; }
.star.is-on { color: var(--accent); }
.star:hover { transform: scale(1.15); }
.star:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.rate-sum { font-size: 14px; color: var(--meta); }
.is-voted .rate-sum { color: var(--accent); }
.pill--rating small { font-size: 12px; opacity: .8; margin-left: 2px; }
.card-rating { color: var(--accent); margin-left: 6px; }
@media (max-width: 720px) { .rate { padding-top: 14px; } .rate-box { border-radius: 16px; padding: 10px 14px; } .star { font-size: 28px; padding: 4px 4px; } }
@media print { .rate { display: none !important; } }
