/* Design fra fvuinfo.dk/hold (Anders) – genbrugt 1:1, plus tilføjelser til holdmotoren nederst */
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/public-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/public-sans-600.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/public-sans-700.woff2") format("woff2"); }
:root { color-scheme: light; --red: #b32028; --ink: #1b2430; --muted: #526170; --line: #dce1e5; font-family: "Public Sans", Arial, sans-serif; font-size: 16px; line-height: 1.6; color: var(--ink); background: rgb(247, 247, 245); }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--red); text-underline-offset: 3px; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: rgb(25, 63, 131) solid 3px; outline-offset: 4px; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.25; }
h1 { font-size: clamp(2rem, 4vw, 2.75rem); letter-spacing: -0.045em; margin-bottom: 20px; }
h2 { font-size: 1.6rem; letter-spacing: -0.025em; margin-bottom: 12px; }
h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.skip-link { position: absolute; z-index: 2; top: 8px; left: 12px; padding: 12px 20px; background: white; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { max-width: 1160px; margin: 0 auto; padding: 20px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; }
.brand img { display: block; width: 210px; max-width: 100%; height: auto; }
.header-label { color: var(--muted); font-size: 0.875rem; font-weight: 600; }
.preview-banner { background: rgb(255, 240, 196); color: rgb(101, 71, 0); padding: 10px 20px; text-align: center; font-size: 0.875rem; }
.page-layout { max-width: 1160px; margin: auto; padding: 40px 32px 20px; display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.7fr); align-items: start; gap: 40px; }
.intro { padding-top: 16px; }
.eyebrow { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.095em; color: var(--red); margin-bottom: 18px; }
.intro > p:not(.eyebrow) { color: var(--muted); margin-bottom: 24px; }
.start-note { display: grid; gap: 2px; border-left: 3px solid var(--red); padding: 2px 0 2px 18px; margin: 32px 0; }
.note-label, .start-note > span:last-child { color: var(--muted); font-size: 0.875rem; }
.start-note strong { font-size: 1.35rem; }
.contact-note { border-top: 1px solid var(--line); padding-top: 22px; font-size: 0.875rem; }
.contact-note h2 { font-size: 1rem; letter-spacing: 0; margin-bottom: 7px; }
.contact-note p { color: var(--muted); margin-bottom: 6px; }
.form-card { border: 1px solid var(--line); border-radius: 16px; background: white; padding: 32px; box-shadow: rgba(27, 36, 48, 0.024) 0 8px 32px; min-width: 0; }
.lead { color: var(--muted); font-size: 1rem; margin-bottom: 12px; }
.required-note { color: var(--muted); font-size: 0.8125rem; margin-bottom: 24px; }
.form-section { border: 0; border-top: 1px solid var(--line); padding: 22px 0 0; margin: 28px 0 0; min-width: 0; }
.form-section legend { font-size: 1.0625rem; font-weight: 700; padding: 0; margin-bottom: 0; width: 100%; }
.step-number { display: inline-grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: rgb(251, 237, 237); color: var(--red); font-size: 0.8125rem; margin-right: 5px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-top: 20px; min-width: 0; }
.field label { display: block; font-size: 0.9375rem; font-weight: 600; margin-bottom: 7px; }
.field input, .field select, .field textarea { display: block; width: 100%; border: 1px solid rgb(152, 164, 175); border-radius: 8px; padding: 11px 12px; min-height: 48px; background: white; color: var(--ink); }
.field select { padding-right: 26px; }
.field input:hover, .field select:hover { border-color: rgb(82, 97, 112); }
.field-help { font-size: 0.8125rem; color: var(--muted); margin: 8px 0 0; }
.section-help { font-size: 0.875rem; color: var(--muted); margin: 16px 0; }
.time-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.time-choice { display: flex; gap: 12px; align-items: center; border: 1px solid rgb(181, 190, 198); border-radius: 9px; padding: 14px; min-height: 77px; cursor: pointer; line-height: 1.45; background: white; }
.time-choice:hover { border-color: var(--red); background: rgb(255, 250, 250); }
.time-choice:has(input:checked) { border-color: var(--red); background: rgb(255, 245, 245); box-shadow: inset 0 0 0 1px var(--red); }
.time-choice input { width: 21px; height: 21px; margin: 0; flex-shrink: 0; accent-color: var(--red); }
.time-choice > span { display: grid; gap: 3px; }
.time-choice strong { font-weight: 600; font-size: 0.9375rem; }
.time-choice > span > span { font-size: 0.9375rem; }
.submit-section { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 22px; }
.privacy-note { font-size: 0.8125rem; color: var(--muted); line-height: 1.7; margin-bottom: 22px; }
.primary-button { display: flex; align-items: center; justify-content: center; gap: 18px; width: 100%; background: var(--red); color: white; border: 1px solid var(--red); border-radius: 8px; font-weight: 600; min-height: 52px; padding: 12px 20px; text-decoration: none; }
.primary-button:hover { background: rgb(145, 27, 34); border-color: rgb(145, 27, 34); }
.primary-button > span { font-size: 1.35rem; line-height: 1; }
.submit-help { font-size: 0.8125rem; color: var(--muted); text-align: center; margin: 10px 0 0; }
.error-summary { background: rgb(255, 243, 243); border: 1px solid var(--red); border-radius: 8px; padding: 16px 18px; margin: 24px 0; }
.error-summary h3 { color: rgb(146, 28, 35); }
.error-summary ul { margin: 8px 0 0; padding-left: 20px; font-size: 0.875rem; }
.error-summary li + li { margin-top: 6px; }
.field-error { color: rgb(161, 29, 37); font-size: 0.875rem; margin: 8px 0 0; }
[aria-invalid="true"]:not(fieldset) { border-color: var(--red); }
.bot-field { display: none; }
.success-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: rgb(234, 245, 237); color: rgb(40, 100, 60); font-weight: 700; font-size: 1.6rem; margin-bottom: 20px; }
.chosen-times { list-style: none; padding: 0; margin: 22px 0 12px; display: grid; gap: 8px; }
.chosen-times li { padding: 12px 16px; border: 1px solid rgb(185, 211, 193); border-radius: 7px; background: rgb(243, 250, 245); font-size: 0.9375rem; }
.time-zone { font-size: 0.8125rem; color: var(--muted); }
.next-note { padding: 20px; border-radius: 10px; background: rgb(244, 245, 246); margin: 26px 0; }
.next-note p { color: var(--muted); font-size: 0.9375rem; margin-bottom: 10px; }
.next-note p:last-child { margin-bottom: 0; }
.signature { font-size: 0.875rem; line-height: 1.8; margin-bottom: 0; }
.site-footer { grid-column: 1 / -1; display: flex; gap: 30px; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 24px; color: var(--muted); font-size: 0.75rem; }
.site-footer p { max-width: 680px; margin-bottom: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; flex-shrink: 0; align-items: start; gap: 10px 20px; }
.site-footer a { color: var(--muted); display: inline-block; padding-block: 4px; }
@media (max-width: 1000px) {
  .page-layout { gap: 28px; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.7fr); padding-inline: 24px; }
  .form-card { padding: 26px; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .time-choice { padding: 12px; gap: 10px; }
}
@media (max-width: 760px) {
  .site-header { padding: 16px 20px; gap: 16px; }
  .brand img { width: 180px; }
  .header-label { font-size: 0.8125rem; }
  .page-layout { display: flex; flex-direction: column; padding: 24px 16px; gap: 24px; }
  .intro { padding: 0 4px; }
  .intro h1 { margin-bottom: 14px; }
  .intro > p:not(.eyebrow) { margin-bottom: 18px; }
  .eyebrow { margin-bottom: 12px; }
  .start-note { margin: 20px 0 0; }
  .contact-note { display: none; }
  .form-card { width: 100%; padding: 24px 20px; border-radius: 12px; }
  .form-card h2 { font-size: 1.45rem; }
  .form-section { margin-top: 24px; padding-top: 18px; }
  .time-grid { gap: 9px; }
  .time-choice { padding: 12px 10px; gap: 9px; }
  .time-choice strong, .time-choice > span > span { font-size: 0.875rem; }
  .site-footer { display: block; padding-top: 20px; }
  .site-footer nav { margin-top: 12px; gap: 24px; }
  .site-footer a { padding-block: 10px; }
}
@media (max-width: 380px) {
  .site-header { padding-inline: 16px; }
  .brand img { width: 160px; }
  .form-card { padding-inline: 16px; }
  .time-grid { grid-template-columns: 1fr; }
  .time-choice { min-height: 66px; padding: 12px 14px; }
}

