/* The booking funnel: /booking, /booket and /tilbud (19 October 2026). One stylesheet for the three pages, so they
   cannot drift apart. The layout and the look are those of the funnel pages the site structure came from (DESIGN.md):
   no menu, the wordmark on top, a centred hero, then sections, and a small footer with the legal links. Since 19
   October 2026 (Nikolaj's decision) these pages also take that look's shapes and effects: pills, rounded frames, green
   glows, the shine and the nudge. The rest of the site stays flat. The colours, the fonts and the wordmark are Narto's
   (site.css, loaded first): green fills always carry ink text, and green as text only stands on ink. */

.funnel {
  /* The green of the glows: --accent (#1fbf6a) as r, g, b, so the glows can take their own alpha. */
  --glow: 31, 191, 106;
  /* Visible spacing between the blocks of a funnel page. --gap: between sections and around the steps; --tgap:
     wordmark > pill > headline, the same above and below the pill. */
  --gap: 48px;
  --tgap: 20px;
  background: var(--white);
}
html:has(> body.funnel) { background: var(--white); }
@media (max-width: 640px) { .funnel { --gap: 34px; --tgap: 16px; } }

/* The glows are a window wide; this clips them without making a scroll container (the top bar stays sticky). */
.funnel .page { position: relative; overflow-x: clip; }
.funnel main {
  max-width: 1200px; margin: 0 auto; padding-bottom: 80px; /* 48px on phones: inside the dead-space limits of DESIGN.md */
  position: relative; z-index: 0; /* own stacking layer, so the glows sit above the white and behind the content */
}
.funnel main::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(min(456px, 38vw) 28% at calc(50% + min(456px, 38vw)) 44%, rgba(var(--glow), 0.11) 0%, rgba(var(--glow), 0) 70%); }

/* ---------- Hero ---------- */
.fhero { position: relative; max-width: 1120px; margin: 0 auto; padding: 28px 44px 0; text-align: center; }
.fhero::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(min(694px, 62vw) 50% at 50% 42%, rgba(var(--glow), 0.24) 0%, rgba(var(--glow), 0.09) 45%, rgba(var(--glow), 0) 100%); }
.fhero .logo { display: flex; justify-content: center; }
.fhero .wordmark { display: block; padding: 2px 4px; border-radius: 6px; transition: opacity .15s; }
.fhero .wordmark:hover { opacity: .72; }

/* The pill between the wordmark and the headline: ink fill, white capitals and, on /booket, five green stars. */
.trust {
  display: inline-flex; align-items: center; gap: 14px; margin-top: var(--tgap);
  padding: 12px 24px; border-radius: 999px; background: var(--ink); box-shadow: 0 6px 18px rgba(23, 24, 27, 0.15);
}
.trust-text { font-weight: 800; font-size: 15px; line-height: 1.2; letter-spacing: -0.01em; color: var(--white); text-transform: uppercase; white-space: nowrap; }
.trust-stars { font-weight: 800; font-size: 17px; line-height: 1; letter-spacing: 0.08em; color: var(--accent); white-space: nowrap; }

.funnel h1 {
  margin: var(--tgap) auto 0; max-width: 16em;
  font-family: var(--font-display); font-size: clamp(2.5rem, 1.25rem + 5vw, 5.25rem); font-weight: 800;
  line-height: .98; letter-spacing: -.003em;
}
.funnel h1 .row { display: block; text-wrap: balance; }
/* The green marker behind ink text (7.4:1), kept inside its own line so it never touches the row above or below: the
   stops are shares of the inline box (Big Shoulders 1.19em, Public Sans 1.18em) and leave the green a little above the
   caps and a little below the baseline. */
