/* bseen.se */
@font-face { font-family: Outfit; font-weight: 300; font-display: swap; src: url(../fonts/outfit-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: Outfit; font-weight: 400; font-display: swap; src: url(../fonts/outfit-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: Outfit; font-weight: 600; font-display: swap; src: url(../fonts/outfit-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: Outfit; font-weight: 700; font-display: swap; src: url(../fonts/outfit-latin-700-normal.woff2) format("woff2"); }

:root {
  --coral: #FF5A5A;
  --coral-text: #C2413F;   /* korall som klarar kontrast på ljus botten */
  --ink: #141414;
  --paper: #F6F5F2;
  --white: #FFFFFF;
  --muted: #55524D;
  --muted-dark: #BDBDBD;
  --line: #E7E4DE;
  --radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: Outfit, system-ui, sans-serif; font-weight: 400; color: var(--ink); background: var(--paper); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.12; }
h1 { font-size: clamp(2.4rem, 5vw, 4.25rem); }
h2 { font-size: clamp(2rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; }
a { color: var(--coral-text); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 760px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.coral { color: var(--coral); }
.muted { color: var(--muted); font-size: 1.125rem; line-height: 1.6; }
.lead { font-size: 1.2rem; line-height: 1.6; color: var(--muted-dark); max-width: 560px; }
.eyebrow { color: var(--coral); letter-spacing: .12em; text-transform: uppercase; font-size: .95rem; }
.eyebrow--dark { color: var(--coral-text); }

/* Knappar */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 26px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 1.05rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 1rem; }
.btn--coral { background: var(--coral); color: var(--ink); }
.btn--coral:hover { background: #FF7373; color: var(--ink); }
.btn--ghost { border-color: #555; color: var(--white); }
.btn--ghost:hover { border-color: var(--white); color: var(--white); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { color: var(--white); background: #2A2A2A; }
.btn--ghost-dark { border-color: #555; color: var(--white); background: transparent; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* Topp */
.topbar { background: var(--ink); color: var(--white); position: relative; z-index: 30; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.topbar__logo { position: relative; }
.topbar__logo img { width: 132px; }
.nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav__list a { color: var(--white); text-decoration: none; padding: 10px 0; display: block; }
.nav__list a:hover { color: var(--coral); }

/* Menyknapp (mobil): hamburgare som animeras till ett X */
.menu-btn { display: none; position: relative; z-index: 60; order: 3; align-items: center; justify-content: center; width: 48px; height: 48px; margin-right: -12px; padding: 0; background: none; border: 0; border-radius: 12px; color: var(--white); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.menu-btn:hover, .menu-btn[aria-expanded="true"] { color: var(--coral); }
.menu-btn:focus:not(:focus-visible) { outline: none; }
.menu-btn__icon { position: relative; width: 22px; height: 16px; }
.menu-btn__icon span { position: absolute; left: 0; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s cubic-bezier(.68,-.4,.27,1.4), opacity .2s, top .2s .15s, width .25s; }
.menu-btn__icon span:nth-child(1) { top: 0; }
.menu-btn__icon span:nth-child(2) { top: 7px; width: 16px; right: 0; left: auto; }
.menu-btn__icon span:nth-child(3) { top: 14px; }
.menu-btn[aria-expanded="true"] .menu-btn__icon span { transition: top .2s, transform .35s cubic-bezier(.68,-.4,.27,1.4) .15s, opacity .2s, width .25s; }
.menu-btn[aria-expanded="true"] .menu-btn__icon span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon span:nth-child(2) { opacity: 0; width: 0; }
.menu-btn[aria-expanded="true"] .menu-btn__icon span:nth-child(3) { top: 7px; transform: rotate(-45deg); }
.nav-backdrop { display: none; }

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  /* Menyn glider in från höger och täcker hela höjden. En kant till vänster lämnas fri – klick där stänger. */
  .nav { position: fixed; top: 0; right: 0; bottom: 0; z-index: 50; width: min(86vw, 400px); flex-direction: column; align-items: stretch; gap: 0; margin: 0;
         padding: 100px 28px 32px; background: var(--ink); border-left: 1px solid #2A2A2A; box-shadow: -20px 0 50px rgba(0,0,0,.45); overflow-y: auto;
         transform: translateX(100%); visibility: hidden; transition: transform .38s cubic-bezier(.22,1,.36,1), visibility 0s linear .38s; }
  .topbar.is-open .nav { transform: translateX(0); visibility: visible; transition: transform .38s cubic-bezier(.22,1,.36,1), visibility 0s; }
  .nav-backdrop { display: block; position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.55); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s; }
  .topbar.is-open .nav-backdrop { opacity: 1; visibility: visible; transition: opacity .3s, visibility 0s; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li { opacity: 0; transform: translateX(24px); transition: opacity .3s, transform .3s; }
  .topbar.is-open .nav__list li { opacity: 1; transform: none; }
  .topbar.is-open .nav__list li:nth-child(1) { transition-delay: .12s; }
  .topbar.is-open .nav__list li:nth-child(2) { transition-delay: .17s; }
  .topbar.is-open .nav__list li:nth-child(3) { transition-delay: .22s; }
  .topbar.is-open .nav__list li:nth-child(4) { transition-delay: .27s; }
  .nav__list a { padding: 18px 0; font-size: 1.3rem; font-weight: 600; border-bottom: 1px solid #2A2A2A; }
  .nav__cta { margin-top: 24px; width: 100%; min-height: 52px; font-size: 1.05rem; }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .nav, .nav-backdrop, .nav__list li, .menu-btn__icon span { transition: none !important; }
}
body.menu-open { overflow: hidden; }
@media (min-width: 901px) { body.menu-open { overflow: auto; } }

/* Hero */
.hero { background: var(--ink); color: var(--white); }
.hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 64px; padding-bottom: 104px; }
.hero__text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero__eye { flex: 1 1 260px; display: flex; justify-content: center; }
.hero__eye img, .hero__eye svg { width: min(360px, 70vw); height: auto; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sektioner */
.section { padding: 96px 0; }
.section--tight { padding-top: 0; }
.section--dark { background: var(--ink); color: var(--white); }
.section__head { display: flex; flex-direction: column; gap: 12px; max-width: 680px; margin-bottom: 40px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.card__icon { color: var(--coral); }
.card p { color: var(--muted); line-height: 1.6; }

.steps { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 40px; }
.steps li { flex: 1 1 260px; display: flex; flex-direction: column; gap: 12px; }
.steps p { color: var(--muted-dark); line-height: 1.6; }
.steps__n { width: 44px; height: 44px; border-radius: 999px; background: var(--coral); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; }

.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split > * { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.split--top { align-items: flex-start; }

.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; font-size: 1.125rem; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { color: var(--coral); flex: none; margin-top: 3px; }
.checks--sm { font-size: 1rem; gap: 10px; color: var(--muted); }

.prices { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; margin-bottom: 32px; }
.price { flex: 1 1 280px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.price__tag { font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.price__amount { font-size: 1.5rem; font-weight: 600; }
.price--dark { background: var(--ink); border-color: var(--ink); color: var(--white); }
.price--dark .price__tag { color: var(--coral); }
.price--dark .checks--sm { color: var(--muted-dark); }

/* Formulär */
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; color: var(--muted-dark); font-size: .95rem; }
.field input, .field textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid #4A4A4A; background: #1E1E1E; color: var(--white); font: inherit; font-size: 1rem; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--coral); outline: none; box-shadow: 0 0 0 3px rgba(255,90,90,.35); }
[aria-invalid="true"] { border-color: var(--coral) !important; }
.field__error { color: #FF8A8A; font-size: .9rem; }
.consentcheck { display: flex; gap: 10px; align-items: flex-start; color: var(--muted-dark); font-size: .95rem; }
.consentcheck input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--coral); flex: none; }
.section--dark a { color: var(--coral); }
.section--dark a:hover { color: var(--white); }
.section--dark a.btn--coral { color: var(--ink); }
.form .btn { align-self: flex-start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 16px 20px; border-radius: 12px; margin-bottom: 16px; line-height: 1.5; }
.notice--ok { background: rgba(255,90,90,.12); border: 1px solid var(--coral); color: var(--white); }
.notice--error { background: rgba(255,90,90,.12); border: 1px solid #FF8A8A; color: var(--white); }

/* Textsidor */
.prose h1 { margin-bottom: 8px; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.prose p, .prose li { line-height: 1.7; font-size: 1.05rem; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 20px; margin: 12px 0 0; display: flex; flex-direction: column; gap: 8px; }
.tablewrap { overflow-x: auto; margin: 16px 0; }
table { border-collapse: collapse; width: 100%; min-width: 520px; background: var(--white); border-radius: 12px; overflow: hidden; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { background: #EFEDE8; font-weight: 600; }
code { background: #EFEDE8; padding: 2px 6px; border-radius: 6px; }
.notfound { text-align: center; }
.notfound .wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; }

/* Sidfot */
.footer { background: var(--ink); color: #9A9A9A; border-top: 1px solid #2A2A2A; font-size: .95rem; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; padding-top: 28px; padding-bottom: 28px; }
.footer__inner > img { width: 120px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer a, .footer .linkbtn { color: #CFCFCF; }
.footer a:hover, .footer .linkbtn:hover { color: var(--coral); }

/* Skärmläsartext */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Text på ljus botten */
.lead--dark { color: var(--muted); }
.split p { color: var(--muted); font-size: 1.125rem; line-height: 1.6; }
.section--dark .split p { color: var(--muted-dark); }
.policy-who { margin-top: 12px; line-height: 1.7; }
.prose strong { font-weight: 600; }

/* Driftmeddelande överst */
.notice-bar { background: var(--coral); color: var(--ink); padding: 10px 0; font-weight: 600; text-align: center; }
.notice-bar a { color: var(--ink); }
.notice--mint { background: #BDEBD8; }
.notice--gul { background: #FFE27A; }

/* Underhållsläge */
.maint { background: var(--ink); color: var(--white); min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.maint__box { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 18px; }
.maint__box h1 { font-size: 2rem; }
.maint__box p { color: var(--muted-dark); }

/* Sidfotens sociala ikoner */
.footer__social { display: flex; gap: 14px; }
.footer__social a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid #333; }

/* Kakbanner */
.consent { position: fixed; z-index: 50; left: 16px; right: 16px; bottom: 16px; max-width: 540px; margin-left: auto; background: #1E1E1E; color: var(--white); border: 1px solid #333; border-radius: 20px; padding: 24px; box-shadow: 0 12px 40px rgba(0,0,0,.35); display: flex; flex-direction: column; gap: 12px; }
.consent[hidden] { display: none; }
.consent h2 { font-size: 1.25rem; }
.consent p { color: var(--muted-dark); line-height: 1.55; }
.consent a { color: var(--coral); }
.consent-opts { display: flex; flex-direction: column; gap: 8px; }
.consent-opts[hidden] { display: none; }
.c-opt { display: flex; gap: 10px; align-items: flex-start; color: var(--muted-dark); }
.c-opt input { width: 18px; height: 18px; accent-color: var(--coral); margin-top: 3px; }
.consent-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.consent-btns [hidden] { display: none; }

/* Referenser */
.refs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.refs a { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 130px; padding: 28px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s; }
.refs a:hover { border-color: var(--coral); transform: translateY(-2px); color: var(--ink); }
.refs img { max-width: 100%; max-height: 48px; width: auto; height: auto; }
.refs__name { font-size: 1.5rem; font-weight: 700; letter-spacing: -.01em; }
