@import url('/demo/typsnitt/typsnitt.css'); /* Typsnitten ligger på sajten, inte hos Google (2026-10-05). */

:root {
  --bg: #F3F6F5; --surface: #FFFFFF; --ink: #12262A; --muted: #4C6166;
  --primary: #0F5F5B; --primary-ink: #FFFFFF; --accent: #FFC857; --accent-ink: #12262A;
  --line: #D9E2E0; --soft: #E4EEEC; --danger: #B3261E; --ok: #1B6B3A;
  --radius: 14px; --gutter: 16px; --max: 1160px;
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --body: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Demo-fält */
.demobar { background: var(--ink); color: #fff; font-size: .85rem; }
.demobar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-top: 8px; padding-bottom: 8px; }
.demobar strong { color: var(--accent); }
.demobar .switch { display: flex; gap: 6px; margin-left: auto; }
.demobar button { font: inherit; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 5px 12px; min-height: 32px; cursor: pointer; }
.demobar button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 700; }

/* Header */
.header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.35rem; }
.logo svg { width: 30px; height: 30px; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { text-decoration: none; padding: 10px 12px; border-radius: 10px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--soft); }
.header .actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.menu-btn { display: none !important; }

/* Knappar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 1rem var(--body); text-decoration: none; border: 2px solid transparent; border-radius: 12px; padding: 12px 22px; min-height: 48px; cursor: pointer; transition: transform .15s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: var(--primary-ink); }
.btn-primary:hover { filter: brightness(1.12); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { filter: brightness(.96); }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--soft); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .92rem; }

/* Hero */
.hero { padding: 40px 0 64px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 46ch; }
.hero-form { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; margin-top: 24px; box-shadow: 0 12px 30px -18px rgba(0,0,0,.25); }
.hero-form .row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; }
.hero-art { position: relative; aspect-ratio: 1 / 1.05; }
.hero-art svg { width: 100%; height: 100%; }
.badge { position: absolute; right: 4%; top: 6%; width: 32%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; text-align: center; padding: 10px; font-weight: 700; font-size: clamp(.75rem, 1.5vw, .95rem); line-height: 1.2; transform: rotate(8deg); }

/* Formulär */
label, .label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #8FA2A0; border-radius: 10px; padding: 12px 14px; min-height: 48px;
}
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.field { margin-bottom: 16px; }
.field .err { color: var(--danger); font-size: .88rem; margin-top: 4px; min-height: 0; }
.field.invalid input, .field.invalid select { border-color: var(--danger); }
.hint { font-size: .85rem; color: var(--muted); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Sektioner */
section.block { padding: 64px 0; }
section.block.alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 32px; }
.grid { display: grid; gap: 16px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; display: block; transition: transform .2s, border-color .2s, box-shadow .2s; }
a.card:hover { transform: translateY(-3px); border-color: var(--primary); box-shadow: 0 14px 28px -20px rgba(0,0,0,.4); }
.card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--soft); color: var(--primary); display: grid; place-items: center; margin-bottom: 14px; }
.card .ico svg { width: 24px; height: 24px; }
.card .go { display: inline-flex; gap: 6px; margin-top: 10px; font-weight: 700; color: var(--primary); }
.steps .card .num { font-family: var(--display); font-size: 2.4rem; font-weight: 700; color: var(--primary); line-height: 1; margin-bottom: 8px; }

.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 20px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; min-height: 48px; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details > div { padding: 0 20px 18px; color: var(--muted); }