.mk {
  color: var(--ink);
  background: linear-gradient(transparent 14%, var(--accent) 14%, var(--accent) 90%, transparent 90%);
  padding: 0 .1em; margin: 0 -.04em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.sub .mk, .o-claim .mk { background: linear-gradient(transparent 8%, var(--accent) 8%, var(--accent) 96%, transparent 96%); }

.sub {
  margin: 20px auto 0; max-width: 32em;
  font-size: clamp(1.125rem, .95rem + .7vw, 1.5rem); font-weight: 700; line-height: 1.35; text-wrap: balance;
}

.divider { height: 1px; max-width: 900px; margin: var(--gap) auto 0;
  background: linear-gradient(90deg, rgba(var(--glow), 0) 0%, var(--accent) 25%, var(--accent) 75%, rgba(var(--glow), 0) 100%); }

/* Section headings, centred */
.funnel h2 {
  margin: var(--gap) auto 0; max-width: 18em; padding: 0 var(--gutter); text-align: center;
  font-family: var(--font-display); font-size: clamp(2.125rem, 1.4rem + 2.6vw, 3.5rem); font-weight: 800;
  line-height: .98; letter-spacing: -.003em; text-wrap: balance;
}

/* The one button of a step, and the button that shows the calendar: a green pill with a green glow. */
.funnel .fstep .btn--primary, .fcal .booking__gate .btn--primary {
  min-height: 0; padding: 16px 34px; border-radius: 999px; background: var(--accent); color: var(--ink);
  box-shadow: rgba(var(--glow), 0.40) 0 0 26px 0;
  font-size: 15px; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase;
}
.funnel .fstep .btn--primary:hover, .funnel .fstep .btn--primary:active,
.fcal .booking__gate .btn--primary:hover, .fcal .booking__gate .btn--primary:active { background: var(--accent); color: var(--ink); }
.fstep .btn--primary { display: flex; width: fit-content; min-width: 420px; margin: 24px auto 0; }
.fstep .frame + .btn--primary { margin-top: 24px; }
.fstep .lead + .btn--primary, .fstep .lead + [hidden] + .btn--primary { margin-top: 0; }

/* ---------- /booking: the calendar ---------- */
/* The field and the gate are site.css's (.booking__frame, .booking__gate, .booking__consent); here they sit in a light
   grey panel with large corners, 980px at most, with the notes under it. */
.fcal { max-width: calc(980px + 2 * var(--gutter)); margin: var(--gap) auto 0; padding: 0 var(--gutter); }
.fcal .booking__frame { padding: 24px; border-radius: 24px; background: rgba(23, 24, 27, 0.05); }
.fcal .booking__frame iframe { border-radius: 8px; }
.fcal .booking__gate { justify-items: center; padding: var(--space-xl) var(--space-l); border-radius: 8px; background: var(--white); text-align: center; }
.fcal .booking__consent { max-width: 36em; }
.booking-fallback { margin-top: 16px; text-align: center; color: var(--graphite); font-size: var(--small-size); font-weight: 500; }
.booking-fallback strong { color: var(--ink); }
.booking-fallback a { color: var(--ink); text-underline-offset: .3em; }
.fnotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-m) var(--space-l); margin-top: var(--space-l); }
@media (max-width: 640px) {
  .fnotes { grid-template-columns: minmax(0, 1fr); }
  .fcal .booking__frame { padding: 12px; }
  .fcal .booking__gate { justify-items: stretch; padding: var(--space-m); }
}
@media (max-width: 359px) { .fcal .booking__gate { padding-inline: var(--gutter); } }

/* ---------- /booket: the top bar ---------- */
/* Full width, edge to edge, stuck to the top while scrolling. Solid, so content never shows through. tools/funnel.py
   writes its text from site.config.json; the highlighted words are green on ink (7.4:1). */
.topbar {
  position: sticky; top: 0; z-index: 100; width: 100%; padding: 12px 16px; text-align: center;
  background: var(--ink); color: var(--white); border-bottom: 1px solid rgba(var(--glow), 0.55);
  font-size: 16px; font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; text-wrap: balance;
}
.topbar .hl { color: var(--accent); white-space: nowrap; }
/* The number is a tap-to-call link: green like the other highlights, a thin underline so it reads as tappable */
.topbar a.hl { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; text-decoration-color: rgba(var(--glow), 0.6); }
.topbar a.hl:hover { text-decoration-color: var(--accent); }
.topbar a.hl:focus-visible { outline-color: var(--accent); border-radius: 3px; }