/* ---------- Holdmotor: tilføjelser i samme stil ---------- */
.header-right { display: flex; align-items: center; gap: 18px; }
.lang-switch { font-size: 0.8125rem; color: var(--muted); }
.lang-switch a { color: var(--muted); }
.lang-switch strong { color: var(--ink); }
.slot-list { display: grid; gap: 14px; }
.slot-day h3 { font-size: 0.9375rem; margin: 6px 0 8px; }
.slot-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.slot-row .time-choice { min-height: 60px; padding: 10px 12px; }
.slot-row .time-choice small { color: var(--muted); font-size: 0.8125rem; }
.notice { padding: 16px 18px; border-radius: 10px; background: rgb(244, 245, 246); margin: 20px 0; font-size: 0.9375rem; }
.notice.warn { background: rgb(255, 248, 230); border: 1px solid rgb(240, 214, 150); }
.notice.ok { background: rgb(243, 250, 245); border: 1px solid rgb(185, 211, 193); }
.progress-steps { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 0; }
.progress-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.progress-steps li:last-child { border-bottom: 0; }
.progress-steps .dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 0.8125rem; font-weight: 700; background: rgb(244, 245, 246); color: var(--muted); }
.progress-steps li.done .dot { background: rgb(234, 245, 237); color: rgb(40, 100, 60); }
.progress-steps li.now .dot { background: var(--red); color: white; }
.progress-steps li.now strong { color: var(--red); }
.progress-steps small { display: block; color: var(--muted); font-size: 0.8125rem; }
.hold-choice { display: flex; gap: 14px; align-items: center; border: 1px solid rgb(181, 190, 198); border-radius: 9px; padding: 14px 16px; cursor: pointer; background: white; }
.hold-choice:hover { border-color: var(--red); background: rgb(255, 250, 250); }
.hold-choice:has(input:checked) { border-color: var(--red); background: rgb(255, 245, 245); box-shadow: inset 0 0 0 1px var(--red); }
.hold-choice input { width: 21px; height: 21px; accent-color: var(--red); flex-shrink: 0; }
.hold-choice .meta { margin-left: auto; text-align: right; font-size: 0.8125rem; color: var(--muted); }
.hold-choice .tag { display: inline-block; font-size: 0.75rem; font-weight: 600; color: rgb(40, 100, 60); background: rgb(234, 245, 237); border-radius: 20px; padding: 1px 9px; margin-left: 6px; }
.hold-list { display: grid; gap: 10px; }

