/* Jernbanecaféen — design 2026 (canvas-implementering)
   Tokens og komponenter. Aktiv sammen med jernbane-site.js. */

:root {
  --forest: #20332d;
  --forest-deep: #172721;
  --linen: #f1eee6;
  --linen-2: #e5e0d4;
  --copper: #b87556;
  --copper-deep: #874c39;
  --brass: #c49a51;
  --ink: #1a2521;
  --muted: #5a655e;
  --line: rgba(26, 37, 33, .18);
  --line-cream: rgba(241, 238, 230, .16);
  --display: "Anton", "Arial Narrow", sans-serif;
  --body: "Schibsted Grotesk", Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --notch-lys: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20200%2048%27%3E%3Cpath%20d%3D%27M%20184.50%202.50%20A%2013.0%2013.0%200%200%201%20191.00%204.24%20A%206.0%206.0%200%200%201%20195.76%209.00%20A%2013.0%2013.0%200%200%201%20197.50%2015.50%20A%2013.0%2013.0%200%200%201%20195.76%2039.00%20A%206.0%206.0%200%200%201%20191.00%2043.76%20A%2013.0%2013.0%200%200%201%20184.50%2045.50%20A%2013.0%2013.0%200%200%201%209.00%2043.76%20A%206.0%206.0%200%200%201%204.24%2039.00%20A%2013.0%2013.0%200%200%201%202.50%2032.50%20A%2013.0%2013.0%200%200%201%204.24%209.00%20A%206.0%206.0%200%200%201%209.00%204.24%20A%2013.0%2013.0%200%200%201%2015.50%202.50%20Z%27%20fill%3D%27none%27%20stroke%3D%27f1eee6%27%20stroke-width%3D%272.6%27%2F%3E%3C%2Fsvg%3E");
  --notch-ink: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20200%2048%27%3E%3Cpath%20d%3D%27M%20184.50%202.50%20A%2013.0%2013.0%200%200%201%20191.00%204.24%20A%206.0%206.0%200%200%201%20195.76%209.00%20A%2013.0%2013.0%200%200%201%20197.50%2015.50%20A%2013.0%2013.0%200%200%201%20195.76%2039.00%20A%206.0%206.0%200%200%201%20191.00%2043.76%20A%2013.0%2013.0%200%200%201%20184.50%2045.50%20A%2013.0%2013.0%200%200%201%209.00%2043.76%20A%206.0%206.0%200%200%201%204.24%2039.00%20A%2013.0%2013.0%200%200%201%202.50%2032.50%20A%2013.0%2013.0%200%200%201%204.24%209.00%20A%206.0%206.0%200%200%201%209.00%204.24%20A%2013.0%2013.0%200%200%201%2015.50%202.50%20Z%27%20fill%3D%27none%27%20stroke%3D%271a2521%27%20stroke-width%3D%272.6%27%2F%3E%3C%2Fsvg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; color: var(--ink); background: var(--linen); font-family: var(--body); line-height: 1.6; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 4px; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: 1.26; margin: 0; letter-spacing: .005em; }
h1 { font-size: clamp(3.2rem, 9vw, 8.5rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.9rem); text-wrap: balance; }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
p { margin: 0; }

.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 60; padding: .7rem 1rem; color: var(--linen); background: var(--forest-deep); }
.skip-link:focus { top: 1rem; }

.jb-wrap { max-width: 1440px; margin: 0 auto; padding-left: clamp(1.25rem, 4vw, 3.5rem); padding-right: clamp(1.25rem, 4vw, 3.5rem); }
.jb-pad { padding-top: clamp(3.5rem, 8vw, 7rem); padding-bottom: clamp(3.5rem, 8vw, 7rem); }

/* Eyebrow + smallcaps-label */
.jb-eyebrow { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--copper-deep); }
.on-dark .jb-eyebrow, .jb-eyebrow.on-dark { color: var(--brass); }