/* ---------- /booket: the countdown ---------- */
/* Under the headline, only when the booked time is known (the script fills and shows it): one short line, then four
   ink blocks with a green glow (days, hours, minutes, seconds), two green digits each in tabular figures over a small
   label. One row at every width. While the meeting is on: the line alone, in a pale green pill. */
.p-booket .fhero h1 { margin-bottom: calc(var(--gap) - 12px); }
.p-booket .fhero h1:has(+ .countdown:not([hidden])) { margin-bottom: calc(var(--gap) / 2); }
.countdown { margin: 0 auto calc(var(--gap) - 12px); }
.cd-lead { font-size: 18px; font-weight: 800; line-height: 1.35; letter-spacing: -0.01em; text-wrap: balance; }
.cd-timer { display: flex; justify-content: center; gap: 12px; margin-top: 14px; }
.cd-unit {
  display: flex; flex-direction: column; align-items: center; gap: 6px; width: 96px; padding: 14px 6px 12px;
  border-radius: 16px; background: var(--ink);
  box-shadow: 0 0 0 1px rgba(var(--glow), 0.18) inset, rgba(var(--glow), 0.22) 0 0 26px 0, rgba(23, 24, 27, 0.14) 0 10px 24px;
}
.cd-num {
  font-family: var(--font-display); font-size: 3.25rem; font-weight: 800; line-height: .9;
  font-variant-numeric: tabular-nums; color: var(--accent);
}
.cd-lbl { font-size: 11px; font-weight: 700; line-height: 1; letter-spacing: 0.08em; text-transform: uppercase; color: var(--night-muted); }
.countdown.is-live .cd-lead { display: inline-block; padding: 12px 24px; border-radius: 999px; background: var(--accent-tint); border: 1px solid rgba(var(--glow), 0.45); }

/* ---------- /booket: the steps ---------- */
/* Each step is a <section class="fstep" data-step>; tools/funnel.py hides the steps whose videos are not set and
   numbers the pills of the rest ("Trin 1 af 3"). */
.step { display: flex; align-items: center; justify-content: center; max-width: 760px; margin: 0 auto; padding: 12px 0; }
.step .line { flex: 1; max-width: 283px; height: 1px; background: linear-gradient(90deg, rgba(var(--glow), 0) 0%, var(--accent) 100%); }
.step .line:last-child { background: linear-gradient(90deg, var(--accent) 0%, rgba(var(--glow), 0) 100%); }
.step-pill {
  margin: 0 26px; padding: 13px 26px 14px; border-radius: 999px; white-space: nowrap;
  background: var(--accent); color: var(--ink); box-shadow: rgba(var(--glow), 0.40) 0 0 26px 0;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; line-height: 1; letter-spacing: .01em;
}
.fstep + .fstep .step { margin-top: calc(var(--gap) - 12px); }
.fstep h2 { margin-top: calc(var(--gap) - 12px); margin-bottom: var(--gap); }
.fstep h2.has-lead { margin-bottom: 16px; }
.lead {
  max-width: 760px; margin: 0 auto var(--gap); padding: 0 var(--gutter); text-align: center;
  color: var(--graphite); font-weight: 500; line-height: 1.55; text-wrap: pretty;
}

/* Video frames: tools/funnel.py writes the Loom or YouTube player into the .video span. */
.frame { position: relative; max-width: 900px; margin: 0 auto; border-radius: 16px; overflow: hidden; background: var(--ink); color: var(--white);
  box-shadow: rgba(var(--glow), 0.45) 0 0 34px 0, rgba(23, 24, 27, 0.16) 0 22px 60px 0; }
