/* Block bedri/contact: .kontakt*, .kt-* (the audience cards and the step form), and its two Contact Form 7 forms.
   Carved from design/style.css (concept approved 23 Oct 2026) in source order; see build/carve/LEDGER.md. The rules
   for Contact Form 7 are at the end; the forms print the concept's markup (bedri-core's form-tags), so the concept's
   rules apply to them unchanged. */

/* =====================================================
   Kontakt, the last section. 21 Oct: the form, "Trin for trin" (chosen out of three variants).
   23 Oct: it opens with the client's two audience cards, and their CTAs choose the path (they replace "Hvem er du?").
   Companies get one step, sellers the client's two. The base below is the no-JS page: the cards with links, then
   the company form beside Yousef. view.js adds .is-live (the cards alone) and .is-form (the form in their place).
   ===================================================== */
.kontakt { padding: clamp(5rem, 10vw, 8rem) 0; background: var(--bg-2); }
.kontakt [hidden] { display: none !important; }
.kt-wrap {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: clamp(2.5rem, 6vw, 6rem); align-items: start;
  grid-template-areas: "intro intro" "doors doors" "person form";
}
.kt-intro { grid-area: intro; margin-bottom: clamp(2rem, 4vw, 3rem); }
.kt-doors { grid-area: doors; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.kt-person { grid-area: person; }
.kt-form, .kt-done { grid-area: form; }
.kt-intro .h-lg { margin-bottom: 1.1rem; max-width: 13ch; }
.kt-lede { max-width: 40ch; margin: 0; color: var(--muted); }

/* the two audience cards (the client's, from their other version): navy for companies, the form's paper for sellers */
.kt-doors { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(.75rem, 1.5vw, 1.25rem); }
.kt-door { display: flex; flex-direction: column; padding: clamp(1.5rem, 3.4vw, 3rem); border-radius: 18px; }
.kt-door-company { background: var(--bg); border: 1px solid var(--line); }
.kt-door-seller { background: #EEF2F8; } /* .surface-light gives it the light tokens */
.kt-door-kicker { margin: 0 0 1rem; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-lit); }
.kt-door-title {
  max-width: 22ch; margin: 0 0 clamp(1.5rem, 3vw, 2.5rem); color: var(--ink); text-wrap: balance;
  font-family: var(--font-display); font-weight: var(--display-wght); letter-spacing: var(--display-track); font-size: clamp(1.55rem, 1.1rem + 1.2vw, 2.3rem); line-height: 1.08;
}
.kt-door-list { list-style: none; margin: 0 0 clamp(1.75rem, 3vw, 2.5rem); padding: 0; }
.kt-door-list li { position: relative; padding: .95rem 0 .95rem 2.6rem; border-bottom: 1px solid var(--line); font-size: 1.02rem; line-height: 1.4; color: var(--ink); }
/* the check: a tinted dot with a tick */
.kt-door-list li::before { content: ""; position: absolute; left: 0; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 22%, transparent); }
.kt-door-list li::after { content: ""; position: absolute; left: 10.5px; top: 50%; width: 5px; height: 9.5px; margin-top: -6.5px; border-right: 1.75px solid var(--accent-lit); border-bottom: 1.75px solid var(--accent-lit); transform: rotate(45deg); }
.kt-door-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: auto; }

/* a person to write to */
.kt-person { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; column-gap: 1rem; max-width: 30rem; }
.kt-person img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.kt-person p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.4; }
.kt-person strong { display: block; color: var(--ink); font-size: 1rem; }
.kt-person .kt-direct { grid-column: 1 / -1; margin-top: 1.1rem; font-size: .95rem; }
.kt-direct a { color: var(--ink); text-underline-offset: .2em; }

@media (max-width: 900px) {
  .kt-wrap { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "doors" "form" "person"; }
  .kt-doors { grid-template-columns: minmax(0, 1fr); }
  .kt-person { margin-top: 2.5rem; }
}