/* ---------- Header ---------- */
.jb-header { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 78px; padding: .7rem clamp(1.25rem, 4vw, 3.5rem); color: var(--linen); background: var(--forest); transition: background .35s ease, color .35s ease, box-shadow .35s ease; }
.jb-header.is-light { background: var(--linen); color: var(--ink); box-shadow: 0 1px 0 rgba(26,37,33,.25); }
.jb-header.is-scrolled:not(.is-light) { box-shadow: 0 1px 0 rgba(241, 238, 230, .18); }
.jb-logo { width: 180px; flex: none; display: grid; }
.jb-logo img { width: 100%; height: auto; grid-area: 1 / 1; transition: opacity .3s ease; }
.jb-logo .logo-lys { opacity: 0; }
.jb-header.is-light .logo-lys { opacity: 1; }
.jb-header.is-light .logo-creme { opacity: 0; }
.jb-nav { display: flex; align-items: center; gap: clamp(.9rem, 2.2vw, 2rem); font-size: .8rem; letter-spacing: .07em; text-transform: uppercase; font-weight: 500; }
.jb-nav a { text-decoration: none; opacity: .78; }
.jb-nav a:hover, .jb-nav a[aria-current="page"] { opacity: 1; }
.jb-nav a[aria-current="page"] { border-bottom: 2px solid var(--brass); padding-bottom: 3px; }
.jb-notch, .jb-button, .jb-badge, .figur .chip, .jb-tilvalg {
  --nr: 7px;
  -webkit-mask: radial-gradient(circle at 0 0, transparent var(--nr), #000 calc(var(--nr) + .5px)) 0 0 / 51% 51% no-repeat,
    radial-gradient(circle at 100% 0, transparent var(--nr), #000 calc(var(--nr) + .5px)) 100% 0 / 51% 51% no-repeat,
    radial-gradient(circle at 0 100%, transparent var(--nr), #000 calc(var(--nr) + .5px)) 0 100% / 51% 51% no-repeat,
    radial-gradient(circle at 100% 100%, transparent var(--nr), #000 calc(var(--nr) + .5px)) 100% 100% / 51% 51% no-repeat;
  mask: radial-gradient(circle at 0 0, transparent var(--nr), #000 calc(var(--nr) + .5px)) 0 0 / 51% 51% no-repeat,
    radial-gradient(circle at 100% 0, transparent var(--nr), #000 calc(var(--nr) + .5px)) 100% 0 / 51% 51% no-repeat,
    radial-gradient(circle at 0 100%, transparent var(--nr), #000 calc(var(--nr) + .5px)) 0 100% / 51% 51% no-repeat,
    radial-gradient(circle at 100% 100%, transparent var(--nr), #000 calc(var(--nr) + .5px)) 100% 100% / 51% 51% no-repeat;
}
.jb-badge, .figur .chip { --nr: 5px; }
.jb-button { display: inline-block; padding: .85rem 1.5rem; background: var(--copper); color: var(--linen) !important; font-weight: 700; text-decoration: none; opacity: 1 !important; border: 0; cursor: pointer; transition: background .2s ease, transform .2s var(--ease); }
.jb-button:hover { background: var(--copper-deep); transform: translateY(-1px); }
.jb-button-outline { background: transparent; border: 0; padding: .85rem 1.5rem; color: inherit !important; -webkit-mask: none; mask: none; }
.jb-button-outline:hover { background: rgba(26,37,33,.06); }
.jb-button-dark { background: var(--ink); }
.jb-button-dark:hover { background: var(--forest-deep); }
.jb-menu { display: none; background: none; border: 2px solid currentColor; color: inherit; padding: .5rem .9rem; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; cursor: pointer; }

/* Mobile drawer */
.jb-mobile { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; gap: 1.1rem; padding: 5rem 2rem 2rem; background: var(--forest-deep); color: var(--linen); transform: translateX(100%); transition: transform .3s var(--ease); }
.jb-mobile.is-open { transform: none; }
.jb-mobile a { font-family: var(--display); font-size: 1.9rem; text-transform: uppercase; text-decoration: none; }
.jb-close { position: absolute; top: 1.2rem; right: 1.4rem; background: none; border: 2px solid currentColor; color: inherit; padding: .5rem .9rem; text-transform: uppercase; letter-spacing: .08em; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .jb-mobile { transition: none; } }

/* ---------- Hero ---------- */
.s-hero { position: relative; background: var(--forest); color: var(--linen); overflow: hidden; }
.s-hero-inner { position: relative; padding: clamp(2.5rem, 6vw, 5.5rem) clamp(1.25rem, 4vw, 3.5rem) 0; }
.s-hero-eyebrow { color: var(--brass); margin-bottom: clamp(.9rem, 2vw, 1.6rem); }
.s-hero h1 { color: var(--linen); font-size: clamp(3.2rem, 9vw, 8.5rem); line-height: 1.16; }
.s-hero-media { position: absolute; right: clamp(1.25rem, 4vw, 3.5rem); top: clamp(4.5rem, 7vw, 6.5rem); width: 34vw; max-width: 550px; aspect-ratio: 540 / 620; }
.s-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.s-hero-intro { font-size: 1rem; line-height: 1.55; color: rgba(241,238,230,.85); }
.s-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; max-width: 56%; padding: clamp(2rem, 4.5vw, 3.4rem) 0 clamp(2.4rem, 5vw, 3.8rem); }
.s-hero-note { display: flex; align-items: center; gap: .8rem; font-size: .78rem; color: var(--brass); font-weight: 500; }
.s-hero-note::before { content: ""; width: 26px; height: 2px; background: var(--brass); }
.jb-ghostlink { color: inherit; }
.s-copy p.jb-datestamp { font-size: .8rem; }
.s-copy p.jb-eyebrow { font-size: .8rem; }

/* Togtavlen */
.s-tavle { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--forest-deep); border-top: 1px solid var(--line-cream); }
.s-tavle > div { padding: 1.4rem clamp(1rem, 2.5vw, 2.2rem); border-right: 1px solid rgba(241,238,230,.12); }
.s-tavle > div:last-child { border-right: 0; }
.s-tavle .dag { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(241,238,230,.55); }
.s-tavle .tid { font-family: var(--display); font-size: clamp(1.3rem, 2vw, 1.9rem); margin-top: .3rem; color: var(--linen); text-transform: uppercase; }
.s-tavle .tid.lukket { color: var(--brass); }

/* ---------- Dagens ret ---------- */
.s-dagensret { border-bottom: 1px solid var(--line); }
.s-dagensret-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.jb-badge { display: inline-block; padding: .5rem .9rem; background: var(--copper); color: var(--linen); font-size: .8rem; letter-spacing: .06em; font-weight: 700; transform: rotate(-2deg); }
.jb-datestamp { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.jb-price { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--copper-deep); }
.s-dagensret img { width: 100%; height: clamp(260px, 30vw, 420px); object-fit: cover; object-position: center 60%; }

/* ---------- Menuliste ---------- */
.jb-menuliste { display: flex; flex-direction: column; }
.jb-menuliste .row { display: flex; align-items: baseline; justify-content: space-between; gap: 1.2rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); transition: border-color .2s ease; }
.jb-menuliste .row:hover { border-bottom-color: var(--copper); }
.jb-menuliste .navn { font-size: 1.15rem; font-weight: 700; }
.jb-menuliste .note { font-size: .9rem; color: var(--muted); font-weight: 400; display: block; }
.jb-menuliste .pris { font-weight: 700; font-size: 1.125rem; color: var(--copper-deep); white-space: nowrap; }
.on-dark .jb-menuliste .row { border-bottom-color: var(--line-cream); }
.on-dark .jb-menuliste .pris { color: var(--brass); }
.jb-menuliste.thin .row { padding: .75rem 0; }
.jb-menuliste.thin .navn { font-size: .95rem; font-weight: 400; }
.jb-menuliste.thin .pris { font-size: .95rem; font-weight: 400; }

/* Sektioner generelt */
.s-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.s-split.top { align-items: start; }
.s-copy { display: flex; flex-direction: column; gap: 1.3rem; }
.s-copy p { max-width: 52ch; font-size: 1.05rem; line-height: 1.65; }
.on-dark { background: var(--forest); color: var(--linen); }
.on-dark .s-copy p { color: rgba(241, 238, 230, .87); }
.figur { position: relative; }
.figur img { width: 100%; height: clamp(320px, 42vw, 620px); object-fit: cover; }
.figur .chip { position: absolute; left: 1.4rem; bottom: 1.4rem; background: var(--linen); color: var(--ink); padding: .7rem 1.1rem; font-size: .8rem; font-weight: 500; }
.figur .chip.dark { background: var(--forest-deep); color: var(--linen); }
.figur .chip.tilt { left: -1.1rem; bottom: 1.8rem; transform: rotate(1.5deg); box-shadow: 0 4px 14px rgba(26,37,33,.15); }

/* 1877-tal */
p.jb-ghosttal { position: relative; z-index: -1; font-family: var(--display); font-size: clamp(4.5rem, 11vw, 10.5rem); line-height: 1; color: #ded7c5; }
p.jb-ghosttal + h2 { margin-top: calc(clamp(4.5rem, 11vw, 10.5rem) * -.4); }

/* 1877 som svag baggrund i de moerke sektioner */
.jb-har-ghost { position: relative; overflow: hidden; }
.jb-ghostbg { position: absolute; right: -1rem; bottom: -.15em; margin: 0; font-family: var(--display); font-size: clamp(11rem, 26vw, 24rem); line-height: 1; color: rgba(241, 238, 230, .055); pointer-events: none; user-select: none; }
.jb-har-ghost > .jb-wrap { position: relative; }
.jb-ghostbg.lys { left: -1rem; right: auto; color: rgba(26, 37, 33, .045); }

/* CTA-bånd */
.s-ctaband { background: var(--copper); color: var(--linen); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.6rem; padding: clamp(2.2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 3.5rem); }
.s-ctaband h2 { font-size: clamp(1.9rem, 3.6vw, 3.2rem); }
.s-ctaband .cta-side { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.s-ctaband .cta-note { font-size: .95rem; max-width: 22rem; line-height: 1.5; }
.s-ctaband .jb-button-dark { background: var(--forest-deep); font-size: 1.125rem; }
.h2-sm { font-size: clamp(1.9rem, 3.9vw, 3.5rem); }

/* Nummererede trin (takeaway) */
.jb-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.6rem, 4vw, 3rem); }
.jb-steps > div { border-top: 3px solid var(--brass); padding-top: 1.4rem; display: flex; flex-direction: column; gap: .8rem; }
.jb-steps .nr { font-family: var(--display); font-size: 3.4rem; line-height: 1; color: var(--brass); }
.jb-steps h3 { font-size: 1.875rem; }
.jb-steps p { color: rgba(241,238,230,.82); font-size: .98rem; line-height: 1.6; }

/* Tilvalg-boks + menusektion-headers */
.jb-tilvalg { margin-top: .6rem; padding: .95rem 1.2rem; background: var(--linen-2); font-size: .95rem; }
.jb-tilvalg .t { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--copper-deep); font-weight: 700; margin-right: .6rem; }
.jb-kortheader { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 3px solid var(--ink); padding-bottom: .85rem; margin-bottom: .6rem; }
.jb-kortheader .tid { font-size: .9rem; color: var(--copper-deep); font-weight: 500; }
.on-dark .jb-kortheader { border-bottom-color: var(--brass); }
.on-dark .jb-kortheader .tid { color: var(--brass); }

/* Thai-panel på menukort */
.jb-thai-panel { background: var(--forest); color: var(--linen); padding: clamp(1.6rem, 3.5vw, 2.6rem); }

/* Takeaway-boks */
.jb-boks { border: 2px solid var(--ink); padding: clamp(1.4rem, 3vw, 2rem); }
.jb-boks .top { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; }
.jb-boks .bund { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; }
.jb-boks .bund .frem { color: var(--copper-deep); font-weight: 500; }

/* ---------- Kontakt/form (genbruger id-kontrakter) ---------- */
.jb-contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.jb-address { font-style: normal; line-height: 2; }
.jb-form { display: flex; flex-direction: column; gap: 1rem; background: #fff; padding: clamp(1.4rem, 3vw, 2.4rem); border: 1px solid var(--line); }
.jb-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.jb-field label { display: flex; flex-direction: column; gap: .4rem; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.jb-field input, .jb-field textarea { border: 1px solid rgba(26,37,33,.3); padding: .85rem .9rem; font-size: 1rem; background: #fff; color: var(--ink); letter-spacing: normal; text-transform: none; }
.jb-field textarea { min-height: 7rem; resize: vertical; }
.jb-honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.jb-feedback { font-size: .95rem; color: var(--copper-deep); min-height: 1.4em; }
.jb-map iframe { width: 100%; height: 300px; border: 0; }

/* ---------- Footer ---------- */
.jb-footer { background: var(--forest-deep); color: var(--linen); padding: clamp(3rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 3.5rem) 2.4rem; }
.jb-footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.8rem, 4vw, 3rem); align-items: start; }
.jb-footer-logo { width: 290px; max-width: 70%; display: block; }
.jb-footer .kol { font-size: .9rem; line-height: 2.05; color: rgba(241,238,230,.85); }
.jb-footer .kol .t { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: .5rem; }
.jb-footer .kol a { text-decoration: none; }
.jb-footer .kol a:hover { text-decoration: underline; }
.jb-footer .om { font-size: .95rem; line-height: 1.6; color: rgba(241,238,230,.7); max-width: 300px; margin-top: 1.1rem; }
.jb-some { display: flex; align-items: center; gap: .9rem; margin-top: 1rem; }
.jb-some a { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid rgba(241,238,230,.35); transition: border-color .2s ease, transform .2s var(--ease); }
.jb-some a:hover { border-color: var(--brass); transform: translateY(-2px); }
.jb-some .txt { font-size: .85rem; color: rgba(241,238,230,.7); }
.jb-footer-bund { margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.4rem; border-top: 1px solid var(--line-cream); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .78rem; color: rgba(241,238,230,.62); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.no-anim .reveal { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Ken Burns: billeder glider på plads sammen med reveal */
.figur.reveal img, .s-dagensret .reveal img { transform: scale(1.06); transition: transform 1.2s var(--ease); }
.figur.reveal.is-visible img, .s-dagensret .reveal.is-visible img { transform: none; }

/* "I dag"-badget stemples på når dagens ret reveales */
.reveal.is-visible .jb-badge { animation: jbStamp .35s cubic-bezier(.34, 1.56, .64, 1) both; }
@keyframes jbStamp { from { transform: scale(1.6) rotate(-8deg); opacity: 0; } to { transform: scale(1) rotate(-2deg); opacity: 1; } }

/* Togtavle-split-flap: faste tegnslots så tallene klapper på plads uden jitter */
.s-tavle .tid span { display: inline-block; min-width: .5em; text-align: center; }

.no-anim .reveal img, .no-anim .jb-badge { transform: none; transition: none; animation: none !important; }
@media (prefers-reduced-motion: reduce) { .reveal img, .jb-badge { transform: none; transition: none; animation: none !important; } }

/* ---------- Responsivt ---------- */
@media (max-width: 980px) {
  .jb-nav { display: none; }
  .jb-menu { display: inline-block; }
  .only-desktop { display: none !important; }
  .jb-logo { width: 118px; }
  .jb-ring-mobil { display: inline-flex; align-items: center; min-height: 44px; margin-left: auto; padding: .5rem .85rem; font-size: .75rem; white-space: nowrap; }
  .jb-menu { min-height: 44px; }
  .jb-header { padding-left: 1rem; padding-right: 1rem; gap: .7rem; }
  .jb-menu { padding: .5rem .7rem; }
  .s-hero-inner { padding-top: 1.6rem; }
  .s-hero-media { position: static; width: 100%; aspect-ratio: auto; height: 235px; margin-top: 1.25rem; }
  .s-hero h1 { font-size: clamp(3.6rem, 20.5vw, 5rem); line-height: 1.22; }
  .s-hero-intro { padding-top: 1.5rem; }
  .s-hero-actions { max-width: none; flex-direction: column; align-items: stretch; padding-top: 1.1rem; padding-bottom: 2.1rem; gap: .75rem; }
  .s-hero-actions .jb-button, .s-hero-actions .jb-button-outline { text-align: center; }
  .s-hero-note { padding-top: .4rem; }
  .s-tavle { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-tavle > div:nth-child(2n) { border-right: 0; }
  .s-tavle > div:nth-child(-n+2) { border-bottom: 1px solid rgba(241,238,230,.12); }
  h2 { font-size: 2rem; }
  #kromad-title { font-size: 2.125rem; }
  #dagensret-title { font-size: 2.75rem; }
  .jb-price { font-size: 1.625rem; }
  .jb-eyebrow { font-size: .6875rem; }
  .jb-menuliste .navn { font-size: 1.0625rem; }
  .jb-menuliste .pris { font-size: 1rem; }
  .jb-menuliste.thin .navn, .jb-menuliste.thin .pris { font-size: .875rem; }
  .thai-mobilfoto img, .dagensret-mobilfoto img { max-width: none; }
  .kromad-cta { display: flex; flex-direction: column; gap: .75rem; text-align: center; margin-top: .6rem; }
  .kromad-cta .jb-button { width: 100%; }
  p.jb-ghosttal { font-size: 6rem; }
  p.jb-ghosttal + h2 { margin-top: -2.4rem; }
  .jb-ghostbg { font-size: 9.5rem; right: -.75rem; }
  .s-dagensret-grid, .s-split, .jb-contact-grid, .jb-form-grid { grid-template-columns: 1fr; }
  .jb-steps { grid-template-columns: 1fr; }
  .figur img { height: clamp(240px, 60vw, 380px); }
  .figur .chip.tilt { left: 1rem; }
  .s-ctaband { flex-direction: column; align-items: flex-start; }
  .jb-footer-grid { display: flex; flex-direction: column; gap: 1.25rem; }
  .jb-footer-grid > div:first-child { display: contents; }
  .jb-footer-logo { order: 1; width: 240px; max-width: 78%; }
  .jb-footer .kol { order: 2; font-size: .8125rem; line-height: 2; }
  .jb-some { order: 3; margin-top: .3rem; }
  .jb-footer-bund { justify-content: flex-start; font-size: .6875rem; }
}

/* Vis/skjul-mønster: skjul kun — elementerne beholder deres egen display */
@media (min-width: 981px) { .only-mobile { display: none !important; } }

/* FAQ (takeaway-siden) */
.jb-faq details { border-bottom: 1px solid var(--line); }
.jb-faq summary { cursor: pointer; padding: 1rem 0; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.jb-faq summary::-webkit-details-marker { display: none; }
.jb-faq summary::after { content: "+"; font-family: var(--display); font-size: 1.4rem; color: var(--copper-deep); }
.jb-faq details[open] summary::after { content: "\2212"; }
.jb-faq details p { padding: 0 0 1.1rem; max-width: 60ch; }

/* ---------- Hero 2. pass (2026-08-26): polaroid-foto + tættere komposition + tynd knap-outline ---------- */
@media (min-width: 981px) {
  .s-hero-inner { padding-left: clamp(1.5rem, 7vw, 6.5rem); padding-right: clamp(1.5rem, 7vw, 6.5rem); }
  .s-hero h1 { font-size: clamp(3.2rem, min(14.5vw, 21.5vh), 16.5rem); }
  .s-hero-actions { max-width: 42vw; }
  .s-hero-media { width: clamp(350px, 34vw, 600px); right: clamp(1.5rem, 6vw, 5.5rem); top: clamp(4.5rem, 7vw, 6.5rem); bottom: auto; aspect-ratio: 540 / 575; background: var(--linen); padding: 12px 10px 72px 10px; border-radius: 4px 4px 8px 8px; box-shadow: 0 14px 32px rgba(0,0,0,.35), 0 2px 6px rgba(0,0,0,.25); }
}

@media (max-width: 980px) {
  .jb-button:not(.jb-button-outline).jb-ring-mobil { padding: .5rem .85rem; }
}

/* ---------- Scroll-progress: streg under navbaren ---------- */
.jb-progress {
  position: fixed;
  top: var(--header-height, 78px);
  left: 0;
  z-index: 41;
  width: 100%;
  height: 3px;
  pointer-events: none;
  background: color-mix(in srgb, var(--progress-color) 18%, transparent);
}
.jb-progress::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--progress, 0%);
  background: var(--progress-color);
  transform-origin: left center;
  transition: width .08s linear;
}
.jb-progress { --progress-color: var(--linen); }
.jb-progress.on-light { --progress-color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  .jb-progress::after { transition: none; }
}