/* Footer */
.footer { background: var(--ink); color: #DCE6E5; padding: 48px 0 32px; margin-top: 40px; }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer a { color: #fff; }
.footer h3 { color: #fff; font-size: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer .fine { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.18); padding-top: 20px; font-size: .85rem; color: #B7C7C5; }

/* Bokning */
.page-title { padding: 28px 0 8px; }
.booking { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; padding-bottom: 96px; }
.stepper { display: flex; gap: 8px; margin: 12px 0 28px; padding: 0; list-style: none; flex-wrap: wrap; }
.stepper li { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; color: var(--muted); }
.stepper .dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-weight: 700; font-size: .85rem; background: #fff; }
.stepper li.done .dot { background: var(--primary); border-color: var(--primary); color: #fff; }
.stepper li.current { color: var(--ink); }
.stepper li.current .dot { border-color: var(--primary); color: var(--primary); }
.stepper li + li::before { content: ''; width: 20px; height: 2px; background: var(--line); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.panel h2 { font-size: 1.6rem; }
.choice-grid { display: grid; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.choice .box { display: flex; align-items: center; gap: 14px; border: 2px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #fff; min-height: 64px; }
.choice input:checked + .box { border-color: var(--primary); background: var(--soft); }
.choice input:focus-visible + .box { outline: 3px solid var(--ink); outline-offset: 2px; }
.choice .box .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--soft); color: var(--primary); display: grid; place-items: center; flex: none; }
.choice input:checked + .box .ico { background: var(--primary); color: #fff; }
.choice .box .ico svg { width: 22px; height: 22px; }
.choice .t { font-weight: 700; }
.choice .s { font-size: .88rem; color: var(--muted); }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 2px solid var(--line); border-radius: 12px; padding: 12px 16px; margin-bottom: 10px; min-height: 56px; cursor: pointer; background: #fff; }
.toggle-row:has(input:checked) { border-color: var(--primary); background: var(--soft); }
.toggle-row input { width: 24px; height: 24px; accent-color: var(--primary); flex: none; }
.toggle-row .t { font-weight: 500; }
.toggle-row .p { font-size: .85rem; color: var(--muted); }
.stepper-num { display: flex; align-items: center; gap: 10px; }
.stepper-num button { width: 44px; height: 44px; border-radius: 10px; border: 1.5px solid #8FA2A0; background: #fff; font-size: 1.3rem; cursor: pointer; }
.stepper-num output { min-width: 32px; text-align: center; font-weight: 700; font-size: 1.1rem; }
.num-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 2px solid var(--line); border-radius: 12px; padding: 10px 16px; margin-bottom: 10px; background: #fff; }
.nav-btns { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }

.datestrip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-bottom: 8px; }
.day { border: 2px solid var(--line); background: #fff; border-radius: 12px; padding: 10px 4px; text-align: center; cursor: pointer; font: inherit; min-height: 68px; }
.day .w { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); display: block; }
.day .d { font-family: var(--display); font-size: 1.4rem; font-weight: 700; display: block; }
.day .m { font-size: .7rem; color: var(--muted); }
.day[aria-pressed="true"] { border-color: var(--primary); background: var(--primary); color: #fff; }
.day[aria-pressed="true"] .w, .day[aria-pressed="true"] .m { color: rgba(255,255,255,.85); }
.day:disabled { opacity: .4; cursor: not-allowed; background: var(--soft); }
.range-nav { display: flex; align-items: center; justify-content: space-between; margin: 8px 0 12px; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 2px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font: 500 1rem var(--body); cursor: pointer; min-height: 44px; }
.chip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }

.alert { border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; border: 1.5px solid; }
.alert.warn { background: #FFF6E0; border-color: #E0B050; }
.alert.err { background: #FDECEA; border-color: var(--danger); color: #6D1610; }
.alert.ok { background: #E6F4EA; border-color: var(--ok); }

/* Kvittot – signaturelementet */
.receipt-wrap { position: sticky; top: 92px; }
.receipt { background: #fff; border: 1px solid var(--line); border-radius: 6px 6px 0 0; padding: 22px 22px 26px; position: relative; font-variant-numeric: tabular-nums; box-shadow: 0 20px 40px -28px rgba(0,0,0,.5); }
.receipt::after { content: ''; position: absolute; left: -1px; right: -1px; bottom: -10px; height: 10px;
  background: linear-gradient(-45deg, transparent 6px, #fff 0) 0 0 / 14px 10px, linear-gradient(45deg, transparent 6px, #fff 0) 0 0 / 14px 10px; }
.receipt::before { content: ''; position: absolute; left: 0; right: 0; bottom: -11px; height: 11px; opacity: .35;
  background: linear-gradient(-45deg, transparent 6px, var(--line) 0) 0 0 / 14px 11px, linear-gradient(45deg, transparent 6px, var(--line) 0) 0 0 / 14px 11px; }
.receipt .rh { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px dashed var(--line); padding-bottom: 12px; margin-bottom: 12px; }
.receipt .rh strong { font-family: var(--display); font-size: 1.2rem; }
.receipt .rh span { font-size: .8rem; color: var(--muted); }
.receipt .sel { font-size: .9rem; color: var(--muted); margin-bottom: 10px; }
.receipt ul { list-style: none; margin: 0 0 12px; padding: 0; }
.receipt li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: .95rem; }
.receipt li.sub { color: var(--muted); }
.receipt li.deduct { color: var(--primary); font-weight: 700; }
.receipt li s { color: var(--muted); }
.receipt .rt { border-top: 2px dashed var(--line); padding-top: 14px; display: flex; justify-content: space-between; align-items: baseline; }
.receipt .rt .l { font-weight: 700; }
.receipt .total { font-family: var(--display); font-size: 2.2rem; font-weight: 700; line-height: 1; }
.receipt .save { margin-top: 12px; background: var(--accent); color: var(--accent-ink); border-radius: 8px; padding: 8px 12px; font-weight: 700; font-size: .9rem; }
.receipt .when { margin-top: 12px; font-size: .9rem; border-top: 1px solid var(--line); padding-top: 10px; }
.receipt .empty { color: var(--muted); font-size: .95rem; }
.receipt-toggle { display: none; }

/* Tabeller */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--soft); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: #E6F4EA; color: var(--ok); }
.tag.cancel { background: #FDECEA; color: var(--danger); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.stat b { display: block; font-family: var(--display); font-size: 1.8rem; }

.confirm { text-align: center; padding: 16px 0; }
.confirm .check { width: 72px; height: 72px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; margin: 0 auto 16px; }
.confirm .check svg { width: 36px; height: 36px; }
.ref { display: inline-block; font-family: var(--display); font-size: 1.6rem; letter-spacing: .08em; background: var(--soft); padding: 6px 18px; border-radius: 10px; margin: 8px 0 16px; }

.prose { max-width: 720px; }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }

/* Rörelse */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.reveal > * { animation: rise .6s cubic-bezier(.2,.7,.2,1) both; }
.reveal > *:nth-child(2) { animation-delay: .08s; }
.reveal > *:nth-child(3) { animation-delay: .16s; }
.reveal > *:nth-child(4) { animation-delay: .24s; }
.reveal > *:nth-child(5) { animation-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Responsivt */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; aspect-ratio: 1 / .8; }
  .grid.cols-3 { grid-template-columns: 1fr 1fr; }
  .booking { grid-template-columns: 1fr; }
  .receipt-wrap { position: fixed; inset: auto 0 0 0; top: auto; z-index: 60; }
  .receipt-wrap .receipt { border-radius: 16px 16px 0 0; max-height: 0; overflow: hidden; padding-top: 0; padding-bottom: 0; border-width: 0; transition: max-height .3s, padding .3s; }
  .receipt-wrap.open .receipt { max-height: 70vh; overflow: auto; padding: 22px 22px 26px; border-width: 1px; }
  .receipt::before, .receipt::after { display: none; }
  .receipt-toggle { display: flex; width: 100%; justify-content: space-between; align-items: center; background: var(--ink); color: #fff; border: 0; padding: 14px var(--gutter); font: 700 1rem var(--body); min-height: 56px; cursor: pointer; }
  .receipt-toggle .amt { font-family: var(--display); font-size: 1.3rem; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; padding: 8px var(--gutter) 16px; margin: 0; }
  .nav.open { display: flex; }
  .menu-btn { display: inline-flex !important; }
  .header .actions .btn-ghost { display: none; }
  .header .wrap { position: relative; }
  .hero { padding-top: 24px; }
  .hero-form .row { grid-template-columns: 1fr; }
  .grid.cols-3, .grid.cols-2, .two { grid-template-columns: 1fr; }
  .footer .wrap { grid-template-columns: 1fr; }
  .datestrip { grid-template-columns: repeat(7, 1fr); gap: 4px; }
  .day { padding: 8px 0; min-height: 64px; }
  .day .d { font-size: 1.15rem; }
  .day .m { display: none; }
  .day .w { font-size: .68rem; letter-spacing: 0; }
  .demobar .switch { margin-left: 0; }
  section.block { padding: 44px 0; }
  .panel { padding: 18px; }
}
.page-title h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }

html { scroll-padding-top: 84px; }
@media (max-width: 960px) { html { scroll-padding-bottom: 96px; } }