/* Admin */
.admin-wrap { max-width: 1240px; margin: 0 auto; padding: 28px 32px 40px; }
.admin-nav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 26px; }
.admin-nav a { text-decoration: none; color: var(--ink); font-size: 0.9375rem; font-weight: 600; padding: 8px 14px; border-radius: 8px; border: 1px solid transparent; }
.admin-nav a:hover { background: white; border-color: var(--line); }
.admin-nav a.on { background: white; border-color: var(--line); color: var(--red); }
.card { border: 1px solid var(--line); border-radius: 16px; background: white; padding: 24px 26px; box-shadow: rgba(27, 36, 48, 0.024) 0 8px 32px; margin-bottom: 22px; min-width: 0; }
.card h2 { font-size: 1.25rem; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.kpi { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.kpi .v { font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.kpi .l { color: var(--muted); font-size: 0.8125rem; }
.kpi.main .v { color: var(--red); }
.bar { height: 10px; background: rgb(244, 245, 246); border-radius: 10px; overflow: hidden; margin-top: 10px; }
.bar > span { display: block; height: 100%; background: var(--red); border-radius: 10px; }
table.grid { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
table.grid th { text-align: left; font-size: 0.8125rem; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--ink); padding: 8px 10px; white-space: nowrap; }
table.grid td { border-bottom: 1px solid var(--line); padding: 9px 10px; vertical-align: top; }
table.grid tr.sum td { font-weight: 700; border-top: 1px solid var(--ink); border-bottom: 0; }
table.grid .num { text-align: right; font-variant-numeric: tabular-nums; }
table.grid tr.start td { background: rgb(244, 247, 251); }
table.grid a { color: var(--ink); }
.badge { display: inline-block; font-size: 0.75rem; font-weight: 600; border-radius: 20px; padding: 2px 10px; white-space: nowrap; background: rgb(244, 245, 246); color: var(--muted); }
.badge.placeret { background: rgb(234, 245, 237); color: rgb(40, 100, 60); }
.badge.vaelger_hold { background: rgb(255, 240, 196); color: rgb(101, 71, 0); }
.badge.booket { background: rgb(230, 238, 250); color: rgb(25, 63, 131); }
.badge.trin_mangler { background: rgb(255, 236, 222); color: rgb(140, 60, 10); }
.badge.trin34 { background: rgb(240, 232, 250); color: rgb(90, 50, 140); }
.badge.afmeldt, .badge.udland { background: rgb(240, 240, 240); color: rgb(110, 110, 110); }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; margin-bottom: 16px; }
.filters .field { margin-top: 0; }
.filters input, .filters select { min-height: 40px; padding: 7px 10px; }
.btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--red); color: var(--red); background: white; border-radius: 8px; padding: 8px 14px; font-weight: 600; font-size: 0.9375rem; text-decoration: none; }
.btn:hover { background: rgb(255, 245, 245); }
.btn.solid { background: var(--red); color: white; }
.btn.solid:hover { background: rgb(145, 27, 34); }
.btn.small { padding: 4px 10px; font-size: 0.8125rem; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 22px; align-items: start; }
dl.facts { display: grid; grid-template-columns: 160px 1fr; gap: 6px 14px; margin: 0; font-size: 0.9375rem; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; }
.log { list-style: none; padding: 0; margin: 0; font-size: 0.875rem; }
.log li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.log li small { color: var(--muted); display: block; }
.mail-body { white-space: pre-wrap; font-size: 0.875rem; background: rgb(250, 250, 249); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.inline-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.inline-form select, .inline-form input { min-height: 36px; padding: 5px 8px; border: 1px solid rgb(152, 164, 175); border-radius: 8px; }
.muted { color: var(--muted); }
.small { font-size: 0.8125rem; }
.flash { padding: 12px 16px; border-radius: 10px; background: rgb(243, 250, 245); border: 1px solid rgb(185, 211, 193); margin-bottom: 18px; }
.funnel { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.funnel a { display: block; text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 12px 12px; background: white; }
.funnel a:hover { border-color: var(--red); }
.funnel .v { font-size: 1.5rem; font-weight: 700; }
.funnel .l { font-size: 0.75rem; color: var(--muted); }
@media (max-width: 900px) { .kpis { grid-template-columns: repeat(2, 1fr); } .two-col { grid-template-columns: 1fr; } .funnel { grid-template-columns: repeat(2, 1fr); } .admin-wrap { padding: 20px 16px; } table.grid { font-size: 0.8125rem; } }
.signature { margin-top: 22px; }
@media (max-width: 760px) { .site-header .header-label { display: none; } .lang-switch { white-space: nowrap; } }
