/* =============================================================================
   X Brandutbildarna — design system
   Editorial, photo-led, restrained. Matched 1:1 to the printed brochure:
   light "paper" body, dark ink hero/footer, one clean red accent.
   Fonts: Oswald (display) + Barlow (text).
   ============================================================================= */

:root {
  --red:      #E30613;
  --red-dk:   #B5050F;
  --ink:      #141414;
  --ink-2:    #1e1e1e;
  --ink-3:    #2a2a2a;
  --paper:    #f3f2ee;
  --paper-2:  #eceae3;
  --white:    #ffffff;
  --text:     #1c1c1c;
  --text-2:   #4a4a4a;
  --muted:    #6c6c6c;
  --muted-d:  #9a9a98;   /* muted on dark */
  --line:     #e2e0da;
  --line-d:   #333333;   /* line on dark */

  --font-display: 'Oswald', 'Arial Narrow', system-ui, sans-serif;
  --font-text: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: 1200px;
  --wide: 1320px;
  --section-y: clamp(3.5rem, 7vw, 6.5rem);
  --shadow: 0 18px 40px -24px rgba(0,0,0,.35);
  --shadow-card: 0 12px 28px -18px rgba(0,0,0,.28);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-text);
  background: var(--paper);
  color: var(--text);
  line-height: 1.6;
  font-size: clamp(1rem, .4vw + .92rem, 1.06rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 200; background: var(--red); color: #fff; padding: .7rem 1.1rem; }
.skip-link:focus { top: 1rem; }

/* ---------- layout ---------- */
.container { width: min(100% - 2.6rem, var(--container)); margin-inline: auto; }
.container--wide { width: min(100% - 2.6rem, var(--wide)); }
.container--narrow { width: min(100% - 2.6rem, 860px); }
.section { padding-block: var(--section-y); }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--ink { background: var(--ink); color: #ece9e4; }

/* ---------- typography / shared bits ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.02; text-transform: uppercase; letter-spacing: .2px; }
.accent { color: var(--red); }

/* kicker: short red bar + spaced uppercase label (brochure motif) */
.kicker { display: inline-flex; align-items: center; font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: .28em; font-size: .78rem; color: var(--red); }
.kicker:empty { display: none; }
.kicker--ondark { color: #fff; }

/* section heading with red underline rule */
.head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.head__title { font-size: clamp(1.9rem, 4.4vw, 3.05rem); color: #161616; margin-top: 1rem; }
.section--ink .head__title { color: #fff; }
.head__rule { display: block; width: 64px; height: 4px; background: var(--red); margin-top: 1.1rem; }
.head__lead { margin-top: 1.2rem; color: var(--text-2); font-size: 1.08rem; max-width: 60ch; }
.section--ink .head__lead { color: #c6c4c0; }
.head--center { margin-inline: auto; text-align: center; }
.head--center .head__rule { margin-inline: auto; }

/* ---------- buttons (sharp, editorial) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.6rem; font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; font-size: .92rem; border: 2px solid transparent; border-radius: 2px;
  transition: background .2s var(--ease), color .2s, border-color .2s, transform .15s var(--ease); }
.btn svg { width: 1.05em; height: 1.05em; transition: transform .2s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dk); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--lg { padding: 1.1rem 2rem; font-size: 1rem; }
.btn--sm { padding: .6rem 1rem; font-size: .82rem; }
.btn--block { width: 100%; }

/* =============================================================================
   Topbar + header
   ============================================================================= */
.topbar { background: #0e0e0e; color: #b9b7b3; font-size: .82rem; border-bottom: 1px solid var(--line-d); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: .5rem; }
.topbar__item { display: inline-flex; align-items: center; gap: .45rem; letter-spacing: .04em; }
.topbar__links { display: flex; gap: 1.4rem; }
.topbar a { display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: #fff; }
.topbar svg { width: .95em; height: .95em; color: var(--red); }
@media (max-width: 680px) { .topbar__item { display: none; } .topbar__inner { justify-content: center; } }

.site-header { position: sticky; top: 0; z-index: 100; background: var(--ink); border-bottom: 1px solid var(--line-d); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .85rem; }
.brand-logo { height: 38px; width: auto; display: block; }
.brand-logo--footer { height: 34px; }

.nav { display: flex; align-items: center; }
.nav__menu { display: flex; align-items: center; gap: .25rem; }
.nav__menu a:not(.btn) { display: block; padding: .55rem .8rem; font-family: var(--font-display); font-weight: 500;
  text-transform: uppercase; letter-spacing: .05em; font-size: .86rem; color: #cfcdc9; transition: color .2s; }
.nav__menu a:not(.btn):hover, .nav__menu a[aria-current] { color: #fff; }
.nav__cta { margin-left: .6rem; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: .5rem; }
.nav__toggle span { width: 24px; height: 2px; background: #fff; transition: transform .25s var(--ease), opacity .2s; }

@media (max-width: 940px) {
  .nav__toggle { display: flex; }
  .nav__menu { position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px); flex-direction: column; align-items: stretch;
    gap: .1rem; background: var(--ink-2); border-left: 1px solid var(--line-d); padding: 5.5rem 1.3rem 2rem;
    transform: translateX(100%); transition: transform .32s var(--ease); }
  .nav__menu a:not(.btn) { padding: .9rem .6rem; font-size: 1.05rem; border-bottom: 1px solid var(--line-d); }
  .nav__cta { margin: 1rem 0 0; }
  .nav__cta .btn { width: 100%; }
  body.nav-open .nav__menu { transform: translateX(0); }
  body.nav-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav__toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* =============================================================================
   Hero — full-bleed photo + dark shade + text (brochure front)
   ============================================================================= */
.hero { position: relative; background: #0a0a0b; color: #fff; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 28%; filter: grayscale(.18) contrast(1.04); }
/* strong directional scrim so the left content is crisp regardless of the photo */
.hero__scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(8,8,9,.97) 0%, rgba(8,8,9,.93) 26%, rgba(8,8,9,.74) 44%, rgba(8,8,9,.34) 64%, rgba(8,8,9,.06) 100%),
    linear-gradient(0deg, rgba(8,8,9,.92) 0%, rgba(8,8,9,.3) 26%, rgba(8,8,9,0) 50%); }
.hero__vignette { position: absolute; inset: 0; z-index: 1; pointer-events: none; box-shadow: inset 0 0 220px 60px rgba(0,0,0,.55); }
.hero__rail { position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--red); z-index: 2; }
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,1fr) clamp(330px, 30vw, 440px);
  gap: clamp(2rem, 4vw, 3.5rem); align-items: center; min-height: max(560px, calc(100svh - 64px)); padding-block: clamp(3rem, 6vw, 5rem); }
.hero__content { max-width: 680px; }
.hero__kicker { display: inline-flex; align-items: center; gap: 1rem; font-family: var(--font-display); font-weight: 500;
  text-transform: uppercase; letter-spacing: .32em; font-size: .8rem; color: #fff; margin-bottom: 1.5rem; }
.hero__kicker::before { content: ""; width: 38px; height: 3px; background: var(--red); }
.hero__dash { display: block; width: 56px; height: 4px; background: var(--red); margin-bottom: 1.5rem; }
.hero__pre { display: block; font-family: var(--font-text); font-weight: 500; text-transform: none; letter-spacing: 0;
  font-size: clamp(1rem, 1.4vw, 1.25rem); color: #d6d4d0; margin-bottom: .55rem; }
.hero__title { font-weight: 700; line-height: 1; letter-spacing: -.5px; font-size: clamp(2.6rem, 5.2vw, 4.5rem);
  text-shadow: 0 2px 30px rgba(0,0,0,.45); }
.hero__title .accent { color: var(--red); }
.hero__rule { width: 84px; height: 5px; background: var(--red); margin: 1.5rem 0 1.4rem; }
.hero__sub { font-size: clamp(1.06rem, 1.5vw, 1.3rem); color: #e7e5e1; font-weight: 400; max-width: 50ch; line-height: 1.5; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

/* hero trust badges (Heta Arbeten® / SVEBRA / ID06) – brochure-styled */
.hero__trust { display: flex; flex-wrap: wrap; gap: 0; margin-top: 2.6rem; border: 1px solid rgba(255,255,255,.18);
  background: rgba(10,10,11,.5); backdrop-filter: blur(4px); width: fit-content; max-width: 100%; }
.hero__trust li { display: flex; align-items: center; gap: .7rem; padding: .8rem 1.25rem; border-right: 1px solid rgba(255,255,255,.14); }
.hero__trust li:last-child { border-right: 0; }
.hero__trust svg { width: 1.35em; height: 1.35em; color: var(--red); flex: none; }
.hero__trust .nm { display: block; font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: #fff; text-transform: uppercase; letter-spacing: .03em; line-height: 1.1; }
.hero__trust .by { display: block; font-size: .72rem; color: #aeaca8; }
@media (max-width: 560px) { .hero__trust { width: 100%; } .hero__trust li { flex: 1 1 100%; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); } .hero__trust li:last-child { border-bottom: 0; } }

/* "Nästa öppna kurs" card — floats over the hero, opens the modal */
.nextcourse { z-index: 3; width: 340px; max-width: 100%; justify-self: start;
  background: var(--white); color: var(--text); box-shadow: 0 34px 70px -26px rgba(0,0,0,.75); border: 1px solid rgba(0,0,0,.06);
  text-align: left; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s; }
.nextcourse:hover { transform: translateY(-4px); box-shadow: 0 42px 80px -28px rgba(0,0,0,.8); }
.nextcourse:hover .nextcourse__go { background: var(--red-dk); }
.nextcourse__top { display: flex; align-items: center; gap: .55rem; padding: .8rem 1.3rem; background: var(--ink); color: #fff; }
.nextcourse__top svg { width: 1.1em; height: 1.1em; color: var(--red); }
.nextcourse__top span { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; }
.nextcourse__top .live { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: #3ad07a; box-shadow: 0 0 0 0 rgba(58,208,122,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(58,208,122,.5)} 70%{box-shadow:0 0 0 7px rgba(58,208,122,0)} 100%{box-shadow:0 0 0 0 rgba(58,208,122,0)} }
.nextcourse__body { padding: 1.25rem 1.3rem 1.3rem; }
.nextcourse__course { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: .92rem; color: var(--muted); letter-spacing: .02em; }
.nextcourse__date { font-family: var(--font-display); font-weight: 700; font-size: 2.1rem; color: #161616; line-height: 1; margin-top: .3rem; text-transform: uppercase; }
.nextcourse__sub { font-size: .85rem; color: var(--muted); margin-top: .4rem; }
.nextcourse__row { display: flex; align-items: baseline; justify-content: space-between; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.nextcourse__price strong { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: #161616; }
.nextcourse__price span { font-size: .8rem; color: var(--muted); }
.nextcourse__seats { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 600; color: #1c7a3e; }
.nextcourse__seats svg { width: 1em; height: 1em; }
.nextcourse__go { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: 1.1rem; padding: .85rem;
  background: var(--red); color: #fff; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: .9rem; transition: background .2s; }
.nextcourse__go svg { width: 1.05em; height: 1.05em; }
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; align-items: start; }
  .nextcourse { width: 100%; max-width: 400px; margin-top: 2.2rem; box-shadow: var(--shadow); }
  .nextcourse:hover { transform: none; }
}
/* on short/landscape the stacked content can exceed the viewport – let it grow */
@media (max-width: 1100px) and (max-height: 760px) {
  .hero__inner { min-height: 0; }
}

/* =============================================================================
   Modal (next course)
   ============================================================================= */
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: clamp(1rem, 4vw, 2rem); }
.modal__backdrop { position: absolute; inset: 0; background: rgba(8,8,10,.72); backdrop-filter: blur(5px); }
.modal__panel { position: relative; z-index: 1; width: min(560px, 100%); max-height: 88vh; overflow: auto; background: var(--white);
  color: var(--text); border-top: 5px solid var(--red); box-shadow: 0 50px 90px -25px rgba(0,0,0,.7); }
@media (prefers-reduced-motion: no-preference) { .modal:not([hidden]) .modal__panel { animation: modalin .32s var(--ease); } }
@keyframes modalin { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.7rem 1.7rem .4rem; }
.modal__eyebrow { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; color: var(--red); }
.modal__title { font-size: 1.7rem; color: #161616; margin-top: .4rem; }
.modal__close { flex: none; width: 40px; height: 40px; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; font-size: 1.4rem; line-height: 1; color: #444; transition: background .2s, color .2s; }
.modal__close:hover { background: var(--ink); color: #fff; }
.modal__body { padding: .8rem 1.7rem 1.7rem; }
.modal__lead { color: var(--text-2); }
.modal__incl { display: grid; gap: .5rem; margin: 1.2rem 0; }
.modal__incl li { display: flex; gap: .6rem; font-size: .95rem; color: var(--text-2); }
.modal__incl svg { width: 1.05em; height: 1.05em; color: var(--red); flex: none; margin-top: .2rem; }
.modal__sub { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; font-size: .9rem; color: #161616; margin: 1.3rem 0 .8rem; }
.modal__date { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-left: 4px solid var(--red); margin-bottom: .7rem; }
.modal__date .d { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: #161616; text-transform: uppercase; }
.modal__date .m { font-size: .82rem; color: var(--muted); }
.modal__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; margin-top: 1.3rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.modal__price strong { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: #161616; }
.modal__price span { font-size: .82rem; color: var(--muted); }

/* =============================================================================
   Problem (stakes) — dark ink section
   ============================================================================= */
.stakes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.stake { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--red); padding: 1.6rem 1.5rem; }
.stake__ic { display: grid; place-items: center; width: 48px; height: 48px; background: rgba(227,6,19,.1); color: var(--red); margin-bottom: 1.1rem; }
.stake__ic svg { width: 1.5em; height: 1.5em; }
.stake h3 { font-size: 1.2rem; color: #161616; }
.stake p { margin-top: .6rem; color: var(--text-2); font-size: .97rem; }
@media (max-width: 800px) { .stakes { grid-template-columns: 1fr; gap: 1.2rem; } }

/* =============================================================================
   Lösning — three simple steps
   ============================================================================= */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step { background: var(--white); border: 1px solid var(--line); padding: 1.8rem 1.6rem; position: relative; }
.step__num { display: inline-grid; place-items: center; width: 54px; height: 54px; background: var(--ink); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; }
.step h3 { font-size: 1.3rem; color: #161616; margin-top: 1.1rem; }
.step p { margin-top: .55rem; color: var(--text-2); font-size: .98rem; }
.step__arrow { position: absolute; top: 2.6rem; right: -1.05rem; z-index: 2; color: var(--red); background: var(--paper); }
.step__arrow svg { width: 1.6rem; height: 1.6rem; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } .step__arrow { display: none; } }

/* =============================================================================
   Resultat (change) — outcomes on ink
   ============================================================================= */
.results__lead { font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-family: var(--font-display); font-weight: 500; color: #fff;
  text-transform: none; line-height: 1.3; max-width: 24ch; }
.outcomes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); }
.outcome { display: flex; align-items: center; gap: .9rem; background: var(--ink); padding: 1.3rem 1.4rem; }
.outcome svg { width: 1.5em; height: 1.5em; color: var(--red); flex: none; }
.outcome strong { display: block; color: #fff; font-weight: 600; }
.outcome span { font-size: .88rem; color: #9a9a98; }
.results__grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(2rem,5vw,4rem); align-items: center; }
@media (max-width: 800px) { .results__grid { grid-template-columns: 1fr; } .outcomes { grid-template-columns: 1fr; } }

/* =============================================================================
   Courses (brochure back cards: photo / body / dark price bar / incl row)
   ============================================================================= */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.course-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow-card); transition: transform .25s var(--ease), box-shadow .25s; }
.course-card:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -28px rgba(0,0,0,.4); }
.course-card__photo { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.course-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.course-card:hover .course-card__photo img { transform: scale(1.04); }
.course-card__badge { position: absolute; top: 0; left: 0; background: var(--red); color: #fff; font-family: var(--font-display);
  font-weight: 600; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; padding: .5rem 1rem; }
.course-card__body { padding: 1.6rem 1.5rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.course-card__kurs { font-family: var(--font-display); font-weight: 600; font-size: .76rem; letter-spacing: .26em;
  text-transform: uppercase; color: var(--red); }
.course-card__title { font-size: 1.55rem; color: #161616; margin-top: .45rem; }
.course-card__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; margin-top: .9rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.course-card__meta li { display: inline-flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .9rem; font-weight: 500; }
.course-card__meta svg { width: 1.05em; height: 1.05em; color: var(--red); flex: none; }
.course-card__desc { margin-top: 1rem; color: var(--text-2); font-size: .96rem; flex: 1; }
.course-card__price { display: flex; align-items: baseline; gap: .5rem; background: var(--ink); color: #fff; padding: 1.05rem 1.5rem; }
.course-card__price .pre { font-size: .9rem; color: #b9b7b3; font-weight: 500; }
.course-card__price .amt { font-family: var(--font-display); font-weight: 700; font-size: 1.85rem; color: #fff; white-space: nowrap; }
.course-card__price .per { font-size: .9rem; color: #b9b7b3; font-weight: 500; }
.course-card__price .spacer { flex: 1; }
.course-card__price .btn { padding: .55rem .95rem; font-size: .8rem; }
.course-card__incl { display: flex; align-items: center; gap: .7rem; padding: .95rem 1.5rem; background: var(--white); border-top: 1px solid var(--line); }
.course-card__incl svg { width: 1.05em; height: 1.05em; color: var(--red); flex: none; }
.course-card__incl span { font-size: .9rem; color: #3d3d3d; font-weight: 500; }
@media (max-width: 920px) { .course-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* =============================================================================
   Dates (kurstillfällen) — clean editorial rows on paper
   ============================================================================= */
.dates { display: grid; gap: .9rem; }
.dates__row { display: grid; grid-template-columns: 160px 1fr auto auto; align-items: center; gap: 1.4rem;
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--red); padding: 1.15rem 1.5rem;
  transition: box-shadow .2s, transform .2s var(--ease); }
.dates__row:hover { box-shadow: var(--shadow-card); transform: translateX(3px); }
.dates__date { display: flex; flex-direction: column; }
.dates__day { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: #161616; text-transform: uppercase; }
.dates__weekday { font-size: .82rem; color: var(--muted); }
.dates__course { font-weight: 600; color: #222; }
.dates__where { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; color: var(--muted); margin-top: .15rem; }
.dates__where svg { width: 1em; height: 1em; color: var(--red); }
.dates__status { display: flex; flex-direction: column; align-items: flex-end; gap: .3rem; }
.dates__seats { display: inline-flex; align-items: center; gap: .35rem; font-size: .82rem; font-weight: 600; color: #1c7a3e; }
.dates__seats svg { width: 1em; height: 1em; }
.dates__price { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: #161616; }
.dates__empty, .dates__foot { color: var(--text-2); }
.dates__foot { margin-top: 1.4rem; }
.dates__foot a, .dates__empty a { color: var(--red); font-weight: 600; border-bottom: 1px solid transparent; }
.dates__foot a:hover, .dates__empty a:hover { border-color: var(--red); }
.dates--compact .dates__row { grid-template-columns: 130px 1fr auto; padding: .95rem 1.2rem; }
.dates--compact .dates__info { display: none; }
@media (max-width: 760px) {
  .dates__row, .dates--compact .dates__row { grid-template-columns: 1fr auto; row-gap: .8rem; }
  .dates__status { flex-direction: row; align-items: center; gap: .9rem; grid-column: 1 / -1; justify-content: space-between; }
  .dates__row .btn { grid-column: 1 / -1; width: 100%; }
}

/* =============================================================================
   About (photo + "varför välja oss" tick list — brochure front body)
   ============================================================================= */
.about { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about__photo { position: relative; }
.about__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; border-bottom: 5px solid var(--red); }
.about__caption { position: absolute; left: 0; bottom: 5px; background: var(--red); color: #fff; font-family: var(--font-display);
  font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; padding: .5rem 1.1rem; }
.about__text p { color: var(--text-2); margin-top: 1.1rem; }
.about__lead { font-size: 1.18rem; color: #222; font-weight: 500; }
.ticks { display: grid; gap: 0; margin-top: 1.6rem; }
.ticks li { display: flex; align-items: center; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.ticks li:last-child { border-bottom: 0; }
.ticks__mark { flex: none; width: 26px; height: 26px; background: var(--red); display: grid; place-items: center; }
.ticks__mark svg { width: 15px; height: 15px; fill: #fff; }
.ticks li span:last-child { font-weight: 500; color: #262626; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about__photo { max-width: 520px; } }

/* stat band (kept minimal) */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); margin-top: 2.5rem; }
.stats__item { background: var(--ink); padding: 1.5rem 1.2rem; text-align: center; }
.stats__item strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 2.1rem; color: #fff; line-height: 1; }
.stats__item span { display: block; margin-top: .45rem; font-size: .85rem; color: var(--muted-d); }
.stats__item--red { background: var(--red); }
.stats__item--red span { color: rgba(255,255,255,.85); }
@media (max-width: 620px) { .stats { grid-template-columns: 1fr 1fr; } }

/* =============================================================================
   Areas (local-SEO links) — clean list, not chips-soup
   ============================================================================= */
.areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.area-link { display: flex; align-items: center; gap: .7rem; background: var(--white); padding: 1rem 1.2rem; font-weight: 500; color: #2a2a2a;
  transition: background .18s, color .18s; }
.area-link svg { width: 1.05em; height: 1.05em; color: var(--red); flex: none; }
.area-link:hover { background: var(--ink); color: #fff; }
.area-link:hover svg { color: #fff; }
.area-link--all { background: var(--red); color: #fff; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.area-link--all svg { color: #fff; }
.area-link--all:hover { background: var(--red-dk); }

/* =============================================================================
   FAQ — clean accordion on white
   ============================================================================= */
.faq { display: grid; gap: .8rem; }
.faq__item { background: var(--white); border: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.4rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; text-transform: uppercase; color: #1c1c1c;
  list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq__sign { flex: none; width: 22px; height: 22px; position: relative; }
.faq__sign::before, .faq__sign::after { content: ""; position: absolute; background: var(--red); transition: transform .25s var(--ease); }
.faq__sign::before { top: 10px; left: 2px; right: 2px; height: 2px; }
.faq__sign::after { left: 10px; top: 2px; bottom: 2px; width: 2px; }
.faq__item[open] .faq__sign::after { transform: scaleY(0); }
.faq__a { padding: 0 1.4rem 1.3rem; color: var(--text-2); }
@media (prefers-reduced-motion: no-preference) { .faq__item[open] .faq__a { animation: fade .3s var(--ease); } }
@keyframes fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* =============================================================================
   Booking form (ink section)
   ============================================================================= */
.book { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.book__contact { display: grid; gap: 1rem; margin-top: 1.8rem; }
.book__contact li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; }
.book__ic { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--red); display: grid; place-items: center; }
.book__ic svg { width: 1.2rem; height: 1.2rem; fill: #fff; }
.book__contact .lab { display: block; font-family: var(--font-display); font-weight: 600; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-d); }
.book__contact .val { display: block; color: #f1f0ed; font-weight: 500; }
.book__contact a.val:hover { color: var(--red); }

.bform { background: var(--white); color: var(--text); padding: clamp(1.5rem, 3vw, 2.3rem); border-top: 4px solid var(--red); }
.bform__lead { font-weight: 600; color: #222; margin-bottom: 1.2rem; font-size: 1.02rem; }
.bform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field .req { color: var(--red); }
.field .opt { color: var(--muted); font-weight: 400; }
.bform .btn--block { margin-top: .4rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.field label { font-size: .82rem; font-weight: 600; color: #333; }
.field input, .field select, .field textarea { font: inherit; color: var(--text); background: #fafafa; border: 1px solid var(--line);
  border-radius: 2px; padding: .8rem .9rem; width: 100%; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(227,6,19,.14); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E30613' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 1.05rem; padding-right: 2.6rem; }
.bform__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: .4rem; }
.bform__note { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--muted); margin-top: .9rem; }
.bform__note svg { width: 1.1em; height: 1.1em; color: var(--red); flex: none; }
.bform__status { margin-top: 1rem; padding: 1rem 1.2rem; border-radius: 2px; font-size: .98rem; font-weight: 600; }
.bform__status.is-ok { background: #eaf6ee; border: 1px solid #8fcca4; border-left: 4px solid #1c7a3e; color: #156233; }
.bform__status.is-err { background: #fdeceb; border: 1px solid #f3c4c1; border-left: 4px solid var(--red); color: #b5050f; }
@media (max-width: 860px) { .book { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .bform__row { grid-template-columns: 1fr; } }

/* =============================================================================
   Footer (ink)
   ============================================================================= */
.site-footer { background: var(--ink); color: #c9c7c2; border-top: 4px solid var(--red); }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1.1fr; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 4.5rem); }
.site-footer p { font-size: .92rem; margin-top: 1rem; color: #b3b1ac; }
.site-footer__org { font-size: .82rem; color: var(--muted); }
.site-footer h3 { font-size: .95rem; color: #fff; letter-spacing: .08em; }
.site-footer__links { margin-top: 1.1rem; display: grid; gap: .55rem; }
.site-footer__links--cols { grid-template-columns: 1fr 1fr; }
.site-footer a:not(.btn) { color: #b3b1ac; font-size: .9rem; transition: color .2s; }
.site-footer a:not(.btn):hover { color: var(--red); }
.site-footer__links--cols a { white-space: nowrap; }
.site-footer__contact { margin-top: 1.1rem; display: grid; gap: .8rem; }
.site-footer__contact li { display: flex; gap: .55rem; font-size: .9rem; }
.site-footer__contact svg { width: 1.05em; height: 1.05em; color: var(--red); flex: none; margin-top: .15rem; }
.site-footer__col > .btn { margin-top: 1.4rem; }
.site-footer__bar { border-top: 1px solid var(--line-d); }
.site-footer__bar-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; padding-block: 1.2rem; font-size: .82rem; color: var(--muted); }
.site-footer__bar-inner .certs { color: #cfcdc9; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; } }

/* =============================================================================
   Breadcrumbs + location pages
   ============================================================================= */
.crumbs { background: var(--ink-2); color: #b3b1ac; font-size: .84rem; border-bottom: 1px solid var(--line-d); }
.crumbs .container { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding-block: .8rem; }
.crumbs a:hover { color: #fff; }
.crumbs svg { width: .85em; height: .85em; color: var(--red); }
.crumbs [aria-current] { color: #fff; }

.loc-hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; border-bottom: 4px solid var(--red); }
.loc-hero__glow { position: absolute; right: -12%; top: -40%; width: 50vw; height: 50vw; max-width: 600px; max-height: 600px;
  background: radial-gradient(circle, rgba(227,6,19,.30) 0%, rgba(227,6,19,0) 66%); }
.loc-hero__inner { position: relative; z-index: 2; padding-block: clamp(2.8rem, 6vw, 4.5rem); max-width: 880px; }
.loc-hero__title { font-weight: 700; font-size: clamp(2.4rem, 7vw, 4.2rem); margin-top: 1rem; }
.loc-hero__lead { margin-top: 1.1rem; color: #c9c7c2; font-size: 1.1rem; max-width: 62ch; }
.loc-hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

.loc-grid { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: clamp(2rem,4vw,3rem); align-items: start; }
.loc-main h2 { font-size: clamp(1.5rem, 3.2vw, 2.05rem); color: #161616; margin-top: 2.4rem; }
.loc-main h2:first-child { margin-top: 0; }
.loc-main p { color: var(--text-2); margin-top: 1rem; }
.loc-main strong { color: #222; }
.loc-box { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--red); padding: clamp(1.3rem,3vw,1.9rem); margin-top: 1.8rem; box-shadow: var(--shadow-card); }
.loc-box__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.loc-box__head h3 { font-size: 1.35rem; color: #161616; }
.loc-box__price { text-align: right; }
.loc-box__price .amt { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--red); display: block; }
.loc-box__price small { font-size: .78rem; color: var(--muted); }
.loc-box__meta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.loc-box__meta span { display: inline-flex; align-items: center; gap: .55rem; font-size: .92rem; font-weight: 600; color: #2a2a2a;
  background: rgba(227,6,19,.06); border: 1px solid rgba(227,6,19,.18); padding: .5rem .9rem; border-radius: 3px; }
.loc-box__meta svg { width: 1.4em; height: 1.4em; color: var(--red); flex: none; }
.loc-box__bullets { display: grid; gap: .5rem; margin-top: 1.2rem; }
.loc-box__bullets li { display: flex; gap: .6rem; color: var(--text-2); font-size: .95rem; }
.loc-box__bullets svg { width: 1.05em; height: 1.05em; color: var(--red); flex: none; margin-top: .2rem; }
.loc-box__dates { margin-top: 1.4rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.loc-box__dates h4 { display: inline-flex; align-items: center; gap: .5rem; font-size: .95rem; color: #161616; margin-bottom: .9rem; }
.loc-box__dates svg { width: 1.05em; height: 1.05em; color: var(--red); }
.loc-box__cta { margin-top: 1.5rem; width: 100%; }

.loc-courses { display: grid; gap: .8rem; margin-top: 1.2rem; }
.loc-courses li { display: flex; align-items: center; gap: 1rem; background: var(--white); border: 1px solid var(--line); padding: 1rem 1.2rem; }
.loc-courses__num { flex: none; width: 38px; height: 38px; background: var(--ink); color: #fff; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; }
.loc-courses li strong { display: block; color: #1c1c1c; }
.loc-courses li span { font-size: .88rem; color: var(--muted); }
.loc-main .faq { margin-top: 1.2rem; }

.loc-side { position: sticky; top: 96px; display: grid; gap: 1.2rem; }
.loc-side__cta { background: var(--ink); color: #fff; padding: 1.6rem; }
.loc-side__cta h3 { color: #fff; font-size: 1.25rem; }
.loc-side__cta p { color: #c9c7c2; font-size: .92rem; margin: .6rem 0 1.1rem; }
.loc-side__cta .btn { margin-bottom: .6rem; }
.loc-side__nap { background: var(--white); border: 1px solid var(--line); padding: 1.6rem; }
.loc-side__nap h4 { display: inline-flex; align-items: center; gap: .5rem; font-size: .95rem; color: #161616; }
.loc-side__nap svg { width: 1.05em; height: 1.05em; color: var(--red); }
.loc-side__nap p { color: var(--text-2); font-size: .92rem; margin-top: .7rem; }
.loc-side__area { color: var(--muted) !important; font-size: .84rem !important; }
.loc-nearby { font-size: clamp(1.4rem,3vw,2rem); color: #161616; margin-bottom: 1.4rem; }
@media (max-width: 900px) { .loc-grid { grid-template-columns: 1fr; } .loc-side { position: static; } }

/* =============================================================================
   Subtle reveal — only with JS; no-JS shows everything.
   ============================================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}