.video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--ink); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* The name tag lets taps through to the player and goes once the player has been tapped. */
.nametag {
  position: absolute; left: 16px; bottom: 16px; padding: 8px 14px 9px; border-radius: 10px;
  background: rgba(23, 24, 27, 0.80); backdrop-filter: blur(6px); color: var(--white); text-align: left; pointer-events: none; transition: opacity .3s;
}
.nametag.gone { opacity: 0; }
.nametag b { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; line-height: 1.05; }
.nametag small { display: block; font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, 0.78); }

/* The invitation as it shows in Gmail (drawn, aria-hidden). Badge 1 = add the sender to the calendar, badge 2 = the
   pulsing Ja. The font is the system's, like Gmail's own. */
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(var(--glow), 0.65), 0 0 22px rgba(var(--glow), 0.55); } 70% { box-shadow: 0 0 0 14px rgba(var(--glow), 0), 0 0 22px rgba(var(--glow), 0.55); } 100% { box-shadow: 0 0 0 0 rgba(var(--glow), 0), 0 0 22px rgba(var(--glow), 0.55); } }
.mock { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; text-align: left; color: #1f1f1f; }
.win { position: relative; max-width: 900px; margin: 0 auto; border-radius: 16px; background: #fff;
  box-shadow: rgba(var(--glow), 0.40) 0 0 40px 0, rgba(23, 24, 27, 0.14) 0 16px 48px; border: 1px solid rgba(23, 24, 27, 0.08); }
.chrome { display: flex; gap: 8px; align-items: center; padding: 14px 18px; border-bottom: 1px solid #ececf0; border-radius: 16px 16px 0 0; background: #f6f6f8; }
.chrome i { width: 12px; height: 12px; border-radius: 50%; background: #d6d6dc; display: block; }
.chrome span { margin-left: 14px; font-size: 13px; font-weight: 600; color: #63636b; }
.mbody { padding: 26px 34px 30px; }
.subj { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.from { display: flex; gap: 12px; align-items: center; margin-top: 16px; line-height: 1.3; }
.av { width: 40px; height: 40px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; color: var(--ink); font-weight: 700; font-size: 17px; background: var(--accent); text-transform: uppercase; }
.from b { font-size: 15px; } .from .addr { font-size: 13px; color: #6b6b73; } .from small { display: block; font-size: 13px; color: #6b6b73; margin-top: 1px; }
.warnbox { margin-top: 22px; padding: 18px 20px; border-radius: 12px; background: #f1f1f3; color: #1d1d1f; }
.warnbox b { display: block; font-size: 16px; font-weight: 700; line-height: 1.3; }
.warnbox p { font-size: 14px; line-height: 1.5; color: #555; margin-top: 5px; }
.wbtns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.kbtn { display: inline-block; padding: 9px 18px; border-radius: 8px; background: #fff; color: #1d1d1f; border: 1px solid #c9c9cf; font-size: 14px; font-weight: 600; line-height: 1.2; }
.kbtn2 { display: inline-block; padding: 9px 18px; border-radius: 8px; background: #fff; color: #1d1d1f; border: 1px solid #5f5f66; font-size: 14px; font-weight: 600; line-height: 1.2; box-shadow: 0 0 0 4px var(--accent), 0 0 22px rgba(var(--glow), 0.55); }
.invbox { position: relative; margin-top: 18px; padding: 20px; border-radius: 12px; border: 1px solid #e2e2e8; }
.invbox .inv-title { font-size: 18px; font-weight: 700; line-height: 1.3; text-wrap: balance; }
.invbox .meta { display: grid; grid-template-columns: 90px 1fr; gap: 6px 10px; margin-top: 12px; font-size: 14px; line-height: 1.4; }
.invbox .meta span:nth-child(odd) { color: #6b6b73; }
.rs { display: flex; gap: 10px; align-items: center; margin-top: 16px; padding-top: 16px; border-top: 1px solid #ececf0; font-size: 14px; font-weight: 600; line-height: 1.2; }
.rs .o { padding: 8px 20px; border-radius: 999px; border: 1px solid #c9c9cf; color: #3c3c43; }
.rs .yes { padding: 8px 24px; border-radius: 999px; color: var(--ink); background: var(--accent); animation: pulse 1.8s infinite; }
.tg { position: relative; }
.bdg { position: absolute; left: -84px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-text); font-weight: 800; font-size: 18px; color: var(--ink); background: var(--accent); box-shadow: 0 0 20px rgba(var(--glow), 0.55); }
.bdg::after { content: ""; position: absolute; left: 44px; top: 50%; width: 30px; height: 2px; background: var(--accent); }
.invbox .tg .bdg { left: -105px; top: calc(50% + 8px); }  /* same x as badge 1, centred on the Ja button */
.bdg.bdg-card { display: none; }  /* the step 2 badge on the invite card corner, used below 1100px */

/* Add to calendar: shown only when the booked time is known (the script below the page unhides it). Ink buttons with
   a green outline and glow, "+ Tilføj i X ->"; a light sweep passes over them one after another, the arrow nudges. */
.calrow-lbl { margin-top: 30px; padding: 0 var(--gutter); text-align: center; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; text-wrap: balance; }
.calrow { display: grid; grid-template-columns: repeat(4, auto); gap: 12px; justify-content: center; max-width: 1100px; margin: 14px auto 0; padding: 0 16px; }
@media (max-width: 1000px) { .calrow { grid-template-columns: repeat(2, minmax(0, 260px)); } }
@keyframes shine { 0% { background-position: 160% 0; } 55%, 100% { background-position: -60% 0; } }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
.calrow a { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 22px; border-radius: 999px; text-decoration: none; color: var(--white); font-size: 16px; font-weight: 800; line-height: 1.2; white-space: nowrap;
  border: 2px solid transparent; background: linear-gradient(var(--ink), var(--ink)) padding-box, linear-gradient(var(--accent), var(--accent)) border-box;
  box-shadow: 0 0 26px rgba(var(--glow), 0.35); transition: transform .15s; }
.calrow a:hover { transform: translateY(-2px); }
.calrow a::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.22) 50%, transparent 65%); background-size: 250% 100%; animation: shine 3.4s ease-in-out infinite; }
.calrow a:nth-child(2)::after { animation-delay: .25s; } .calrow a:nth-child(3)::after { animation-delay: .5s; } .calrow a:nth-child(4)::after { animation-delay: .75s; }
.calrow a .ico { width: 20px; height: 20px; flex: none; color: var(--accent); }
.calrow a .ar { display: inline-block; color: var(--accent); animation: nudge 1.4s ease-in-out infinite; }
/* below 1100px there is no room for the badges outside the window: pin them to the corner instead */
@media (max-width: 1099px) {
  .win { margin-left: 24px; margin-right: 24px; }
  .bdg, .invbox .tg .bdg { left: -14px; top: -14px; transform: none; width: 32px; height: 32px; font-size: 15px; z-index: 2; }
  .bdg::after { display: none; }
  .invbox .tg .bdg { display: none; }
  .bdg.bdg-card { display: flex; left: -15px; top: -15px; }
}

/* Question videos */
.qgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 1000px; margin: 0 auto; }
.q { padding: 14px; border-radius: 22px; background: rgba(var(--glow), 0.14); border: 1px solid rgba(14, 122, 67, 0.20); text-align: left; }
.q h3 {
  display: flex; align-items: center; justify-content: center; min-height: 2.6em; margin: 4px 4px 12px; text-align: center;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; line-height: 1.05; text-wrap: balance;
}
.thumb { position: relative; border-radius: 14px; overflow: hidden; background: var(--ink); }

/* The example step sits on a dark band (ink, a window wide, like the glows) so the screenshots stand out. When it is
   the last step, main loses its bottom padding and the band runs down to the footer. */
.fstep--night { position: relative; z-index: 0; padding: 12px 0 var(--gap); }
.fstep--night::before { content: ""; position: absolute; z-index: -1; inset: 0 auto 0 50%; width: 100vw; transform: translateX(-50%); background: var(--ink); }
.funnel main:has(> .fstep--night:last-child) { padding-bottom: 0; }
.fstep + .fstep--night { margin-top: var(--gap); }
.fstep + .fstep--night .step { margin-top: 0; }
.fstep--night h2 { color: var(--night-text); }
.fstep--night .lead { color: var(--night-muted); }

/* The example websites as a wall of screenshots. Wide screens: two rows of three, one column per site, its computer
   and phone tiles at their natural heights, the middle column of each row hung a little lower. Up to 860px: one row
   that is swiped through (scroll-snap), one site at a time with the edge of the next showing; no autoplay. 641-860px:
   the two tiles side by side at the same height (3.46 : 1 is where a 16:10 computer shot and a 390x844 phone shot come
   out equally tall). Phones: the computer tile across the slide, the phone tile under it with the caption beside it.
   Each tile has a 4px band across the top in the site's own colour (from its own CSS). Every tile opens the site in a
   new tab. */
.wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 24px; align-items: start; max-width: 1100px; margin: 0 auto; padding: 0 16px; text-align: left; }
.site { display: grid; gap: 16px; }
.wall .site:nth-child(3n+2) { margin-top: 56px; }
.site--kragh-tagdaekning { --site: #ff5a1f; }  /* Kragh Tagdækning's --hot */
.site--kobberly-vvs { --site: #0d3b4c; }       /* Kobberly VVS's --deep */
.site--bregne-og-muld { --site: #b85c37; }     /* Bregne & Muld's --terra */
.site--lunvig-varme-koel { --site: #8ed3c3; }  /* Lunvig Varme & Køl's --cool */
.site--gridline-el { --site: #0047ff; }        /* Gridline El's --blue */
.site--spaerhoej-tag { --site: #eba53a; }      /* Spærhøj Tag's --sun */
.tile { position: relative; display: block; overflow: hidden; border-radius: 14px; border: 1px solid var(--night-rule);
  background: var(--white); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28); transition: transform .15s, box-shadow .15s; }
/* the site's colour as a 4px band across the top, inside the tile, so it follows the rounded corners */
.tile::before { content: ""; position: absolute; z-index: 1; inset: 0 0 auto; height: 4px; background: var(--site); pointer-events: none; }
.tile:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(var(--glow), 0.5); }
.tile:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.tile img { display: block; width: 100%; height: auto; }
.site .cap { padding: 2px 4px 0; color: var(--night-muted); font-size: 13px; font-weight: 600; line-height: 1.4; }
.site .cap b { display: block; margin-bottom: 2px; color: var(--night-text); font-family: var(--font-display); font-size: 1.375rem; font-weight: 800; line-height: 1.05; }
@media (max-width: 860px) {
  .wall { display: flex; gap: 16px; max-width: none; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: 16px; padding: 4px 16px 8px; scrollbar-width: none; }
  .wall::-webkit-scrollbar { display: none; }
  .wall .site:nth-child(3n+2) { margin-top: 0; }
  .site { flex: 0 0 min(78%, 560px); scroll-snap-align: start; grid-template-columns: minmax(0, 3.46fr) minmax(0, 1fr); align-content: start; }
  .site .cap { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .funnel main { padding-bottom: 48px; }
  .fhero { padding: 24px 16px 0; }
  .fcal { padding: 0 16px; }
  .divider { margin-left: 16px; margin-right: 16px; }
  .trust { gap: 8px; padding: 9px 14px; }
  .trust-text { font-size: 11px; }
  .trust-stars { font-size: 12.5px; }
  .topbar { font-size: 13px; }
  .cd-lead { font-size: 16px; }
  .cd-timer { gap: 8px; margin-top: 12px; }
  .cd-unit { flex: 1 1 0; width: auto; max-width: 84px; padding: 12px 4px 10px; border-radius: 14px; }
  .cd-num { font-size: 2.5rem; }
  .cd-lbl { font-size: 10px; letter-spacing: 0.04em; }
  .countdown.is-live .cd-lead { padding: 10px 16px; border-radius: 18px; }
  .step-pill { margin: 0 14px; padding: 12px 22px 13px; font-size: 1.3125rem; }
  .lead { font-size: 15px; }
  .frame, .qgrid { margin-left: 16px; margin-right: 16px; }
  .win { margin-left: 16px; margin-right: 16px; }
  .mbody { padding: 20px 24px 22px; }
  .subj { font-size: 17px; }
  .from .addr { display: block; } /* the address on its own line, whole */
  .from small { word-break: break-all; }
  .warnbox { padding: 18px 16px 16px 20px; } .warnbox p { font-size: 13px; }
  .invbox { padding: 18px 16px 16px 20px; } .invbox .meta { grid-template-columns: 76px 1fr; font-size: 13px; word-break: break-word; }
  .rs { gap: 6px; } .rs .o { padding: 7px 12px; } .rs .yes { padding: 7px 16px; }
  .calrow { grid-template-columns: 1fr; gap: 10px; max-width: 360px; } .calrow a { padding: 13px 16px; font-size: 15px; }
  .fstep .btn--primary { width: calc(100% - 32px); min-width: 0; padding: 15px 18px; font-size: 13px; white-space: normal; text-align: center; }
  .qgrid { grid-template-columns: 1fr; gap: 18px; }
  .site { flex-basis: calc(100% - 40px); grid-template-columns: 150px minmax(0, 1fr); gap: 12px; }
  .site .tile--desk { grid-column: 1 / -1; }
  .site .cap { grid-column: 2; align-self: end; padding: 0 0 4px; }
  .nametag b { font-size: 1.25rem; }
}

/* ---------- /tilbud: the offer ---------- */
.p-tilbud h1 { font-size: clamp(3rem, 1.5rem + 6vw, 6.5rem); }
.offer { max-width: calc(860px + 2 * 44px); margin: 0 auto; padding: 0 44px; text-align: left; }
.o-intro { margin-top: var(--gap); padding-left: 22px; border-left: 4px solid var(--accent); }
.o-claim { font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem); font-weight: 800; line-height: 1.3; letter-spacing: -0.01em; text-wrap: balance; }
.o-text { margin-top: 14px; color: var(--graphite); font-weight: 500; line-height: 1.6; text-wrap: pretty; }
.o-text b { color: var(--ink); font-weight: 700; }
.o-sec { margin-top: var(--gap); }
.o-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.offer .o-head h2 { margin: 0; padding: 0; max-width: none; text-align: left; font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); }
.o-tag { color: var(--accent-text); font-size: var(--small-size); font-weight: 700; line-height: 1.4; }
.o-sec > .o-text { margin-top: 12px; }
/* The five parts: a green dot with an ink tick in front of each */
.o-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; margin: 22px 0 0; padding: 0; list-style: none; }
.o-list li { position: relative; padding-left: 32px; color: var(--graphite); }
.o-list li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); }
.o-list li::after { content: ""; position: absolute; left: 7px; top: 5px; width: 5px; height: 9px; border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.o-list li > b { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.625rem; font-weight: 800; line-height: 1.05; }
.o-where { display: block; margin-top: 4px; color: var(--accent-text); font-size: var(--small-size); font-weight: 700; }
.o-list p { margin-top: 4px; font-size: var(--small-size); font-weight: 500; line-height: 1.55; }
/* The three solutions in one paragraph each, as on /priser */
.o-plans { display: grid; gap: var(--space-s); margin: 18px 0 0; padding: 0; list-style: none; }
.o-plans li { padding-top: var(--space-s); border-top: 1px solid var(--rule); color: var(--graphite); }
.o-plans b:first-child { color: var(--ink); }

/* Mester, the only package card on the page: a green card with ink text (7.4:1), a green glow and a soft shadow,
   bigger than the cards on /priser. After the h1 the price is the largest type here. No button: whoever reads /tilbud
   has booked already. The price is written here as /priser writes it. */
.o-plan { position: relative; isolation: isolate; overflow: hidden; margin-top: var(--gap); padding: 48px; border-radius: 24px; background: var(--accent); color: var(--ink);
  box-shadow: rgba(var(--glow), 0.45) 0 0 34px 0, rgba(23, 24, 27, 0.16) 0 22px 60px 0; }
/* A soft light band sweeps across the card, then rests (about 2.5s across, 2.1s still): the shine of the calendar
   buttons on /booket, wider and slower. It sits behind the content (z-index -1 inside the isolated card), so the text
   is never washed over. */
.o-plan::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, .45) 50%, transparent 62%) no-repeat; background-size: 250% 100%;
  animation: shine 4.6s ease-in-out infinite;
}
.o-plan :focus-visible { outline-color: var(--ink); }
.o-plan-head { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; }
/* the name in an ink pill with green text (7.4:1), next to the "Det hele" pill */
.offer .o-plan-name { margin: 0; padding: 0; max-width: none; text-align: left; font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); line-height: 1; }
.o-plan .o-plan-name .pkg { display: inline-block; padding: 9px 18px 10px; border-radius: 999px; background: var(--ink); color: var(--accent); line-height: 1; }
.o-plan .pkg { background: var(--ink); color: var(--accent); }
.o-plan-tag { padding: 7px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--ink); font-size: var(--small-size); font-weight: 800; line-height: 1.2; }
.o-price {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .2em; margin-top: 20px;
  font-family: var(--font-display); font-size: clamp(3.5rem, 2rem + 5vw, 6.5rem); font-weight: 800; line-height: .9;
}
.o-per { font-family: var(--font-text); font-size: max(1rem, .22em); font-weight: 700; }
.o-plan-line { margin-top: 18px; max-width: 30em; font-size: clamp(1.0625rem, .95rem + .5vw, 1.25rem); font-weight: 700; line-height: 1.35; text-wrap: balance; }
/* Two columns of six, read top to bottom: the website half on the left, the rest of Mester on the right. Ink check
   boxes with green ticks. */
.o-checks {
  display: grid; grid-template-rows: repeat(6, auto); grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 14px 40px;
  margin: 28px 0 0; padding: 28px 0 0; border-top: 1px solid rgba(23, 24, 27, 0.22); list-style: none;
}
.o-checks li { position: relative; padding-left: 34px; font-weight: 700; line-height: 1.4; }
.o-checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 6px; background: var(--ink); }
.o-checks li::after { content: ""; position: absolute; left: 8px; top: 5px; width: 5px; height: 10px; border: solid var(--accent); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.o-terms { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(23, 24, 27, 0.22); font-size: var(--small-size); font-weight: 600; line-height: 1.5; }
.o-terms a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: .3em; }
.o-terms a:hover { text-decoration-thickness: 2px; }
@media (max-width: 640px) {
  .offer { padding: 0 16px; }
  .o-intro { padding-left: 16px; }
  .o-text { font-size: 15px; }
  .o-list { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .o-plan { padding: 28px 22px; border-radius: 20px; }
  .o-checks { grid-template-rows: none; grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 22px; padding-top: 22px; }
  .o-terms { margin-top: 22px; }
}

/* ---------- Footer: the company line and the legal links ---------- */
.foot { border-top: 1px solid rgba(23, 24, 27, 0.12); }
.foot-in {
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center;
  max-width: 1100px; margin: 0 auto; padding: 18px var(--gutter) 24px; color: var(--graphite); font-size: 12px; font-weight: 500; line-height: 1.5;
}
.foot-in nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot-in a { display: inline-block; padding-block: .5rem; color: var(--ink); font-size: 13px; text-decoration: none; }
.foot-in a:hover { text-decoration: underline; text-underline-offset: .3em; }

/* Reduced motion: every animation and transition on these pages stops; the glows stay, they do not move. */
@media (prefers-reduced-motion: reduce) {
  .rs .yes, .calrow a::after, .calrow a .ar { animation: none; }
  .o-plan::before { display: none; }
  .calrow a, .nametag, .tile, .fhero .wordmark { transition: none; }
  .tile:hover, .calrow a:hover { transform: none; }
}