/* the form card: the hero's paper colour, navy ink */
.kt-form {
  --f-bg: #EEF2F8; --f-ink: #0A1020; --f-muted: #4A5368; --f-field: #E1E7F1; --f-line: #C9D2E0; --f-accent: #3D6BFF; --f-thumb: #FFFFFF;
  padding: clamp(1.25rem, 3vw, 2.25rem); border-radius: 18px; background: var(--f-bg); color: var(--f-ink);
}
.kt-step, .kt-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.kt-legend { display: block; width: 100%; margin-bottom: 1rem; padding: 0; font-family: var(--font-display); font-weight: var(--display-wght); letter-spacing: var(--display-track); font-size: clamp(1.55rem, 1.1rem + 1.1vw, 2.1rem); line-height: 1.1; outline: none; }
.kt-legend-details { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.kt-glabel { display: block; margin: 0 0 .5rem; padding: 0; font-size: .9rem; font-weight: 600; }
.kt-opt { margin-left: .35rem; font-weight: 400; color: var(--f-muted); }
/* the optional marker in parentheses, "(valgfrit)": added here so the translated text stays the bare word (Jannik, 23 Nov) */
.kt-opt::before { content: "("; }
.kt-opt::after { content: ")"; }
.kt-hint { margin: -.4rem 0 1.25rem; font-size: .92rem; line-height: 1.45; color: var(--f-muted); }
.kt-company .kt-group { margin-bottom: .75rem; }

/* segmented choice: radios under the labels, a thumb that slides to the checked one (none until one is chosen) */
.kt-seg { position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 12px; background: var(--f-field); }
.kt-seg label { position: relative; z-index: 1; display: block; cursor: pointer; }
.kt-seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.kt-seg label > span { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 46px; padding: .5rem .75rem; border-radius: 9px; text-align: center; color: var(--f-muted); font-weight: 600; font-size: .95rem; line-height: 1.2; transition: color .3s; }
.kt-seg input:checked + span { color: var(--f-ink); }
.kt-seg label:has(input:focus-visible) > span { outline: 2px solid var(--f-accent); outline-offset: -2px; }
.kt-thumb { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 9px; background: var(--f-thumb); box-shadow: 0 6px 16px -8px rgba(10, 16, 32, .35); transition: transform .5s cubic-bezier(.22, .8, .2, 1), opacity .25s; }
.kt-seg:not(:has(input:checked)) .kt-thumb { opacity: 0; }
.kt-seg:has(label:nth-of-type(2) input:checked) .kt-thumb { transform: translateX(100%); }
/* "Søger du aktivt job?": the client's long answers wrap inside their segment, centred; the grid row makes both
   segments as tall as the taller one and the thumb (top and bottom 4px) covers it. "Ja, jeg søger aktivt" is chosen from
   the start (default:1, Jannik 23 Nov), as "Fuldtid" is. */
.kt-seg-long label > span { padding: .55rem .7rem; line-height: 1.25; text-wrap: balance; }
/* on a phone a little smaller, so "Nej, men jeg er åben for det rette job" keeps to two lines (three at .95rem) */
@media (max-width: 560px) { .kt-seg-long label > span { padding-inline: .5rem; font-size: .9rem; } }
@media (max-width: 380px) { .kt-seg-long label > span { padding-inline: .4rem; font-size: .85rem; } }
.kt-group.is-bad .kt-seg, .kt-group.is-bad .kt-chips { border-radius: 12px; box-shadow: 0 0 0 1px #D23B3B; }
.kt-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .75rem; margin-top: 1.1rem; }

/* chips (the seller's industries) */
.kt-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.kt-chip { position: relative; cursor: pointer; }
.kt-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.kt-chip span { display: inline-flex; align-items: center; gap: .4rem; min-height: 38px; padding: .4rem .85rem; border: 1px solid var(--f-line); border-radius: 999px; font-size: .9rem; font-weight: 500; transition: background-color .2s, border-color .2s, color .2s; }
.kt-chip span::before { content: ""; width: 6px; height: 11px; margin: -3px .1rem 0 -.1rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); display: none; }
.kt-chip:hover span { border-color: var(--f-accent); }
.kt-chip input:checked + span { border-color: var(--f-accent); background: var(--f-accent); color: #FFFFFF; }
.kt-chip input:checked + span::before { display: block; }
.kt-chip input:focus-visible + span { outline: 2px solid var(--f-accent); outline-offset: 2px; }
.kt-seller-2 > .kt-fields, .kt-seller-2 > .kt-group, .kt-seller-2 > .kt-field { margin-top: 1.1rem; }

/* The candidate form after the client's spec (23 Nov). */
/* step 1's two questions ("Søger du aktivt job?", "Fuldtid eller deltid?"): their labels a step further from the field
   above (2rem; 1.5rem looked too tight, Jannik, 23 Nov), inline and in the drawer alike */
.kt-gap { margin-top: 2rem; }
/* stacked options ("Hvem har du solgt til?", two by two where there is room): the segmented control's field colour, a radio dot, the chosen one on the thumb's colour */
.kt-radios { display: grid; gap: .45rem; }
.kt-radios-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 11.5rem), 1fr)); }
.kt-radios label { position: relative; display: block; cursor: pointer; }
.kt-radios input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.kt-radios label > span { display: flex; align-items: center; gap: .7rem; height: 100%; min-height: 48px; padding: .6rem .9rem; border: 1px solid transparent; border-radius: 10px; background: var(--f-field); font-weight: 500; font-size: .95rem; line-height: 1.3; transition: border-color .2s, background-color .2s; }
.kt-radios label > span::before { content: ""; flex: none; width: 18px; height: 18px; border: 1.5px solid var(--f-line); border-radius: 50%; background: var(--f-thumb); box-shadow: inset 0 0 0 3.5px var(--f-thumb); transition: background-color .2s, border-color .2s; }
.kt-radios label:hover > span { border-color: var(--f-line); }
.kt-radios input:checked + span { border-color: var(--f-accent); background: var(--f-thumb); }
.kt-radios input:checked + span::before { border-color: var(--f-accent); background: var(--f-accent); }
.kt-radios label:has(input:focus-visible) > span { outline: 2px solid var(--f-accent); outline-offset: 2px; }
.kt-group.is-bad .kt-radios label > span { border-color: #D23B3B; }
/* the sales jobs: cards with the role and its short explanation, a tick box on the left; two columns where there is
   room. With two chosen the others are off (view.js, "vælg 1 eller 2"). */
.kt-chips.kt-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 11.5rem), 1fr)); }
.kt-chip.kt-card { display: block; }
.kt-chip.kt-card > span { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; height: 100%; min-height: 0; padding: .6rem .85rem .65rem 2.35rem; border-radius: 10px; }
.kt-chip.kt-card > span::before { display: block; position: absolute; left: .85rem; top: .72rem; width: 16px; height: 16px; margin: 0; border: 1.5px solid var(--f-line); border-radius: 4px; transform: none; }
.kt-card-title { font-weight: 600; font-size: .92rem; line-height: 1.25; }
.kt-card-text { color: var(--f-muted); font-size: .8rem; line-height: 1.35; }
.kt-chip.kt-card input:checked + span { border-color: var(--f-accent); background: color-mix(in srgb, var(--f-accent) 10%, var(--f-thumb)); color: var(--f-ink); }
.kt-chip.kt-card input:checked + span::before {
  border-color: var(--f-accent);
  background: var(--f-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1.5 5.2l3 3 6-6.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.kt-chip input[aria-disabled="true"], .kt-chip input[aria-disabled="true"] + span { cursor: not-allowed; }
.kt-chip input[aria-disabled="true"] + span { opacity: .45; }
.kt-chip:has(input[aria-disabled="true"]):hover span { border-color: var(--f-line); }
/* "Du har valgt 2 …", under the cards while two are chosen */
.kt-cap-hint { margin: .4rem 0 0 .2rem; font-size: .85rem; line-height: 1.35; color: var(--f-muted); }
/* "Fortæl kort om dine jobønsker": the characters used of 1.000 */
.kt-count { margin: .3rem .2rem 0 0; text-align: right; font-size: .78rem; color: var(--f-muted); }
.kt-count + .kt-err { margin-top: 0; }
/* "Andre filer": the files chosen, each with "Fjern" */
.kt-file-list { display: grid; gap: .35rem; margin: .5rem 0 0; padding: 0; list-style: none; }
.kt-file-list li { display: flex; align-items: center; gap: .75rem; padding: .4rem .45rem .4rem .85rem; border-radius: 10px; background: var(--f-field); font-size: .88rem; line-height: 1.35; }
.kt-file-item { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.kt-file-del { flex: none; min-height: 32px; padding: 0 .85rem; border: 1px solid var(--f-line); border-radius: 999px; background: none; color: var(--f-ink); font: 600 .8rem/1 var(--font-text); cursor: pointer; }
.kt-file-del:hover { border-color: var(--f-ink); }
.kt-file-del:focus-visible { outline: 2px solid var(--f-accent); outline-offset: 2px; }
.kt-where .kt-chips { margin-top: .6rem; }
/* "Sådan finder du dit LinkedIn-link" */
.kt-help { margin: .45rem 0 0 .2rem; font-size: .84rem; line-height: 1.45; }
.kt-help summary { display: inline-flex; align-items: center; gap: .4rem; color: #2449D8; font-weight: 600; cursor: pointer; list-style: none; }
.kt-help summary::-webkit-details-marker { display: none; }
.kt-help summary::before { content: "i"; display: grid; place-items: center; width: 15px; height: 15px; border: 1.5px solid currentColor; border-radius: 50%; font: 700 .62rem/1 var(--font-text); }
.kt-help summary:focus-visible { outline: 2px solid var(--f-accent); outline-offset: 2px; border-radius: 4px; }
.kt-help p { margin: .45rem 0 0; color: var(--f-muted); }

/* fields: the label sits in the field and moves up when it is filled or focused */
.kt-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .75rem; }
.kt-field-wide { grid-column: 1 / -1; }
.kt-field { position: relative; }
.kt-field input, .kt-field textarea, .kt-field select, .kt-phone select {
  display: block; width: 100%; padding: 1.5rem .95rem .55rem; border: 1px solid transparent; border-radius: 10px; background: var(--f-field); color: var(--f-ink);
  font: 400 1rem/1.35 var(--font-text); transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.kt-field textarea { min-height: 7.5rem; resize: vertical; }
/* an example in the field (the client's "Fx Telenor"…) shows once the label has moved up */
.kt-field input::placeholder, .kt-field textarea::placeholder { color: transparent; transition: color .2s; }
.kt-field input:focus::placeholder, .kt-field textarea:focus::placeholder { color: color-mix(in srgb, var(--f-muted) 75%, transparent); }
.kt-field label { position: absolute; left: .95rem; top: 1.05rem; color: var(--f-muted); font-size: 1rem; line-height: 1.2; pointer-events: none; transform-origin: 0 0; transition: transform .2s, color .2s; }
.kt-field input:focus + label, .kt-field input:not(:placeholder-shown) + label,
.kt-field textarea:focus + label, .kt-field textarea:not(:placeholder-shown) + label, .kt-field select + label { transform: translateY(-.62rem) scale(.78); }
.kt-field input:focus, .kt-field textarea:focus, .kt-field select:focus, .kt-phone select:focus { outline: none; border-color: var(--f-accent); background-color: var(--f-thumb); box-shadow: 0 0 0 3px color-mix(in srgb, var(--f-accent) 22%, transparent); }
.kt-field input:focus + label, .kt-field textarea:focus + label, .kt-field select:focus + label { color: var(--f-accent); }
.kt-field [aria-invalid="true"] { border-color: #D23B3B; }
/* selects: a drawn chevron */
.kt-field select, .kt-phone select {
  appearance: none; padding-right: 2.4rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%234A5368' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .95rem center; background-size: 11px 8px;
}
/* the mobile number: country code, then the number */
.kt-phone { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .5rem; }
.kt-phone select { height: 100%; padding: 0 2.2rem 0 .85rem; font-weight: 500; font-size: .95rem; }
.kt-phone .kt-err { grid-column: 1 / -1; margin-top: 0; }
/* the CV: a button and the file name */
.kt-field.kt-file input { position: absolute; width: 1px; height: 1px; padding: 0; opacity: 0; }
.kt-field.kt-file label, .kt-field.kt-file input:focus + label, .kt-field.kt-file input:not(:placeholder-shown) + label {
  position: static; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .85rem; padding: .7rem .8rem; border: 1px dashed var(--f-line); border-radius: 10px;
  font-size: .9rem; color: var(--f-muted); pointer-events: auto; cursor: pointer; transform: none; transition: border-color .2s;
}
.kt-field.kt-file label:hover { border-color: var(--f-accent); }
.kt-field.kt-file input:focus-visible + label { outline: 2px solid var(--f-accent); outline-offset: 2px; }
.kt-file-btn { display: inline-flex; align-items: center; min-height: 36px; padding: 0 1rem; border-radius: 999px; background: var(--f-ink); color: var(--f-bg); font-weight: 600; font-size: .88rem; }
.kt-file-name { min-width: 0; overflow-wrap: anywhere; }
/* consent */
.kt-consent { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .7rem; margin-top: 1.1rem; }
/* two consents since 23 Nov (contact, match-making): stacked, closer to each other than to the fields above */
.kt-consent + .kt-consent { margin-top: .7rem; }
.kt-consent input { width: 20px; height: 20px; margin: .05rem 0 0; accent-color: var(--f-accent); cursor: pointer; }
.kt-consent input[aria-invalid="true"] { outline: 2px solid #D23B3B; outline-offset: 1px; }
.kt-consent label { font-size: .8rem; line-height: 1.5; color: var(--f-muted); cursor: pointer; }
.kt-consent a { color: inherit; }
.kt-consent .kt-err { grid-column: 1 / -1; }
.kt-err { margin: .4rem 0 0 .2rem; font-size: .85rem; line-height: 1.35; color: #C42E2E; }
@media (max-width: 560px) { .kt-fields, .kt-pair { grid-template-columns: minmax(0, 1fr); } }

.kt-form .wpcf7-turnstile.is-shown { margin-top: 1rem; } /* Turnstile, only while it asks for a click */
.kt-ts-wait { margin: 1rem 0 0 .2rem; font-size: .85rem; line-height: 1.35; color: var(--f-muted); } /* sent before its token: waiting for it */
.kt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.5rem; }
.kt-submit { border-radius: 999px; padding-inline: 1.8em; }
.kt-back, .kt-next { border-radius: 999px; }
.kt-back { border: 1px solid var(--f-line); color: var(--f-ink); background: none; cursor: pointer; }
.kt-back:hover { border-color: var(--f-ink); }
.kt-next { margin-left: auto; border: 1px solid var(--f-ink); background: var(--f-ink); color: var(--f-bg); cursor: pointer; }
.kt-next:hover { background: color-mix(in srgb, var(--f-ink) 85%, var(--f-accent)); }
.kt-privacy { margin: 1rem 0 0; font-size: .82rem; color: var(--f-muted); }
.kt-privacy a { color: inherit; }

/* the thank-you takes the form's place */
.kt-done:empty { display: none; }
.kt-done { padding: clamp(1.5rem, 3.5vw, 2.5rem); border-radius: 18px; background: #EEF2F8; color: #0A1020; outline: none; }
.kt-done-title { margin-bottom: .6rem; font-family: var(--font-display); font-size: clamp(1.8rem, 1.2rem + 1.4vw, 2.5rem); letter-spacing: var(--display-track); line-height: 1.08; }
.kt-done p { color: #4A5368; }
.kt-done-note { margin: 1.25rem 0; padding: .8rem 1rem; border-radius: 10px; background: rgba(61, 107, 255, .1); font-size: .92rem; color: #0A1020 !important; }
.kt-again { padding: 0; border: 0; background: none; color: #2449D8; font: 600 .95rem/1.4 var(--font-text); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }

/* --- With JS: first the two cards with Yousef under them; a card's CTA swaps them for the form, one step at a time,
   with Yousef beside it ("Tilbage" on the first step brings the cards back) --- */
.kontakt.is-live:not(.is-form) .kt-wrap { grid-template-areas: "intro intro" "doors doors" "person person"; }
.kontakt.is-live:not(.is-form) .kt-form, .kontakt.is-live:not(.is-form) .kt-done { display: none; }
.kontakt.is-form .kt-doors { display: none; }
.kontakt.is-form .kt-wrap { grid-template-areas: "intro form" "person form"; }
.kontakt.is-form .kt-intro { align-self: end; margin-bottom: 0; }
.kontakt.is-form .kt-person { align-self: start; margin-top: 2.25rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.kontakt.is-back .kt-doors { animation: kt-up .5s cubic-bezier(.22, .8, .2, 1); }
@keyframes kt-up { from { opacity: 0; transform: translateY(14px); } }
.kontakt.is-live .kt-form { min-height: 31rem; display: flex; flex-direction: column; }
.kontakt.is-live .kt-legend-details { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
.kontakt.is-live .kt-step:not(.is-current) { display: none; }
.kontakt.is-live .kt-step.is-current { animation: kt-in .45s cubic-bezier(.22, .8, .2, 1); }
@keyframes kt-in { from { opacity: 0; transform: translateX(18px); } }
.kontakt.is-live .kt-actions { margin-top: auto; padding-top: 1.5rem; }
.kt-progress { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; font-size: .85rem; font-weight: 600; color: var(--f-muted); }
.kt-progress-bar { flex: 1; height: 4px; border-radius: 4px; background: var(--f-field); overflow: hidden; }
.kt-progress-bar i { display: block; height: 100%; width: var(--done, 50%); border-radius: inherit; background: var(--f-accent); transition: width .5s cubic-bezier(.22, .8, .2, 1); }
@media (max-width: 900px) {
  .kontakt.is-live:not(.is-form) .kt-wrap { grid-template-areas: "intro" "doors" "person"; }
  .kontakt.is-form .kt-wrap { grid-template-areas: "intro" "form" "person"; }
  .kontakt.is-form .kt-intro { margin-bottom: 2rem; }
  .kontakt.is-form .kt-person { margin-top: 2.5rem; }
  .kontakt.is-live .kt-form { min-height: 0; }
}
@media (max-width: 900px) { .kontakt.is-live:not(.is-form) .kt-person { margin-top: 0; } }
/* Start mode (phase 5: a subpage opens on one form, no cards). The section is .is-form from the server, so it has the
   layout above before view.js runs and without it. Without JavaScript every step shows and the form is tall: the
   heading then stays at the top, with Yousef under it, instead of sinking to the form's middle. */
.kontakt[data-start]:not(.is-live) .kt-wrap { grid-template-rows: auto 1fr; }
.kontakt[data-start]:not(.is-live) .kt-intro { align-self: start; }
.kontakt[data-start]:not(.is-live) .kt-step + .kt-step { margin-top: clamp(2rem, 4vw, 2.75rem); }
@media (prefers-reduced-motion: reduce) { .kontakt.is-live .kt-step.is-current, .kontakt.is-back .kt-doors { animation: none; } }
.kt-field input[type="number"] { appearance: textfield; -moz-appearance: textfield; }
.kt-field input[type="number"]::-webkit-inner-spin-button, .kt-field input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
@media (max-width: 560px) {
  .kt-door-cta .btn { flex: 1 1 auto; }
  .kt-actions .btn { padding-inline: 1.05em; font-size: .95rem; }
}

/* --- Contact Form 7 (phase 3, 26 Oct). CF7's own stylesheet is off (Bedri_Forms); these are the parts of it the
   forms need, and the states the concept didn't have (a server answer without JavaScript, spam). --- */
/* CF7's box around each form takes no part in the layout: the <form> is the grid item, as in the concept */
.kontakt .wpcf7 { display: contents; }
.kontakt .screen-reader-response { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); border: 0; word-wrap: normal !important; }
.kontakt .hidden-fields-container { display: none; }
/* the honeypot: out of sight and out of the tab order */
.kt-hp { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
/* CF7's answer line: shown without JavaScript after sending; with JavaScript only when a submission is refused as spam
   (field problems show under the fields, and a sent form is replaced by the thank-you) */
.kontakt .wpcf7-response-output { margin: 1rem 0 0; padding: .8rem 1rem; border-radius: 10px; background: rgba(61, 107, 255, .1); font-size: .92rem; line-height: 1.45; color: var(--f-ink); }
.kontakt .wpcf7-response-output:empty { display: none; }
.kontakt form:is(.invalid, .unaccepted, .spam, .aborted) .wpcf7-response-output { background: rgba(210, 59, 59, .1); }
.kontakt.is-live .wpcf7-response-output { display: none; }
.kontakt.is-live form:is(.spam, .aborted) .wpcf7-response-output:not(:empty) { display: block; }
.kontakt form.submitting .kt-submit { opacity: .6; cursor: progress; }

/* --- Overlap (a start mode with "overlap", For sælgere, 29 Oct): the section is a card over the seam between the hero
   and the light section under it, as the frontpage's team banner sits (sections/banner.css): navy above, the light
   grey (#F1F2F4) below, the card across. The card is the contact section's own layout (intro and Yousef beside the
   form) on its dark blue, with the frontpage cards' radius. --- */
.kontakt.is-overlap { --kt-seam: clamp(10rem, 18vw, 15rem); padding: 0; background: linear-gradient(var(--bg) 0 var(--kt-seam), #F1F2F4 var(--kt-seam)); }
.kontakt.is-overlap .kt-wrap { padding: clamp(1.5rem, 4vw, 3.5rem); border: 1px solid var(--line); border-radius: clamp(18px, 2vw, 24px); background: var(--bg-2); box-shadow: 0 40px 80px -40px rgba(10, 16, 32, .55); }
/* three reviewers at the top of the intro: photo on the left (a seller's is the drawn icon), name over Trustpilot's
   stars and 5/5, and between them the company when the review has one (10 Nov; picked under Bedri → Indstillinger) */
/* the intro starts at the top of the card (the section's sinks to meet Yousef) so the reviewers sit near its edge */
.kontakt.is-overlap .kt-intro { align-self: start; container-type: inline-size; }
.kt-drawer-proof { container-type: inline-size; margin-bottom: 1.5rem; }
.kt-drawer-proof .kt-proof { margin-bottom: 0; }
.kt-proof { display: flex; flex-wrap: nowrap; gap: 1rem; margin: 0 0 clamp(1.5rem, 3vw, 2rem); padding: 0; list-style: none; }
/* the Trustpilot score line above them, as in the reviews section (.tp-score there), text only, a size smaller */
.kt-tp { display: inline-block; margin: 0 0 .75rem; color: var(--muted); font-size: .88rem; line-height: 1.4; text-decoration: none; transition: color .25s; }
.kt-tp b { color: var(--ink); font-weight: 600; }
.kt-tp:hover { color: var(--ink); }
.kt-proof li { display: grid; grid-template-columns: 34px auto; column-gap: .5rem; align-items: center; }
.kt-proof img, .kt-proof-initial { grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.kt-proof-initial { display: grid; place-items: center; background: var(--surface); color: var(--ink); font-weight: 600; font-size: .9rem; }
.kt-proof .has-co > img, .kt-proof .has-co > .kt-proof-initial { grid-row: span 3; }
/* a seller's icon (Bedri_Reviews::icon_svg()) fills the circle; its muted tone mixes toward the circle's background */
.kt-proof-icon { --ic-bg: var(--surface); overflow: hidden; color: color-mix(in srgb, var(--ink) 85%, var(--ic-bg)); box-shadow: inset 0 0 0 1px var(--line); }
.kt-proof-icon svg { width: 100%; height: 100%; }
.kt-proof-icon .ic-skin { fill: color-mix(in srgb, currentColor 48%, var(--ic-bg)); }
.kt-proof-name { color: var(--ink); font-size: .82rem; white-space: nowrap; font-weight: 600; line-height: 1.25; }
/* the company never widens the reviewer: it takes the width the name and the stars set and ends in "…" past it */
.kt-proof-co { display: block; width: 0; min-width: 100%; overflow: hidden; color: var(--muted); font-size: .75rem; line-height: 1.3; white-space: nowrap; text-overflow: ellipsis; }
.kt-proof-rating { display: flex; align-items: center; gap: .4rem; margin-top: .2rem; }
.kt-proof-stars { display: flex; gap: 2.5px; }
.kt-proof-stars i { width: 11px; height: 11px; background: #00B67A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 2l2.9 6.9 7.1.6-5.4 4.7 1.6 7.3L12 17.6 5.8 21.5l1.6-7.3L2 9.5l7.1-.6z'/%3E%3C/svg%3E") center / 8px no-repeat; }
.kt-proof-score { color: var(--muted); font-size: .75rem; font-weight: 600; line-height: 1; }
/* always one line, with room to spare for other fonts (the stars and 5/5 are the widest part): full names only in a
   wide column (the stacked card on tablets), first names otherwise; smaller as the column narrows; on the narrowest
   phones the 5/5 goes (the five stars say it) */
@container (max-width: 489px) { .kt-proof-last { display: none; } }
@container (max-width: 449px) {
  .kt-proof { gap: .7rem; }
  .kt-proof li { grid-template-columns: 28px auto; column-gap: .4rem; }
  .kt-proof img, .kt-proof-initial { width: 28px; height: 28px; }
  .kt-proof-rating { gap: .3rem; }
  .kt-proof-stars { gap: 2px; }
  .kt-proof-stars i { width: 10px; height: 10px; background-size: 7.5px; }
}
@container (max-width: 379px) {
  .kt-proof { gap: .5rem; }
  .kt-proof li { grid-template-columns: 24px auto; column-gap: .3rem; }
  .kt-proof img, .kt-proof-initial { width: 24px; height: 24px; }
  .kt-proof-name { font-size: .78rem; }
  .kt-proof-co { font-size: .7rem; }
  .kt-proof-rating { gap: .25rem; }
  .kt-proof-stars { gap: 1px; }
  .kt-proof-stars i { width: 8.5px; height: 8.5px; background-size: 6.5px; }
  .kt-proof-score { font-size: .7rem; }
}
@container (max-width: 319px) { .kt-proof-score { display: none; } }

/* below 1100px the card is too narrow for two columns (the phone field): it stacks as on tablets */
@media (max-width: 1100px) {
  .kontakt.is-overlap .kt-wrap { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "form" "person"; }
  .kontakt.is-overlap .kt-intro { margin-bottom: 2rem; }
  .kontakt.is-overlap .kt-person { margin-top: 2.5rem; }
}
@media (max-width: 900px) { .kontakt.is-overlap { --kt-seam: 8rem; } }
/* without the seam (the sales video sits there): no card, the section itself carries the content, as the contact
   section does (its dark blue, the paper form card). "light" (For virksomheder): the light grey section instead, in
   the light sections' colours (global.css .surface-light's tokens, set on the wrap so the drawer keeps the dark ones),
   the form a white card with a thin line, so it stands off the grey */
.kontakt.is-overlap.is-flat { padding: clamp(5rem, 10vw, 8rem) 0; background: var(--bg-2); }
.kontakt.is-overlap.is-flat .kt-wrap { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.kontakt.is-overlap.is-flat.is-light { padding: clamp(3rem, 6vw, 4.5rem) 0 0; background: #F1F2F4; }
.kontakt.is-overlap.is-flat.is-light .kt-wrap {
  --bg: #F1F2F4; --bg-2: #E8EBEF; --surface: #FFFFFF; --line: #D9DDE5;
  --ink: #0A1020; --muted: #535B6E;
  --accent: #3D6BFF; --accent-lit: #2449D8; --accent-ink: #FFFFFF; --field: #E8EBEF;
  padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--ink);
}
.kontakt.is-flat.is-light .kt-wrap .kt-form, .kontakt.is-flat.is-light .kt-wrap .kt-done { --f-bg: #FFFFFF; background: #FFFFFF; border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(10, 16, 32, .3); }
@media (max-width: 560px) { .kontakt.is-overlap .kt-wrap { padding: 1.25rem 1rem; } .kontakt.is-overlap .kt-form { padding: 1rem .85rem; } }
@media (max-width: 360px) { .kontakt.is-overlap .kt-wrap { padding-inline: .6rem; } }

/* the drawer: the same form, moved in by view.js, in a panel from the right on the section's dark blue; the popup's
   backdrop and round close button. The page behind does not scroll while it is open. The drawer is inside the
   section, so the form's rules above (.kontakt.is-live …) hold in it unchanged. */
html.kt-drawer-on { overflow: hidden; }
.kt-drawer { position: fixed; inset: 0 0 0 auto; width: min(460px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: none; color: var(--ink); }
.kt-drawer::backdrop { background: color-mix(in srgb, #0A1020 70%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.kt-drawer-panel { height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: clamp(1.25rem, 3vw, 2rem); background: var(--bg-2); border-left: 1px solid var(--line); }
/* the close button on its own line at the top right, the heading and everything else under it (Jannik, 30 Oct) */
.kt-drawer-head { position: relative; display: flex; flex-direction: column-reverse; gap: clamp(1rem, 2.5vw, 1.5rem); margin-bottom: .75rem; }
.kt-drawer-title { margin: 0; font-family: var(--font-display); font-weight: var(--display-wght); letter-spacing: var(--display-track); font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); line-height: 1.08; text-wrap: balance; }
.kt-drawer-lede { margin: 0 0 1.5rem; color: var(--muted); font-size: .95rem; line-height: 1.5; }
/* in the narrow drawer the fields stand under each other (the phone number keeps its country code beside it) */
.kt-drawer .kt-fields, .kt-drawer .kt-pair { grid-template-columns: minmax(0, 1fr); }
.kt-drawer-close { position: relative; flex: none; align-self: flex-end; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: none; color: var(--ink); cursor: pointer; }
.kt-drawer-close:hover { border-color: var(--ink); }
.kt-drawer-close::before, .kt-drawer-close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: currentColor; transform: rotate(45deg); }
.kt-drawer-close::after { transform: rotate(-45deg); }
/* the form without a card in the drawer (Jannik, 30 Oct): straight on the panel's dark blue, so its colours turn to
   the dark ones (fields a step lighter than the panel with a thin line, light ink); the card on the page keeps its
   paper. A thin line parts it from the reviewers above. The form's own height (.is-live, for the card beside Yousef)
   is dropped: the buttons follow the fields. */
.kontakt .kt-drawer .kt-form {
  --f-bg: var(--bg-2); --f-ink: #EEF2F8; --f-muted: #A3ABBE; --f-field: #161F39; --f-line: #2E3A5C; --f-accent: #3D6BFF; --f-thumb: #2A3760;
  min-height: 0; padding: 1.5rem 0 0; border-top: 1px solid var(--line); border-radius: 0; background: none; color: var(--f-ink); color-scheme: dark;
}
.kt-drawer .kt-field input, .kt-drawer .kt-field textarea, .kt-drawer .kt-field select, .kt-drawer .kt-phone select, .kt-drawer .kt-seg { border: 1px solid var(--f-line); }
.kt-drawer .kt-field input:focus + label, .kt-drawer .kt-field textarea:focus + label, .kt-drawer .kt-field select:focus + label { color: var(--accent-lit); }
.kt-drawer .kt-field input:focus, .kt-drawer .kt-field textarea:focus, .kt-drawer .kt-field select:focus, .kt-drawer .kt-phone select:focus { border-color: var(--f-accent); background-color: #1B2645; }
.kt-drawer .kt-field select, .kt-drawer .kt-phone select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23A3ABBE' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.kt-drawer .kt-field [aria-invalid="true"], .kt-drawer .kt-field [aria-invalid="true"]:focus { border-color: #FF7A7A; }
.kt-drawer .kt-thumb { box-shadow: none; }
.kt-drawer .kt-radios label > span, .kt-drawer .kt-file-list li { border: 1px solid var(--f-line); }
.kt-drawer .kt-radios input:checked + span { border-color: var(--f-accent); }
.kt-drawer .kt-help summary, .kt-drawer .kt-again { color: var(--accent-lit); }
.kt-drawer .kt-err { color: #FF9B9B; }
.kt-drawer .kt-back:hover { border-color: var(--f-ink); }
.kt-drawer .kt-done { padding: 1.5rem 0 0; border-top: 1px solid var(--line); border-radius: 0; background: none; color: #EEF2F8; }
.kt-drawer .kt-done p { color: var(--muted); }
.kt-drawer .kt-done-note { background: rgba(61, 107, 255, .16); color: #EEF2F8 !important; }
@media (prefers-reduced-motion: no-preference) {
  .kt-drawer[open] { animation: kt-drawer-in .45s cubic-bezier(.22, .8, .2, 1); }
  .kt-drawer[open]::backdrop { animation: kt-drawer-fade .35s ease; }
  .kt-drawer.is-closing { animation: kt-drawer-out .35s cubic-bezier(.55, 0, .75, .2) forwards; }
  .kt-drawer.is-closing::backdrop { animation: kt-drawer-fade .35s ease reverse forwards; }
}
@keyframes kt-drawer-out { to { transform: translateX(100%); } }
@keyframes kt-drawer-in { from { transform: translateX(100%); } }
@keyframes kt-drawer-fade { from { opacity: 0; } }

/* --- Slide-in only (.is-drawer-only, the plain contact form on Kontakt, 5 Nov): with JavaScript the section takes no
   room and view.js moves the form, the thank-you and Yousef into the drawer. The head's js class hides it from the
   first paint; bedri-motion.js takes that class off again with reduced motion, so view.js's .is-live holds it after
   that. The wrap is hidden, not the section: the drawer is inside it, and a modal dialog under a display: none parent
   doesn't show. Without JavaScript none of this applies: the section stands with the form open, as a start mode. In the
   drawer, Yousef sits under the form, after a thin line. --- */
html.js .kontakt.is-drawer-only, .kontakt.is-drawer-only.is-live { padding: 0; }
html.js .kontakt.is-drawer-only > .kt-wrap, .kontakt.is-drawer-only.is-live > .kt-wrap { display: none; }
.kontakt.is-drawer-only .kt-drawer .kt-person { max-width: none; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.kontakt.is-drawer-only .kt-drawer .kt-person .kt-direct { margin-top: .9rem; font-size: .9rem; }
/* A pair of fields that stays side by side from 561px, also in the drawer (the contact form's Navn and Efternavn,
   5 Nov). It is a .kt-fields inside .kt-fields, spanning the outer grid's width. */
.kt-fields-pair, .kt-drawer .kt-fields-pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 560px) { .kt-fields-pair, .kt-drawer .kt-fields-pair { grid-template-columns: minmax(0, 1fr); } }
