@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #f6f3ec;
  --surface: #ffffff;
  --ink: #1b2420;
  --muted: #5d6b64;
  --line: #e3ddd0;
  --brand: #1f5f4a;
  --brand-ink: #ffffff;
  --brand-soft: #e3efe9;
  --accent: #d99a2b;
  --danger: #b3261e;
  --ok: #1f7a4d;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(27, 36, 32, .06), 0 8px 24px rgba(27, 36, 32, .06);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121714;
    --surface: #1b221e;
    --ink: #eef2ef;
    --muted: #a3b0a9;
    --line: #2c3631;
    --brand: #5fb592;
    --brand-ink: #0d1a14;
    --brand-soft: #1f3129;
    --accent: #e8b452;
    --danger: #f2867e;
    --ok: #6fcf9a;
    --shadow: none;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 750; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0 0 1em; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.logo-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-size: .85rem; font-weight: 800; letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 550; font-size: .95rem; }
.nav a:hover { color: var(--ink); }
@media (max-width: 640px) { .nav a:not(.btn) { display: none; } }

/* Knapper */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; padding: 12px 20px; font: inherit; font-weight: 650; cursor: pointer; text-decoration: none; transition: transform .08s ease, background .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--brand-ink) !important; }
.btn-primary:hover { background: color-mix(in srgb, var(--brand) 88%, #000); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--surface); }
.btn-danger { background: transparent; color: var(--danger); border: 1px solid color-mix(in srgb, var(--danger) 40%, transparent); }
.btn-sm { padding: 7px 12px; font-size: .9rem; border-radius: 8px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.nav .btn { padding: 9px 16px; }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; font-size: .85rem; font-weight: 650; color: var(--brand); background: var(--brand-soft); padding: 4px 12px; border-radius: 999px; margin-bottom: 16px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.hero-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.hero-card li { display: flex; gap: 12px; align-items: flex-start; }
.check { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: .8rem; font-weight: 800; margin-top: 2px; }
@media (max-width: 820px) { .hero { padding: 40px 0 32px; } .hero-grid { grid-template-columns: 1fr; } }

/* Sektioner */
section { padding: 56px 0; }
.section-head { max-width: 640px; margin-bottom: 28px; }
.section-head p { color: var(--muted); }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card p { color: var(--muted); margin-bottom: .6em; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--muted); }
.pill { background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }
.steps { counter-reset: step; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step { position: relative; padding-left: 52px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-weight: 750; }
.step p { color: var(--muted); }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; }
.avatar { width: 220px; aspect-ratio: 1; border-radius: 20px; background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 60%, var(--accent))); color: var(--brand-ink); display: grid; place-items: center; font-size: 4rem; font-weight: 800; }
@media (max-width: 640px) { .about { grid-template-columns: 1fr; } .avatar { width: 140px; font-size: 2.6rem; } }
.cta { text-align: center; }
.cta .btn { margin-top: 8px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: .92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer a { color: var(--muted); }

/* Formularer */
label { display: block; font-weight: 600; font-size: .93rem; margin-bottom: 6px; }
input, textarea, select { width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; }
input:focus, textarea:focus, select:focus { outline: 2px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 1px; border-color: var(--brand); }
textarea { min-height: 110px; resize: vertical; }
.field { margin-bottom: 16px; }
.row { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.row-3 { display: grid; gap: 12px; grid-template-columns: 2fr 1fr 1.4fr; }
@media (max-width: 560px) { .row, .row-3 { grid-template-columns: 1fr; } }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.checkbox input { width: auto; margin-top: 5px; }
.hint { font-size: .87rem; color: var(--muted); }
.alert { border-radius: 10px; padding: 12px 14px; margin: 12px 0; font-size: .95rem; }
.alert-error { background: color-mix(in srgb, var(--danger) 10%, var(--surface)); color: var(--danger); border: 1px solid color-mix(in srgb, var(--danger) 30%, transparent); }
.alert-ok { background: color-mix(in srgb, var(--ok) 10%, var(--surface)); color: var(--ok); border: 1px solid color-mix(in srgb, var(--ok) 30%, transparent); }
[hidden] { display: none !important; }

/* Booking-flow */
.page { padding: 40px 0 72px; }
.progress { display: flex; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; flex-wrap: wrap; }
.progress li { font-size: .88rem; color: var(--muted); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.progress li.active { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); font-weight: 650; }
.progress li.done { color: var(--brand); border-color: var(--brand); }
.choice { text-align: left; width: 100%; cursor: pointer; font: inherit; color: inherit; transition: border-color .15s, transform .08s; }
.choice:hover { border-color: var(--brand); }
.choice[aria-pressed="true"] { border-color: var(--brand); outline: 2px solid var(--brand); }
.days { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x mandatory; }
.day { flex: none; scroll-snap-align: start; min-width: 92px; padding: 12px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); text-align: center; cursor: pointer; font: inherit; color: inherit; }
.day .dow { display: block; font-size: .8rem; color: var(--muted); text-transform: capitalize; }
.day .dnum { display: block; font-size: 1.35rem; font-weight: 750; }
.day .mon { display: block; font-size: .8rem; color: var(--muted); }
.day[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.day[aria-pressed="true"] .dow, .day[aria-pressed="true"] .mon { color: inherit; opacity: .85; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; margin-top: 8px; }
.time { padding: 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font: inherit; font-weight: 600; color: inherit; cursor: pointer; }
.time:hover { border-color: var(--brand); }
.time[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.summary { background: var(--brand-soft); border-radius: 12px; padding: 14px 16px; margin-bottom: 20px; }
.summary strong { display: block; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; margin-top: 20px; }
.empty { color: var(--muted); padding: 24px; text-align: center; border: 1px dashed var(--line); border-radius: 12px; }
.prose h2 { margin-top: 1.6em; font-size: 1.3rem; }
.prose ul { padding-left: 1.2em; }
section.flow { padding: 0; }
.lead.center { margin: 0 auto 12px; }
.card-actions { margin: 14px 0 0; }
section.narrow { margin: 0 auto; }
/* Månedskalender i booking */
.cal { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-head strong { text-transform: capitalize; font-size: 1.05rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-dow { text-align: center; font-size: .78rem; color: var(--muted); padding-bottom: 4px; }
.cal-day { height: 52px; border-radius: 10px; border: 1px solid transparent; background: transparent; font: inherit; font-weight: 600; color: var(--muted); opacity: .45; }
.cal-day.free { opacity: 1; color: var(--brand); background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand) 35%, transparent); cursor: pointer; }
.cal-day.free:hover { border-color: var(--brand); }
.cal-day[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.cal-chosen { margin: 12px 0 0; }
.details { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 18px; }
.details dt { color: var(--muted); }
.details dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 560px) { .cal-day { height: auto; aspect-ratio: 1; } }
