/* ═══════════════════════════════════════════════════════════════════════
   Firmabestilling & Events — the two enquiry wizards.
   Ported from prototypes/bestilling (kravspecifikation 0.5) onto the site's
   own tokens: Cormorant Garamond headings, Nunito Sans body, brand red.
   Loaded only on those two pages (AssetsFrontBundle 'bestilling').
   ═══════════════════════════════════════════════════════════════════════ */
.tc-order-form {
  --bg: #F6F0E9; --form: #EFE8DC; --field: #DDD4C6; --field-2: #E8E1D5;
  --ink: #2B2422; --label: #33291F; --muted: #76695A; --line: #D6CCB8;
  --red: var(--tc-primary); --red-dark: var(--tc-primary-dark); --dark: #2B2321;
  background: var(--bg); color: var(--ink); font-family: var(--tc-font-brand);
}
.tc-order-form *, .tc-order-form *::before, .tc-order-form *::after { box-sizing: border-box; }
.tc-order-form [hidden] { display: none !important; }
.tc-order-form :focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .tc-order-form * { transition: none !important; animation: none !important; } }

/* page */
.tc-order-form .page {
  max-width: 1320px; margin: 0 auto; display: grid; gap: clamp(2rem, 4vw, 4rem);
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 4vw, 3rem) 3rem;
}
.tc-order-form .intro { display: flex; flex-direction: column; min-height: 0; }
.tc-order-form h1 {
  font-family: var(--tc-serif); font-weight: 600; font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  line-height: 1.02; letter-spacing: -.015em; margin: 0 0 .5rem; color: var(--ink);
}
.tc-order-form .lede { color: var(--red); font-weight: 700; font-size: 1.15rem; margin: 0 0 .8rem; }
.tc-order-form .copy { font-size: 1.05rem; line-height: 1.55; margin: 0 0 1.2rem; max-width: 46ch; }
.tc-order-form .gallery {
  display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: .6rem;
  min-height: 240px; margin: 0 0 1rem;
}
.tc-order-form .gallery figure { margin: 0; border-radius: 12px; overflow: hidden; background: var(--field); }
.tc-order-form .gallery figure:first-child { grid-row: 1 / 3; }
.tc-order-form .gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tc-order-form .store {
  background: var(--dark); color: #F2EADF; border-radius: 12px; padding: 1rem 1.3rem;
  display: flex; flex-wrap: wrap; gap: .2rem 1.5rem; align-items: baseline;
}
.tc-order-form .store strong { font-family: var(--tc-serif); font-weight: 600; font-size: 1.3rem; }
.tc-order-form .store span { color: #D9CFC2; }
.tc-order-form .store a, .tc-order-form .store a:link, .tc-order-form .store a:visited { color: var(--tc-cream); }

/* wizard shell */
.tc-order-form .wizard { background: var(--form); border-radius: 16px; display: flex; flex-direction: column; min-height: 0; position: relative; }
.tc-order-form .wz-head { padding: 1.4rem clamp(1.25rem, 3vw, 2.25rem) 0; }
/* the step rail follows however many steps the form has: five for an order, three for a message */
.tc-order-form .steps { list-style: none; margin: 0; padding: 0; display: grid;
  grid-auto-flow: column; grid-auto-columns: 1fr; gap: .5rem; }
.tc-order-form .steps button {
  all: unset; display: block; width: 100%; cursor: pointer; font-size: .88rem; font-weight: 700;
  color: var(--muted); padding: .2rem 0 .3rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tc-order-form .steps button:hover { color: var(--ink); }
.tc-order-form .steps button:hover .bar { background: #B9AD99; }
.tc-order-form .steps button:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; border-radius: 4px; }
.tc-order-form .steps button[disabled] { cursor: default; }
.tc-order-form .steps .bar { display: block; height: 5px; border-radius: 3px; background: #D6CCB8; margin-bottom: .45rem; }
.tc-order-form .steps li.done .bar, .tc-order-form .steps li.current .bar { background: var(--dark); }
.tc-order-form .steps li.current button, .tc-order-form .steps li.done button { color: var(--ink); }
.tc-order-form .steps li.haserr .bar { background: var(--red) !important; }
.tc-order-form .steps li.haserr button { color: var(--red-dark); }
.tc-order-form .wz-body { flex: 1; min-height: 0; overflow-y: auto; padding: 1.25rem clamp(1.25rem, 3vw, 2.25rem) 1rem; }
.tc-order-form .step h2, .tc-order-form .done h2 {
  font-family: var(--tc-serif); font-weight: 600; font-size: 1.95rem; line-height: 1.1; margin: 0 0 1.2rem; outline: none; color: var(--ink);
}
.tc-order-form .grid { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem 1rem; }
.tc-order-form .grid > * { grid-column: 1 / -1; }
.tc-order-form .grid > .half { grid-column: auto; }
.tc-order-form .wz-foot { display: flex; align-items: center; gap: 1rem; padding: 1rem clamp(1.25rem, 3vw, 2.25rem) 1.4rem; border-top: 1.5px solid var(--line); }
.tc-order-form .back { background: none; border: 0; font: inherit; font-weight: 800; color: var(--ink); cursor: pointer; padding: .8rem .4rem; display: flex; align-items: center; gap: .4rem; }
.tc-order-form .back[aria-hidden="true"] { visibility: hidden; }
.tc-order-form .count { color: var(--muted); font-size: .9rem; margin-left: auto; }
.tc-order-form .btn {
  display: flex; align-items: center; gap: 1.4rem; background: var(--red); color: #fff; border: 0; font: inherit;
  font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 1rem; padding: 1.05rem 1.6rem;
  cursor: pointer; border-radius: 12px;
}
.tc-order-form .btn:hover { background: var(--red-dark); }
.tc-order-form .btn[disabled] { opacity: .7; cursor: wait; }

/* fields */
.tc-order-form .field { border: 0; margin: 0; padding: 0; min-width: 0; }
.tc-order-form .label { display: block; font-weight: 800; font-size: 1.05rem; color: var(--label); margin: 0 0 .45rem; padding: 0; line-height: 1.25; }
.tc-order-form .req { color: var(--red); font-weight: 800; margin-left: .2rem; font-size: 1.1em; }
.tc-order-form .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tc-order-form .stephead { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: .8rem; }
.tc-order-form .stephead h2 { margin: 0 !important; }
.tc-order-form .reqnote { margin: 0; font-size: .88rem; color: var(--muted); }
.tc-order-form .hint { color: var(--muted); font-size: .88rem; margin: .35rem 0 0; }
.tc-order-form .in {
  width: 100%; background: var(--field); border: 2px solid transparent; border-radius: 12px; padding: .75rem 1rem;
  font: inherit; color: var(--ink); min-height: 2.95rem; appearance: none; -webkit-appearance: none;
}
.tc-order-form select.in {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2333291f' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem;
}
.tc-order-form .in::placeholder { color: #8E8574; }
.tc-order-form .in:focus { outline: none; border-color: var(--dark); background: var(--field-2); }
.tc-order-form textarea.in { resize: vertical; line-height: 1.45; }
.tc-order-form .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.tc-order-form .invalid .in { border-color: var(--red); }
.tc-order-form .err { color: var(--red-dark); font-weight: 700; font-size: .9rem; margin: .4rem 0 0; }
.tc-order-form .radios { display: flex; gap: 2.5rem; }
.tc-order-form .radio { display: flex; align-items: center; gap: .7rem; font-size: 1.05rem; cursor: pointer; }
.tc-order-form input[type=radio], .tc-order-form input[type=checkbox] { accent-color: var(--dark); width: 1.25rem; height: 1.25rem; margin: 0; flex: none; }
.tc-order-form .numrow { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; }
.tc-order-form .num { display: flex; align-items: center; gap: .45rem; }
.tc-order-form .num .in { width: 5.5rem; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.tc-order-form .num .in::-webkit-inner-spin-button, .tc-order-form .num .in::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.tc-order-form .nbtn {
  width: 2.95rem; height: 2.95rem; border-radius: 12px; border: 0; background: var(--field-2); font: inherit;
  font-size: 1.5rem; line-height: 1; font-weight: 700; cursor: pointer; color: var(--ink); display: grid; place-items: center;
}
.tc-order-form .nbtn:hover { background: #D2CAB7; }
.tc-order-form .chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.tc-order-form .chip {
  border: 2px solid transparent; border-radius: 999px; background: var(--field-2); padding: .42rem .8rem; font: inherit;
  font-size: .9rem; font-weight: 700; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; position: relative;
}
.tc-order-form .chip:hover { background: #D2CAB7; }
.tc-order-form .chip[aria-pressed="true"], .tc-order-form .chip.is-on { background: var(--dark); color: #fff; }
.tc-order-form .chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tc-order-form .chip:has(input:checked) { background: var(--dark); color: #fff; }
.tc-order-form .chip:has(input:focus-visible) { outline: 3px solid var(--red); outline-offset: 2px; }
.tc-order-form .invalid .chips .chip { border-color: var(--red); }
.tc-order-form .tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.tc-order-form .tile { display: flex; gap: .75rem; align-items: flex-start; padding: .85rem 1rem; border-radius: 12px; background: var(--field-2); border: 2px solid transparent; cursor: pointer; }
.tc-order-form .tile.is-on, .tc-order-form .tile:has(input:checked) { border-color: var(--dark); background: #FBF7F0; }
.tc-order-form .tile input { margin-top: .15rem; }
.tc-order-form .tile strong { display: block; font-size: 1.05rem; line-height: 1.2; }
.tc-order-form .tile small { display: block; color: var(--muted); font-size: .9rem; margin-top: .15rem; }
.tc-order-form .panel { margin-top: 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.tc-order-form .panel > * { grid-column: 1 / -1; }
.tc-order-form .check { display: flex; gap: .75rem; align-items: flex-start; cursor: pointer; }
.tc-order-form .check input { margin-top: .15rem; }
.tc-order-form .check a, .tc-order-form .check a:link { color: var(--ink); }
.tc-order-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tc-order-form .formerr { background: #F6DCD9; color: var(--red-dark); font-weight: 700; padding: .75rem 1rem; border-radius: 10px; margin: 0 0 1.2rem; }

/* address combobox */
.tc-order-form .combo { position: relative; }
.tc-order-form .listbox {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); background: #FFFAF1; border-radius: 12px;
  box-shadow: 0 14px 34px rgba(43,35,33,.2); list-style: none; margin: 0; padding: .35rem; max-height: 16rem; overflow: auto;
}
.tc-order-form .listbox li { padding: .65rem .85rem; border-radius: 8px; cursor: pointer; }
.tc-order-form .listbox li[aria-selected="true"], .tc-order-form .listbox li:hover { background: #EFE5D3; }
.tc-order-form .listbox .none { color: var(--muted); cursor: default; }
.tc-order-form .picked { font-size: .9rem; color: #3D6B3A; font-weight: 700; margin: .4rem 0 0; }

/* date + time */
.tc-order-form .dt { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.tc-order-form .cal { background: #FBF7F0; border-radius: 12px; padding: .7rem .8rem .8rem; }
.tc-order-form .cal-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .35rem; }
.tc-order-form .cal-top strong { font-size: 1rem; text-transform: capitalize; }
.tc-order-form .cal-nav { width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.tc-order-form .cal-nav:hover { background: var(--field-2); }
.tc-order-form .cal-nav[disabled] { opacity: .3; cursor: default; background: transparent; }
.tc-order-form .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.tc-order-form .cal-wd { font-size: .75rem; font-weight: 700; color: var(--muted); padding: .2rem 0; }
.tc-order-form .day { aspect-ratio: 1; max-height: 40px; width: 100%; border: 0; border-radius: 50%; background: transparent; font: inherit; font-size: .93rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.tc-order-form .day:hover { background: var(--field-2); }
.tc-order-form .day[aria-disabled="true"] { color: #B8AD9D; cursor: default; background: transparent; text-decoration: line-through; text-decoration-color: #CFC5B5; }
.tc-order-form .day.today { box-shadow: inset 0 0 0 1.5px #B8AD9D; }
.tc-order-form .day[aria-pressed="true"] { background: var(--dark); color: #fff; }
.tc-order-form .slots-h { font-weight: 700; margin: .3rem 0 .6rem; font-size: .95rem; }
.tc-order-form .slots-h.empty { color: var(--muted); font-weight: 600; }
.tc-order-form .slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.tc-order-form .slot { border: 0; border-radius: 9px; background: var(--field-2); padding: .55rem 0; font: inherit; font-size: .93rem; font-weight: 700; color: var(--ink); cursor: pointer; }
.tc-order-form .slot:hover { background: #D2CAB7; }
.tc-order-form .slot[disabled] { background: transparent; color: #B8AD9D; cursor: default; text-decoration: line-through; }
.tc-order-form .slot[aria-pressed="true"] { background: var(--dark); color: #fff; }

/* review + success */
.tc-order-form .review { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: .7rem; margin-bottom: 1rem; }
.tc-order-form .rv { background: #FBF7F0; border-radius: 12px; padding: .7rem 1rem; }
.tc-order-form .rv header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .4rem; background: none; }
.tc-order-form .rv h3 { margin: 0; font-size: 1rem; }
.tc-order-form .rv header button { background: none; border: 0; font: inherit; color: var(--red-dark); font-weight: 700; text-decoration: underline; cursor: pointer; padding: 0; }
.tc-order-form .rv dl { margin: 0; font-size: .9rem; display: grid; grid-template-columns: auto 1fr; gap: .2rem .8rem; }
.tc-order-form .rv dt { color: var(--muted); }
.tc-order-form .rv dd { margin: 0; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tc-order-form .done p { max-width: 52ch; }
.tc-order-form .done .ref { display: inline-block; background: var(--dark); color: #F2EADF; padding: .2rem .6rem; border-radius: 6px; font-weight: 700; letter-spacing: .03em; }
.tc-order-form .linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--red-dark); font-weight: 700; text-decoration: underline; cursor: pointer; }

/* one screen on a desktop, stacked and scrolling below that */
@media (min-width: 921px) and (min-height: 640px) {
  .tc-order-form .page { height: calc(100dvh - var(--tc-hdr-h, 116px)); padding-bottom: clamp(1.5rem, 4vw, 2.5rem); }
  .tc-order-form .intro, .tc-order-form .wizard { height: 100%; }
  .tc-order-form .gallery { flex: 1; min-height: 0; }
}
@media (max-width: 920px) { .tc-order-form .page { grid-template-columns: 1fr; } .tc-order-form .gallery { height: 260px; } }
@media (max-width: 640px) { .tc-order-form .dt { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .tc-order-form .steps button { font-size: 0; }
  .tc-order-form .steps button::after { content: attr(data-n); font-size: .85rem; }
  .tc-order-form .grid > .half, .tc-order-form .pair, .tc-order-form .tiles { grid-template-columns: 1fr; grid-column: 1 / -1; }
  .tc-order-form .pair, .tc-order-form .tiles { display: grid; }
  .tc-order-form .radios { gap: 1.5rem; }
  .tc-order-form .btn { padding: .95rem 1.1rem; gap: .8rem; font-size: .95rem; }
  .tc-order-form .step h2, .tc-order-form .done h2 { font-size: 1.6rem; }
}

/* the wizard is injected into #tc-wizard; the form itself must be the grid column */
.tc-order-form #tc-wizard { display: contents; }


/* ── kontaktsiden: ring eller skriv, før formularen ─────────────────────── */
.wizcol { min-width: 0; }
.quickcontact { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 18px; }
.quickcontact .qc {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 14px;
  text-decoration: none !important; transition: transform .15s, box-shadow .15s;
}
.quickcontact .qc:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(36,31,30,.16); }
/* the theme paints a:hover and a:visited red; these are buttons, so the text stays white */
.quickcontact .qc, .quickcontact .qc:link, .quickcontact .qc:visited,
.quickcontact .qc:hover, .quickcontact .qc:focus, .quickcontact .qc:active,
.quickcontact .qc *, .quickcontact .qc:hover * { color: #fff !important; }
.qc-call, .qc-call:hover { background: var(--tc-primary, #D9273F); }
.qc-mail, .qc-mail:hover { background: #2B2422; }
.quickcontact .qc-ic {
  flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.16);
}
.quickcontact .qc-ic svg { width: 23px; height: 23px; }
.quickcontact .qc-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.quickcontact .qc-txt b { font-size: 17px; font-weight: 800; letter-spacing: .01em; }
.quickcontact .qc-txt span { font-size: 14px; opacity: .85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quickcontact-or {
  margin: 0 0 14px; text-align: center; font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: #8A7C77;
}
@media (max-width: 560px) {
  .quickcontact { grid-template-columns: 1fr; gap: 10px; }
  .quickcontact .qc { padding: 15px 16px; }
}

/* ── foden: telefon og mail ─────────────────────────────────────────────── */
.cnc-find-contact a, .cnc-find-contact a:link, .cnc-find-contact a:visited {
  color: inherit !important; text-decoration: underline !important; text-underline-offset: 3px;
}
.cnc-find-contact a:hover { color: var(--tc-primary, #D9273F) !important; }
.cnc-find-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cnc-call-btn { background: var(--tc-primary, #D9273F) !important; color: #fff !important; border-color: transparent !important; }
.cnc-call-btn:hover { background: #E5485D !important; }


/* ── kontaktsiden står alene i midten: ingen venstre spalte at afbalancere ── */
/* Den lange side er ét skema, ikke to spalter, så den må ikke låses til én skærmhøjde:
   gjorde den det, voksede kortet ud over sin egen sektion og ned over foden. */
.tc-order-form.is-kontakt .page {
  display: block; max-width: 760px; margin-inline: auto; height: auto !important;
}
.kontakt-head { text-align: center; margin: 0 0 clamp(20px, 3vw, 34px); }
.kontakt-head h1 { margin: 0 0 8px; }
.kontakt-head .lede { margin: 0; }
.tc-order-form.is-kontakt .quickcontact { margin-bottom: 14px; }
