/* Lokkverket – frisør (eksempel laget av Klartil) */
:root {
  --espresso: #2b211c;
  --espresso-2: #3d302a;
  --text: #2f2723;
  --muted: #6e625b;
  --cream: #f6efe6;
  --paper: #fffaf4;
  --line: #e7dccf;
  --coral: #d9604a;
  --coral-dark: #b84a36;
  --coral-soft: #fbe3dc;
  --sage: #c9d8c5;
  --radius: 16px;
  --radius-lg: 28px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--paper); overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--espresso); line-height: 1.08; letter-spacing: -.015em; margin: 0 0 .45em; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--espresso); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.small { font-size: .88rem; }
.muted { color: var(--muted); }
.proto-badge { background: var(--espresso); color: var(--cream); text-align: center; font-size: 13px; font-weight: 600; padding: 8px 16px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 1.5px solid transparent; font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn--lg { min-height: 56px; padding: 15px 30px; font-size: 1.06rem; }
.btn--coral { background: var(--coral); color: #fff; }
.btn--coral:hover { background: var(--coral-dark); }
.btn--dark { background: var(--espresso); color: var(--cream); }
.btn--line { border-color: var(--espresso); color: var(--espresso); background: transparent; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 250, 244, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 22px; min-height: 74px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 500 1.45rem/1 var(--serif); color: var(--espresso); margin: 0; }
.logo__l { width: 38px; height: 38px; border-radius: 50%; background: var(--espresso); color: var(--cream); display: inline-grid; place-items: center; font: italic 500 1.25rem/1 var(--serif); }
.logo--light { color: var(--cream); }
.logo--light .logo__l { background: var(--coral); }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.nav a:hover { background: var(--cream); }
.menu-btn { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); padding: 13px 12px; cursor: pointer; }
.menu-btn span { display: block; height: 2px; background: var(--espresso); margin: 3px 0; border-radius: 2px; }

.hero { padding: 56px 0 88px; }
.hero__in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--coral-dark); font-size: .95rem; }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.kicker.is-open { color: #2f7a52; }
.hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); margin: 16px 0 20px; }
.hero h1 em { font-style: italic; color: var(--coral); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 31em; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.hero__next { font-size: .95rem; color: var(--muted); }
.hero__next strong { color: var(--espresso); }
.hero__media { position: relative; min-height: 520px; }
.hero__img { position: absolute; object-fit: cover; box-shadow: 0 24px 60px rgba(43, 33, 28, .18); }
.hero__img--a { inset: 0 18% 18% 0; width: 82%; height: 82%; border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 160px; }
.hero__img--b { right: 0; bottom: 0; width: 42%; height: 56%; border-radius: 120px 120px var(--radius-lg) var(--radius-lg); border: 6px solid var(--paper); }

.section { padding: 92px 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--espresso); color: #e6dbd2; }
.section--dark h2 { color: var(--cream); }
.head { max-width: 640px; margin-bottom: 36px; }
.head p:last-child { color: var(--muted); font-size: 1.06rem; }
.head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.head--row > p { max-width: 380px; margin: 0; }
.eyebrow { font: 700 .76rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--coral-dark); margin-bottom: 12px; }
.section--dark .eyebrow { color: #f2a08f; }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.tab { border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px; padding: 9px 18px; font: 600 .96rem var(--sans); color: var(--espresso); cursor: pointer; min-height: 44px; }
.tab[aria-selected="true"] { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.prices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.price { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.price__top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.price h3 { margin: 0; font-size: 1.22rem; }
.price__sum { font: 600 1.25rem var(--serif); color: var(--espresso); white-space: nowrap; }
.price p { margin: 0; color: var(--muted); font-size: .95rem; }
.variants { display: flex; gap: 6px; flex-wrap: wrap; }
.variants button { border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px; padding: 5px 12px; font: 500 .86rem var(--sans); cursor: pointer; min-height: 36px; color: var(--text); }
.variants button[aria-pressed="true"] { border-color: var(--coral); background: var(--coral-soft); color: var(--coral-dark); font-weight: 600; }
.price__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); }
.price__foot span { font-size: .88rem; color: var(--muted); }
.price__foot .btn { min-height: 40px; padding: 8px 18px; font-size: .92rem; }
.note { margin-top: 18px; background: var(--cream); border-radius: var(--radius); padding: 14px 18px; font-size: .95rem; }

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.member { background: var(--paper); border-radius: var(--radius-lg); padding: 26px; display: flex; flex-direction: column; gap: 6px; }
.member__init { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font: italic 500 1.6rem var(--serif); color: var(--espresso); margin-bottom: 8px; }
.member h3 { margin: 0; }
.member p { color: var(--muted); margin: 0 0 10px; font-size: .96rem; }
.member .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.member .tags span { font-size: .8rem; font-weight: 600; background: #fff; border-radius: 999px; padding: 4px 10px; }
.member .btn { margin-top: auto; align-self: start; }

.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; margin-bottom: 14px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.gallery figure:nth-child(1) { grid-column: span 5; grid-row: span 2; }
.gallery figure:nth-child(1) img { aspect-ratio: auto; }
.gallery figure:nth-child(2), .gallery figure:nth-child(3) { grid-column: span 7; }
.gallery figure:nth-child(2) img, .gallery figure:nth-child(3) img { aspect-ratio: 16 / 9; }
.gallery figure:nth-child(n+4) { grid-column: span 4; }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.gallery figcaption span { background: rgba(255, 250, 244, .92); color: var(--espresso); font-size: .82rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; }

.gift { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.gift p { color: #cdbfb4; }
.amounts { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 18px; }
.amounts button { border: 1.5px solid rgba(255,255,255,.25); background: transparent; color: var(--cream); border-radius: 999px; padding: 9px 18px; font: 600 1rem var(--sans); cursor: pointer; min-height: 44px; }
.amounts button[aria-checked="true"] { background: var(--cream); color: var(--espresso); border-color: var(--cream); }
.gift__form { display: grid; gap: 14px; justify-items: start; }
.gift__form .grid-2 { width: 100%; }
.gift__form label { color: var(--cream); }
.gift__done { background: rgba(201, 216, 197, .15); color: var(--sage); padding: 12px 16px; border-radius: 12px; margin: 0; font-weight: 500; }
.giftcard { aspect-ratio: 1.6; border-radius: 22px; padding: 28px; background: linear-gradient(135deg, #f6efe6, #f0d9c8 60%, #e9b9a6); color: var(--espresso); display: flex; flex-direction: column; box-shadow: 0 30px 60px rgba(0,0,0,.35); transform: rotate(-3deg); }
.giftcard__brand { font: 500 1.2rem var(--serif); display: flex; align-items: center; gap: 8px; color: var(--espresso) !important; margin: 0; }
.giftcard__brand .logo__l { width: 30px; height: 30px; font-size: 1rem; }
.giftcard__label { margin: auto 0 0; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--espresso-2) !important; font-weight: 700; }
.giftcard__amount { font: 500 2.6rem/1.1 var(--serif); margin: 2px 0 6px; color: var(--espresso) !important; }
.giftcard__to, .giftcard__code { margin: 0; font-size: .92rem; color: var(--espresso-2) !important; }
.giftcard__code { font-family: ui-monospace, Consolas, monospace; letter-spacing: .08em; }

label { display: block; font-weight: 600; font-size: .95rem; color: var(--espresso); }
input:not([type=checkbox]):not([type=radio]), select, textarea { display: block; width: 100%; margin-top: 6px; font: inherit; font-size: 1rem; color: var(--text); background: #fff; border: 1.5px solid #d8cabc; border-radius: 12px; padding: 11px 14px; min-height: 48px; }
input:focus, textarea:focus { outline: none; border-color: var(--espresso); box-shadow: 0 0 0 3px rgba(217, 96, 74, .25); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-error { background: var(--coral-soft); color: var(--coral-dark); font-weight: 600; padding: 10px 14px; border-radius: 10px; margin: 0; }

.mine { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.mine > div > p { color: var(--muted); font-size: 1.06rem; }
.mine__card { background: var(--cream); border-radius: var(--radius-lg); padding: 26px; display: grid; gap: 12px; }
.mine__hi { font: italic 500 1.6rem var(--serif); color: var(--espresso); margin: 0 0 4px; }
.mine__row { background: var(--paper); border-radius: var(--radius); padding: 14px 16px; display: grid; gap: 2px; }
.mine__row span { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--coral-dark); }
.mine__row strong { color: var(--espresso); }
.mine__row small { color: var(--muted); }

.faq-wrap { max-width: 820px; }
.faq details { background: var(--paper); border-radius: var(--radius); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 54px 18px 22px; font-weight: 600; color: var(--espresso); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font: 400 1.5rem var(--serif); color: var(--coral); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--muted); }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.contact__list li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; }
.contact__list span { color: var(--muted); font-size: .9rem; padding-top: 2px; }
.contact__list a { font-weight: 600; }
.hours { background: var(--cream); border-radius: var(--radius-lg); padding: 26px; }
.hours table { width: 100%; border-collapse: collapse; }
.hours td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; }
.hours tr.is-today td { color: var(--coral-dark); }

.footer { background: var(--espresso); color: #cdbfb4; padding: 48px 0 32px; }
.footer__in { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: start; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer__links a { color: var(--cream); text-decoration: none; font-weight: 500; }
.footer__links a:hover { text-decoration: underline; }
.footer__bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; }
.footer__bottom a { color: var(--cream); }
.credits summary { cursor: pointer; font-size: .88rem; }
.credits p { max-width: 520px; margin: 8px 0 0; }

/* Bestilling */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(43, 33, 28, .55); display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__box { background: var(--paper); border-radius: var(--radius-lg); width: min(640px, 100%); max-height: calc(100dvh - 40px); display: flex; flex-direction: column; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.modal__head { display: flex; justify-content: space-between; align-items: start; gap: 16px; padding: 24px 26px 12px; }
.modal__head h2 { font-size: 1.7rem; margin: 0; }
.modal__head .eyebrow { margin-bottom: 6px; }
.modal__x { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; flex: none; }
.modal__body { padding: 8px 26px 18px; overflow-y: auto; }
.modal__foot { display: flex; align-items: center; gap: 12px; padding: 16px 26px 22px; border-top: 1px solid var(--line); }
.modal__foot .btn { min-height: 46px; }
.bk-sum { flex: 1; font-size: .9rem; color: var(--muted); min-width: 0; }
.bk-sum strong { color: var(--espresso); display: block; }
.opts { display: grid; gap: 10px; }
.opt { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; text-align: left; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 14px 16px; font: inherit; color: var(--text); cursor: pointer; min-height: 56px; }
.opt small { display: block; color: var(--muted); font-size: .86rem; }
.opt strong { color: var(--espresso); }
.opt[aria-checked="true"] { border-color: var(--coral); background: var(--coral-soft); }
.opt__price { font-weight: 600; white-space: nowrap; }
.grouplabel { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 14px 0 8px; }
.grouplabel:first-child { margin-top: 0; }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; }
.chip { flex: none; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 8px 12px; font: 600 .95rem var(--sans); color: var(--espresso); cursor: pointer; min-width: 64px; min-height: 48px; text-align: center; }
.chip small { display: block; font-weight: 400; font-size: .78rem; color: var(--muted); }
.chip[aria-checked="true"] { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.chip[aria-checked="true"] small { color: #d9cbbf; }
.chip--wk small { color: var(--coral-dark); font-weight: 600; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.wk-info { font-size: .88rem; background: var(--coral-soft); color: var(--coral-dark); border-radius: 10px; padding: 8px 12px; margin: 10px 0 0; }
.terms { display: flex; gap: 10px; align-items: start; font-weight: 500; font-size: .92rem; margin-top: 12px; }
.terms input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--coral); flex: none; }
.done { text-align: center; padding: 10px 0; }
.done__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--sage); display: grid; place-items: center; margin: 0 auto 14px; font-size: 1.8rem; color: var(--espresso); }
.done p { color: var(--muted); }

@media (max-width: 1000px) {
  .menu-btn { display: block; }
  .header__cta { margin-left: auto; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--paper); padding: 10px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(0,0,0,.08); }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .hero__in, .gift, .mine, .contact { grid-template-columns: 1fr; gap: 36px; }
  .hero__media { min-height: 420px; }
  .team { grid-template-columns: 1fr 1fr; }
  .giftcard { max-width: 420px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .header__in { gap: 10px; min-height: 64px; }
  .logo { font-size: 1.25rem; }
  .header__cta { padding: 9px 16px; min-height: 42px; font-size: .92rem; }
  .hero { padding: 32px 0 56px; }
  .hero__btns .btn { width: 100%; }
  .hero__media { min-height: 320px; }
  .section { padding: 64px 0; }
  .prices, .team, .grid-2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:nth-child(n) { grid-column: span 1; grid-row: auto; }
  .gallery figure:nth-child(1) { grid-column: span 2; }
  .gallery figure:nth-child(n) img { aspect-ratio: 4 / 5; }
  .gallery figure:nth-child(1) img { aspect-ratio: 16 / 11; }
  .footer__in { grid-template-columns: 1fr; }
  .modal { padding: 0; place-items: end stretch; }
  .modal__box { border-radius: 22px 22px 0 0; max-height: 92dvh; width: 100%; }
  .modal__head, .modal__body, .modal__foot { padding-left: 18px; padding-right: 18px; }
  .modal__foot { flex-wrap: wrap; }
  .bk-sum { flex-basis: 100%; order: -1; }
  .modal__foot .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.mine p.eyebrow { color: var(--coral-dark); font-size: .76rem; }
.modal__box { overflow: hidden; } .modal__body { min-width: 0; } .days { max-width: 100%; }
