/* ulricehamnskk.com – klubbens ansikte utåt. Helskärmsbilder som ingångar, klubbens blå. */
:root {
  --blue: #00AAD5; --blue-d: #0A7FA6; --navy: #0B3550; --ink: #10222E; --muted: #4F6472; --line: #D8E6EE; --soft: #EEF6FA; --bg: #fff; --err: #B42318; --ok: #0F7B4E;
  --font: "Montserrat", system-ui, sans-serif; --pad: 16px; --max: 1240px; --bar: 60px;
}
@media (min-width: 960px) { :root { --pad: 32px; --bar: 72px; } }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar) + 12px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 16px/1.55 var(--font); }
a { color: var(--blue-d); }
h1, h2, h3 { margin: 0; line-height: 1.08; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 10px 16px; border-radius: 10px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }

/* toppmeny */
.top { position: sticky; top: 0; z-index: 30; background: var(--blue); color: #fff; }
.top-in { height: var(--bar); display: flex; align-items: center; gap: 24px; max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.logo { display: inline-flex; color: #fff; }
.logo svg { height: 30px; width: auto; fill: currentColor; display: block; }
.nav { display: none; margin: 0 0 0 auto; padding: 0; list-style: none; gap: 28px; }
.nav a { color: #fff; text-decoration: none; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: #fff; }
.menu-btn { margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; display: grid; place-items: center; cursor: pointer; }
@media (min-width: 1000px) { .nav { display: flex; } .top .menu-btn { display: none; } .logo svg { height: 38px; } }
.menu { position: fixed; inset: 0; z-index: 60; background: var(--blue); color: #fff; padding: 7px var(--pad) 32px; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu-head { display: flex; justify-content: flex-end; }
.menu ul { list-style: none; margin: 24px 0 0; padding: 0; }
.menu li a { display: block; padding: 10px 0; color: #fff; text-decoration: none; font-size: 28px; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; }
.menu li a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }

/* bildpaneler */
.panel-img { position: absolute; inset: 0; background-size: cover; background-position: center 30%; }
.panel-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,22,34,.05) 30%, rgba(4,22,34,.55) 100%); }
.panel-img.has-img::after { background: linear-gradient(180deg, rgba(4,22,34,.15) 20%, rgba(4,22,34,.6) 100%); }
.hero { position: relative; min-height: calc(100svh - var(--bar)); display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
.hero .panel-img:not(.has-img) { background: radial-gradient(120% 80% at 80% 0%, #BDEBF7 0%, rgba(189,235,247,0) 55%), radial-gradient(90% 70% at 0% 100%, #0B3550 0%, rgba(11,53,80,0) 60%), linear-gradient(160deg, #6FD3EC 0%, #00AAD5 45%, #0A7FA6 100%); }
.hero-text { position: relative; z-index: 1; width: 100%; max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad) 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.hero h1 { font-size: clamp(46px, 13vw, 112px); line-height: .95; text-transform: uppercase; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero .sub { font-size: 17px; font-weight: 600; max-width: 36ch; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
@media (min-width: 960px) { .hero { min-height: max(560px, calc(100vh - var(--bar))); } .hero-text { padding-bottom: 72px; } .hero .sub { font-size: 20px; } }

.panels { display: flex; flex-direction: column; }
.panel { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; }
.panel { min-height: calc(100svh - var(--bar)); }
@media (min-width: 960px) { .panel { min-height: max(560px, calc(100vh - var(--bar))); } .panel h2 { font-size: clamp(44px, 5vw, 76px); } }
.panel-text { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 32px 20px; }
.panel h2 { font-size: clamp(30px, 8.5vw, 52px); text-transform: uppercase; text-shadow: 0 2px 20px rgba(0,0,0,.3); max-width: 16ch; }
.panel .sub { font-size: 15px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; text-shadow: 0 1px 10px rgba(0,0,0,.35); }
.panel .eyebrow { letter-spacing: .4em; font-weight: 600; font-size: 13px; }
.rings { width: 92px; height: 92px; color: #fff; margin-bottom: 4px; }
.p-parla .panel-img:not(.has-img) { background: radial-gradient(70% 60% at 50% 30%, #FFFFFF 0%, rgba(255,255,255,0) 60%), linear-gradient(170deg, #DCEBF8 0%, #8FB6E0 50%, #1846B0 100%); }
.p-parla .panel-img:not(.has-img)::after { background: linear-gradient(180deg, rgba(14,42,120,.05), rgba(14,42,120,.55)); }
.p-ice .panel-img:not(.has-img) { background: radial-gradient(40% 90% at 25% 0%, rgba(242,167,195,.55), rgba(242,167,195,0) 70%), radial-gradient(40% 90% at 75% 0%, rgba(217,178,92,.5), rgba(217,178,92,0) 70%), linear-gradient(180deg, #2A0E1C, #0F0E0C); }
.p-klubben .panel-img:not(.has-img) { background: radial-gradient(80% 60% at 20% 20%, rgba(0,170,213,.9), rgba(0,170,213,0) 60%), linear-gradient(200deg, #0A7FA6, #0B3550); }
.p-shop .panel-img:not(.has-img) { background: linear-gradient(135deg, #E9EEF1 0%, #C9D5DC 100%); }
.p-shop .panel-img:not(.has-img)::after { background: linear-gradient(180deg, rgba(4,22,34,.15), rgba(4,22,34,.5)); }

.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 2px solid #fff; color: #fff; text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-top: 8px; }
.pill:hover { background: rgba(255,255,255,.16); }
.pill.solid { background: #fff; color: var(--blue-d); }
.pill.solid:hover { background: var(--soft); }

/* undersidor */
.page-head { padding-top: 40px; padding-bottom: 24px; display: flex; flex-direction: column; gap: 12px; }
.page-head .eyebrow { color: var(--blue-d); }
.page-head h1 { font-size: clamp(36px, 9vw, 64px); text-transform: uppercase; }
.page-head p { font-size: 17px; color: var(--muted); max-width: 62ch; }
@media (min-width: 960px) { .page-head { padding-top: 64px; padding-bottom: 32px; } }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 2px solid var(--blue); background: var(--blue); color: #fff; font: 700 14px var(--font); letter-spacing: .04em; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--blue-d); border-color: var(--blue-d); }
.btn.ghost { background: transparent; color: var(--blue-d); }
.btn.ghost:hover { background: var(--soft); }
.btn[disabled] { opacity: .6; cursor: wait; }
.term-banner { background: var(--soft); border-left: 4px solid var(--blue); padding: 14px 16px; border-radius: 6px; font-weight: 600; margin-bottom: 16px; }
.gcards { display: grid; gap: 16px; }
@media (min-width: 900px) { .gcards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.gcard { border: 1px solid var(--line); border-radius: 10px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.gcard .eyebrow { color: var(--blue-d); }
.gcard h2 { font-size: 26px; text-transform: uppercase; }
.gcard p { color: var(--muted); }
.gcard .btn { margin-top: auto; }
.facts { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.facts:empty { display: none; }
.facts div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; font-size: 14.5px; }
.facts div.stack { grid-template-columns: 1fr; gap: 2px; }
.facts dt { color: var(--muted); font-weight: 600; } .facts dd { margin: 0; font-weight: 600; }
.closed { color: var(--err); font-weight: 700; font-size: 14.5px; }
.good { margin-top: 40px; background: var(--soft); border-radius: 10px; padding: 24px; }
.good h2 { font-size: 24px; text-transform: uppercase; margin-bottom: 12px; }
.good ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }

/* formulär */
.form-wrap { max-width: calc(640px + 2 * var(--pad)); display: flex; flex-direction: column; gap: 20px; }
.signup { display: flex; flex-direction: column; gap: 18px; }
.step { display: flex; flex-direction: column; gap: 18px; }
.step h2, .done h2 { font-size: 22px; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; counter-reset: s; }
.steps li { flex: 1; counter-increment: s; font-size: 12px; font-weight: 700; color: var(--muted); border-top: 4px solid var(--line); padding-top: 6px; text-transform: uppercase; letter-spacing: .06em; }
.steps li::before { content: counter(s) ". "; }
.steps li[aria-current="step"], .steps li.past { color: var(--blue-d); border-top-color: var(--blue); }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-weight: 700; font-size: 15px; padding: 0; margin-bottom: 2px; }
.field i { font-style: normal; font-weight: 500; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #B9CCD6; border-radius: 8px; font: 500 16px var(--font); color: var(--ink); background: #fff; }
input:focus, textarea:focus { border-color: var(--blue); outline: 3px solid rgba(0,170,213,.25); outline-offset: 0; }
[aria-invalid="true"] { border-color: var(--err) !important; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; padding: 6px 0; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--blue); }
.err { color: var(--err); font-weight: 700; background: #FEF3F2; padding: 12px 14px; border-radius: 8px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.reco, .gfacts { border: 2px solid var(--blue); border-radius: 10px; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--soft); }
.gfacts:empty { display: none; }
.reco h3, .gfacts h3 { font-size: 20px; text-transform: uppercase; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.done { border: 2px solid var(--ok); border-radius: 10px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.done ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }

/* om klubben, kontakt */
.prose { display: flex; flex-direction: column; gap: 16px; max-width: 68ch; font-size: 17px; }
.prose h2 { font-size: 24px; text-transform: uppercase; margin-top: 12px; }
.prose-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .prose-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; } }
.values { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.values li { padding: 14px 16px; background: var(--soft); border-left: 4px solid var(--blue); border-radius: 6px; font-weight: 700; }
.side { display: flex; flex-direction: column; gap: 12px; }
.side-card { display: flex; flex-direction: column; gap: 4px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); }
.side-card:hover { border-color: var(--blue); }
.side-card b { font-size: 17px; } .side-card span { color: var(--muted); font-size: 15px; }
.cards2 { display: grid; gap: 16px; }
@media (min-width: 800px) { .cards2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card { border: 1px solid var(--line); border-radius: 10px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.card h2 { font-size: 19px; }
.card a { font-weight: 700; word-break: break-word; }

.foot { margin-top: 56px; background: var(--navy); color: #D5E6EF; }
.foot-in { max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 32px var(--pad) 40px; display: flex; flex-direction: column; gap: 20px; font-size: 14px; }
.foot-in > div:first-child { display: flex; flex-direction: column; gap: 4px; }
.foot b { color: #fff; font-size: 15px; }
.foot-links { display: flex; flex-direction: column; gap: 10px; }
.foot a { color: #fff; }
@media (min-width: 960px) { .foot-in { flex-direction: row; justify-content: space-between; } .foot-links { flex-direction: row; flex-wrap: wrap; gap: 24px; justify-content: flex-end; } }
[data-page="start"] .foot { margin-top: 0; }
