/* ÅOCK – stilark etter «AOC Nettside.dc.html» */

:root {
  --green: #0daa4f;
  --green-hover: #12c258;
  --green-text: #2f7a47;
  --green-mid: #16482a;
  --dark: #0c1f13;
  --dark-2: #0e2616;
  --dark-3: #08160d;
  --dark-hover: #1a3a25;
  --ink: #11261a;
  --ink-body: #16271c;
  --muted: #41544a;
  --muted-2: #52655a;
  --muted-3: #85968b;
  --on-dark: #c4d4c8;
  --on-dark-2: #9fb3a4;
  --yellow: #feea01;
  --bg: #f4f6f1;
  --line: #e2e7dd;
  --line-input: #d6ddd0;
  --font: 'Saira', system-ui, sans-serif;
  --font-cond: 'Saira Condensed', 'Arial Narrow', sans-serif;
  --container: 1180px;
  --nav-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body > main { flex: 1; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
input, select, textarea { outline: none; }
::placeholder { color: #7c9384; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

/* ---------- Typografi ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: 14px;
  color: var(--green-text);
  margin-bottom: 16px;
}
.on-dark .eyebrow, .eyebrow--green { color: var(--green); }
.eyebrow--yellow { color: var(--yellow); letter-spacing: .22em; margin-bottom: 22px; }

.h-display, .h-section, .h-card {
  font-family: var(--font-cond);
  font-weight: 800;
  text-transform: uppercase;
  margin: 0;
}
.h-display { line-height: .92; font-size: clamp(46px, 6vw, 86px); }
.h-section { line-height: .94; letter-spacing: -.005em; font-size: clamp(36px, 4.5vw, 62px); color: var(--ink); }
.on-dark .h-section { color: #fff; }
.h-card { font-size: 27px; letter-spacing: -.005em; color: var(--ink); margin-bottom: 10px; }

.lead { font-size: 20px; line-height: 1.6; color: var(--muted); margin: 0; }
.on-dark .lead { color: #bccfc1; }

/* ---------- Knapper ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-family: var(--font-cond);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 16px;
  padding: 12px 22px;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.btn--lg { font-size: 19px; padding: 18px 34px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--green); color: var(--dark); }
.btn--primary:hover { background: var(--green-hover); }
.btn--outline { background: transparent; color: #eaf2ec; border: 2px solid rgba(255,255,255,.35); }
.btn--lg.btn--outline { padding: 16px 32px; }
.btn--outline:hover { border-color: var(--green); color: var(--green); }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: var(--dark-hover); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header__logo img { height: 46px; display: block; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav form { margin: 0; }
.nav-link {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #dce8e0;
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: 16px;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--green); }
.btn--nav-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,.3);
  color: #fff;
  font-size: 15px;
  padding: 10px 20px;
}
.btn--nav-outline:hover { border-color: var(--green); color: var(--green); }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 3px;
  color: #fff;
  width: 44px;
  height: 40px;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

/* ---------- Hero (variant A, fullbredde) ---------- */
.hero {
  position: relative;
  min-height: 90vh;
  background: var(--dark);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(12,31,19,0) 26%, rgba(12,31,19,.5) 58%, rgba(12,31,19,.94) 100%);
}
.hero__content { position: relative; z-index: 3; width: 100%; padding-bottom: 88px; }
.hero__text { max-width: 780px; }
.hero h1 {
  font-family: var(--font-cond);
  font-weight: 800;
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: -.01em;
  font-size: clamp(54px, 7.4vw, 108px);
  color: #fff;
  margin: 0;
}
.hero__bar { width: 120px; height: 8px; background: var(--green); margin: 26px 0 30px; }
.hero p { font-size: 22px; line-height: 1.5; color: var(--on-dark); max-width: 600px; margin: 0 0 38px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Onsdagstur-bånd ---------- */
.band-yellow { background: var(--yellow); color: var(--dark); }
.band-yellow__inner {
  padding-top: 18px;
  padding-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-family: var(--font-cond);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 18px;
  font-weight: 600;
}
.band-yellow strong { font-weight: 800; }
.band-yellow .dot { opacity: .5; }

/* ---------- Seksjoner ---------- */
.section { padding: 104px 0; }
.section--light { background: var(--bg); }
.section--dark { background: var(--dark); color: #eaf2ec; }
.section__intro { max-width: 760px; margin-bottom: 56px; }
.section__intro .h-section { margin-bottom: 22px; }
.section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 50px;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 34px 32px;
  transition: transform .18s, border-color .18s, box-shadow .18s;
}
.card:hover { transform: translateY(-4px); border-color: #c6d8c0; box-shadow: 0 14px 30px rgba(20,48,25,.08); }
.card p { font-size: 17px; line-height: 1.55; color: var(--muted-2); margin: 0; }
.tag {
  display: inline-block;
  background: var(--dark);
  color: var(--green);
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  padding: 5px 11px;
  border-radius: 3px;
  margin-bottom: 18px;
}

/* Arrangement-kort (mørk) */
.event-card {
  display: block;
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  overflow: hidden;
  transition: transform .18s, border-color .18s;
}
.event-card:hover { border-color: var(--green); transform: translateY(-4px); }
.event-card__img {
  position: relative;
  height: 240px;
  background: repeating-linear-gradient(135deg, #1c4029 0 16px, #173621 16px 32px);
}
.event-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.event-card__body { padding: 28px 30px 32px; }
.event-card__tagline {
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 13px;
  color: var(--green);
}
.event-card h3 {
  font-family: var(--font-cond);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 34px;
  letter-spacing: -.01em;
  margin: 8px 0 12px;
  color: #fff;
}
.event-card p { font-size: 17px; line-height: 1.55; color: #a9bcae; margin: 0 0 16px; }
.event-card__date {
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 15px;
  color: #fff;
}

/* Bli med-bånd */
.band-join { position: relative; background: var(--green-mid); color: #fff; overflow: hidden; }
.band-join::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 22px, transparent 22px 44px);
}
.band-join__inner {
  position: relative;
  padding-top: 88px;
  padding-bottom: 88px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}
.band-join h2 {
  font-family: var(--font-cond);
  font-weight: 800;
  text-transform: uppercase;
  line-height: .94;
  font-size: clamp(36px, 4.4vw, 60px);
  margin: 0 0 16px;
}
.band-join p { font-size: 20px; line-height: 1.5; color: #d6e6d9; margin: 0; }
.band-join__actions { display: flex; flex-direction: column; gap: 14px; min-width: 260px; }
.band-join__social { display: flex; gap: 12px; }
.btn-ghost {
  flex: 1;
  text-align: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 15px;
  padding: 13px;
  border-radius: 3px;
}
.btn-ghost:hover { border-color: var(--green); }

/* ---------- Undersider: mørk toppseksjon ---------- */
.page-hero { background: var(--dark); color: #fff; padding: 96px 0 72px; }
.page-hero .eyebrow { color: var(--green); }
.page-hero p { font-size: 20px; line-height: 1.55; color: #bccfc1; max-width: 680px; margin: 22px 0 0; }
.page-body { background: var(--bg); padding: 72px 0 100px; }

/* ---------- Arrangementer ---------- */
.arr-list { display: flex; flex-direction: column; gap: 40px; }
.arr-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .18s, box-shadow .18s;
}
.arr-card:hover { border-color: #c6d8c0; box-shadow: 0 14px 30px rgba(20,48,25,.08); }
.arr-card__img { min-height: 340px; background: repeating-linear-gradient(135deg, #1c4029 0 16px, #173621 16px 32px); }
.arr-card__body { padding: 48px 46px; }
.arr-card__tagline {
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 13px;
  color: var(--green-text);
}
.arr-card h2 {
  font-family: var(--font-cond);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(34px, 3.4vw, 48px);
  letter-spacing: -.01em;
  margin: 8px 0 18px;
  color: var(--ink);
}
.arr-card p { font-size: 18px; line-height: 1.6; color: var(--muted); margin: 0 0 26px; }
.arr-card__more {
  display: inline-block;
  margin-top: 24px;
  font-family: var(--font-cond);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 16px;
  color: var(--green-text);
}
.facts { display: flex; gap: 30px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 22px; }
.facts__label {
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 12px;
  color: var(--muted-3);
}
.facts__value { font-family: var(--font-cond); font-weight: 800; font-size: 20px; color: var(--ink); }
.arr-band {
  background: var(--green-mid);
  color: #fff;
  border-radius: 10px;
  padding: 44px 46px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.arr-band h3 { font-family: var(--font-cond); font-weight: 800; text-transform: uppercase; font-size: 32px; margin: 0 0 8px; }
.arr-band p { font-size: 18px; color: #d6e6d9; margin: 0; }

.back-link {
  display: inline-block;
  margin-bottom: 22px;
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 14px;
  color: var(--on-dark-2);
}
.back-link:hover { color: var(--green); }
.arr-detail { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; align-items: start; }
.arr-detail__facts { display: flex; flex-direction: column; gap: 20px; }
.panel .arr-detail__note { margin: 0; font-size: 15px; color: var(--muted-3); }
.arr-detail__body p { font-size: 18px; line-height: 1.7; color: var(--muted); margin: 0 0 18px; }
.arr-detail__body p:last-child { margin-bottom: 0; }

/* ---------- Kalender (offentlig) ---------- */
.kal { max-width: 920px; display: flex; flex-direction: column; gap: 16px; }
.kal__month {
  font-family: var(--font-cond);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 22px;
  color: var(--green-text);
  margin: 24px 0 2px;
}
.kal__month:first-child { margin-top: 0; }
.kal-item {
  display: flex;
  gap: 26px;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color .16s, box-shadow .16s;
}
.kal-item--link:hover { border-color: #c6d8c0; box-shadow: 0 10px 24px rgba(20,48,25,.07); }
.kal-item__date {
  flex: none;
  width: 104px;
  background: var(--dark);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 0;
}
.kal-item--recurring .kal-item__date { background: var(--green-mid); }
.kal-item__day { font-family: var(--font-cond); font-weight: 800; font-size: 42px; line-height: 1; }
.kal-item__mon {
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 14px;
  color: var(--green);
}
.kal-item__body { flex: 1; padding: 22px 0; display: flex; flex-direction: column; justify-content: center; }
.kal-item__type {
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  color: var(--green-text);
}
.kal-item h3 {
  font-family: var(--font-cond);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 26px;
  letter-spacing: -.005em;
  margin: 4px 0 6px;
  color: var(--ink);
}
.kal-item p { font-size: 16px; color: var(--muted-2); margin: 0; }
.kal-item .kal-item__range { font-size: 14px; color: var(--muted-3); margin-top: 4px; }
.kal-item__place {
  flex: none;
  display: flex;
  align-items: center;
  padding: 0 28px;
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 15px;
  color: var(--muted-3);
  text-align: right;
}

/* ---------- Bli medlem ---------- */
.join { max-width: 1080px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.join__aside { display: flex; flex-direction: column; gap: 14px; }
.join__type { background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 18px 22px; }
.join__type-name { font-family: var(--font-cond); font-weight: 800; text-transform: uppercase; font-size: 21px; color: var(--ink); }
.join__type-info { font-size: 15px; color: var(--muted-2); }
.join__note { font-size: 14px; color: var(--muted-3); margin: 6px 0 0; }
.join__main { padding: 40px 42px; }
.join__main h2 { font-size: 30px; margin-bottom: 24px; }
.steps { list-style: none; counter-reset: step; margin: 0 0 30px; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; }
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 20px;
}
.steps b { font-family: var(--font-cond); font-weight: 800; text-transform: uppercase; font-size: 19px; color: var(--ink); }
.steps span { font-size: 16px; line-height: 1.55; color: var(--muted-2); }
.panel .join__small { font-size: 14px; color: var(--muted-3); margin: 18px 0 0; }
.join__pending { background: #fdf6d0; border-radius: 6px; padding: 14px 18px; }

/* ---------- Skjema ---------- */
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 13px;
  color: var(--muted);
}
.field input, .field select, .field textarea {
  font-family: var(--font);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 17px;
  padding: 13px 15px;
  border: 1.5px solid var(--line-input);
  border-radius: 5px;
  color: var(--ink);
  background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); }
.field-validation-error, .validation-summary-errors {
  font-family: var(--font);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  font-size: 14px;
  color: #e4572e;
}
.validation-summary-errors ul { margin: 0; padding-left: 18px; }
.validation-summary-valid { display: none; }

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}
.checkbox input { width: 18px; height: 18px; accent-color: var(--green); }

/* ---------- Innlogging (mørk) ---------- */
.auth {
  background: var(--dark);
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.auth::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, #143019 0 18px, #102714 18px 36px);
  opacity: .5;
}
.auth__wrap { position: relative; max-width: 440px; width: 100%; margin: 0 auto; padding: 48px 32px; }
.auth__card {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 44px 40px;
}
.auth__card .eyebrow { color: var(--green); letter-spacing: .18em; font-size: 13px; margin-bottom: 12px; }
.auth__card h1 {
  font-family: var(--font-cond);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 42px;
  line-height: .95;
  margin: 0 0 8px;
  color: #fff;
}
.auth__card > p { font-size: 16px; color: var(--on-dark-2); margin: 0 0 28px; }
.auth__form { display: flex; flex-direction: column; gap: 16px; }
.auth .field { color: var(--on-dark-2); }
.auth .field input {
  padding: 14px 15px;
  border-color: rgba(255,255,255,.18);
  background: var(--dark);
  color: #fff;
}
.auth .checkbox { color: var(--on-dark-2); }
.auth__foot { font-size: 15px; color: #7c9384; margin: 22px 0 0; text-align: center; }
.auth__foot a { color: var(--green); font-weight: 600; text-decoration: underline; }

/* ---------- Hvitt panel ---------- */
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 36px;
}
.panel h2 {
  font-family: var(--font-cond);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 34px;
  letter-spacing: -.01em;
  margin: 0 0 8px;
  color: var(--ink);
}
.panel p { font-size: 16px; line-height: 1.55; color: var(--muted-2); }

.panel__eyebrow {
  display: inline-block;
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 13px;
  color: var(--green-text);
  margin-bottom: 8px;
}

.alert { border-radius: 6px; padding: 12px 16px; margin: 0 0 18px; font-size: 15px; }
.alert--error { background: #fdecea; border: 1px solid #f3c2b8; color: #8a2a17; }
.alert.validation-summary-valid { display: none; }
.alert ul { margin: 0; padding-left: 18px; }

.field--sm { font-size: 12px; color: var(--muted-3); gap: 6px; }
.field--sm input, .field--sm textarea { font-size: 16px; padding: 11px 13px; }
.field textarea { resize: vertical; }

.link-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--green-text);
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.link-btn:hover { color: #b3341c; }

.badge {
  font-family: var(--font-cond);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 12px;
  padding: 5px 11px;
  border-radius: 3px;
  white-space: nowrap;
  background: #e8ece4;
  color: var(--muted);
}
.badge--free { background: var(--green); color: var(--dark); }

/* ---------- Min side ---------- */
.dash-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 32px; align-items: start; }
.dash-side { display: flex; flex-direction: column; gap: 32px; }
.dash-grid .panel { padding: 36px 36px 40px; }

/* Kalender */
.cal { border: 1px solid var(--line); border-radius: 8px; padding: 18px; margin: 4px 0 20px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal__title {
  font-family: var(--font-cond);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 22px;
  color: var(--ink);
}
.cal__nav {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--line-input);
  border-radius: 5px;
  font-size: 22px;
  color: var(--ink);
}
.cal__nav:hover { border-color: var(--green); color: var(--green-text); }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal__wd {
  text-align: center;
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  color: var(--muted-3);
  padding-bottom: 4px;
}
.cal__day {
  aspect-ratio: 1 / 1;
  min-height: 36px;
  border: 1.5px solid transparent;
  border-radius: 5px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .12s, background .12s;
}
.cal__day--free { background: #dcf3e5; }
.cal__day--some { background: #fff6b3; }
.cal__day--none { background: #f8d9d2; color: #7a2b1c; }
.cal__day--other { opacity: .45; }
.cal__day:hover:not([disabled]) { border-color: var(--green); }
.cal__day--today { border-color: var(--ink); }
.cal__day--past, .cal__day[disabled] { background: #f1f3ee; color: #b5bfb7; cursor: default; }
.cal__day.is-selected { background: var(--dark); color: #fff; border-color: var(--dark); opacity: 1; }
.cal__legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 14px; font-size: 13px; color: var(--muted-2); }
.cal__legend span { display: inline-flex; align-items: center; gap: 7px; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.dot--free { background: #dcf3e5; border: 1px solid #9fd6b4; }
.dot--some { background: #fff6b3; border: 1px solid #e6d65c; }
.dot--none { background: #f8d9d2; border: 1px solid #e5a596; }

/* Periodevalg + ledige kofferter */
.period {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 14px;
  align-items: end;
  background: var(--bg);
  border-radius: 8px;
  padding: 18px;
}
.period .btn { padding: 13px 18px; }
.avail { margin-top: 20px; }
.avail__title, .booked__title {
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}
.avail__empty { background: #fdf6d0; border-radius: 6px; padding: 12px 16px; margin: 0; }
.case-list { display: flex; flex-direction: column; gap: 12px; }
.case-option {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 2px solid rgba(255,255,255,.12);
  background: var(--dark-2);
  color: #fff;
  border-radius: 6px;
  padding: 16px 20px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.case-option input { accent-color: var(--green); width: 18px; height: 18px; flex: none; }
.case-option:has(input:checked) { border-color: var(--green); background: #11331f; }
.case-option__body { flex: 1; display: flex; flex-direction: column; }
.case-option__name { font-family: var(--font-cond); font-weight: 800; text-transform: uppercase; font-size: 21px; }
.case-option__desc { font-size: 14px; color: var(--on-dark-2); }

.booked { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 18px; }
.booked ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.booked li { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 10px; font-size: 14px; color: var(--muted-2); }
.booked li.is-mine { color: var(--ink); font-weight: 600; }
.booked__who { text-align: right; color: var(--muted-3); }

.my-bookings { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.my-bookings li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 14px 16px;
}
.my-bookings form { margin: 0; }
.my-bookings__case { font-weight: 600; font-size: 16px; color: var(--ink); }
.my-bookings__period { font-size: 14px; color: var(--muted-2); }
.my-bookings__notes { font-size: 13px; color: var(--muted-3); margin-top: 2px; }

/* ---------- Admin: medlemsimport ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 18px 0 8px; }
.stat {
  background: var(--bg);
  border-left: 4px solid #c9d2c4;
  border-radius: 6px;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--muted-2);
}
.stat b {
  display: block;
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 34px;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 4px;
}
.stat--new { border-left-color: var(--green); }
.stat--changed { border-left-color: var(--yellow); }
.stat--removed { border-left-color: #e08a6d; }
.stat--conflict { border-left-color: #b3341c; }
.imp-h {
  font-family: var(--font-cond);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 22px;
  color: var(--ink);
  margin: 32px 0 6px;
}
.panel .imp-note { margin: 0 0 12px; font-size: 15px; }
.imp-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.imp-table th {
  text-align: left;
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 12px;
  color: var(--muted-3);
  padding: 8px 10px;
  border-bottom: 1.5px solid var(--line);
}
.imp-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-body); }
.imp-muted { color: var(--muted-3); font-size: 13px; }
.imp-details { margin-top: 28px; }
.imp-details summary { cursor: pointer; font-weight: 600; color: var(--green-text); margin-bottom: 10px; }
.imp-confirm { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 600px) {
  .imp-table { font-size: 13px; }
  .imp-table th, .imp-table td { padding: 7px 5px; }
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 100;
  background: var(--dark);
  color: #fff;
  border: 1px solid var(--green);
  border-radius: 6px;
  padding: 14px 24px;
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.3);
  transition: opacity .4s;
}
.toast.is-hidden { opacity: 0; pointer-events: none; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark-3);
  color: #a9bcae;
  padding: 64px 0 36px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer__logo { height: 58px; display: block; margin-bottom: 18px; }
.site-footer__about { font-size: 15px; line-height: 1.6; color: #7c9384; margin: 0; max-width: 280px; }
.site-footer h4 {
  font-family: var(--font-cond);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 14px;
  color: #fff;
  margin: 0 0 16px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer li { font-size: 15px; }
.site-footer a:hover { color: var(--green); }
.site-footer__muted { color: #7c9384; }
.site-footer__copy {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: 13px;
  color: #56695d;
  font-family: var(--font-cond);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ---------- Responsivt ---------- */
@media (max-width: 960px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 32px 32px;
    background: var(--dark);
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .site-nav.is-open { display: flex; }
  .grid-2 { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
  .arr-card { grid-template-columns: 1fr; }
  .arr-card__img { min-height: 200px; }
  .arr-detail, .join { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .page-hero { padding: 64px 0 48px; }
  .hero p { font-size: 19px; }
  .hero__content { padding-bottom: 56px; }
  .auth__card { padding: 32px 24px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .band-join__actions { min-width: 0; width: 100%; }
  .dash-grid .panel { padding: 24px 18px 28px; }
  .band-yellow .dot { display: none; }
  .band-yellow__inner { gap: 4px 16px; font-size: 16px; }
  .arr-card__body { padding: 28px 22px; }
  .arr-band { padding: 28px 22px; }
  .join__main { padding: 28px 22px; }
  .kal-item { gap: 16px; }
  .kal-item__date { width: 76px; }
  .kal-item__day { font-size: 32px; }
  .kal-item h3 { font-size: 21px; }
  .kal-item__body { padding: 16px 16px 16px 0; }
  .kal-item__place { display: none; }
  .cal { padding: 12px; }
  .cal__grid { gap: 3px; }
  .cal__day { font-size: 15px; min-height: 0; }
  .period { grid-template-columns: 1fr 1fr; }
  .period .btn { grid-column: 1 / -1; }
  .booked li { grid-template-columns: 1fr 1fr; }
  .booked__who { grid-column: 1 / -1; text-align: left; margin-top: -4px; }
}

/* ---------- Bilder på arrangementer ---------- */
.event-card__img, .arr-card__img { background-size: cover; background-position: center; }
.arr-detail__img { width: 100%; border-radius: 6px; margin: 0 0 24px; display: block; }

/* ---------- Dokumenter (Min side) ---------- */
.doc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.doc-list a {
  display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink);
}
.doc-list li:last-child a { border-bottom: none; }
.doc-list a:hover .doc-list__title { color: var(--green-text); }
.doc-list__type {
  grid-row: span 2; font-family: var(--font-cond); font-weight: 800; font-size: 12px; letter-spacing: .06em;
  background: var(--dark); color: var(--yellow); border-radius: 4px; padding: 8px 6px; min-width: 46px; text-align: center;
}
.doc-list__title { font-weight: 600; font-size: 16px; }
.doc-list__meta { font-size: 13px; color: var(--muted-3); }

/* ---------- Admin ---------- */
.admin-hero { padding: 56px 0 0; }
.admin-hero .h-display { font-size: clamp(40px, 6vw, 64px); }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 36px; }
.admin-tabs a {
  font-family: var(--font-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 15px;
  color: var(--on-dark-2); padding: 12px 16px; border-radius: 6px 6px 0 0;
}
.admin-tabs a:hover { color: #fff; }
.admin-tabs a[aria-current="page"] { background: var(--bg); color: var(--ink); }
.admin-body { padding-top: 40px; }
.admin-stack { display: flex; flex-direction: column; gap: 28px; }
.admin-stack .alert { margin: 0; }
.alert--ok { background: #e3f5e9; border: 1px solid #b5e2c3; color: #1d5b33; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.seg { display: inline-flex; background: #e8ece4; border-radius: 6px; padding: 4px; }
.seg a {
  font-family: var(--font-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 14px;
  padding: 8px 14px; border-radius: 4px; color: var(--muted);
}
.seg a[aria-current="page"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.admin-search { display: flex; gap: 8px; }
.admin-search input {
  font: inherit; font-size: 15px; padding: 10px 12px; border: 1.5px solid var(--line-input); border-radius: 5px; min-width: 240px;
}
.admin-search .btn { padding: 10px 18px; font-size: 15px; }
.admin-table td.right, .admin-table th.right { text-align: right; }
.admin-table .nowrap, .nowrap { white-space: nowrap; }
.admin-table td { vertical-align: middle; }
.admin-link { color: var(--green-text); font-weight: 600; }
.admin-link:hover { text-decoration: underline; }
.inline-form { display: inline; margin-left: 14px; }
.inline-form:first-child { margin-left: 0; }
.link-btn--danger { color: #b3341c; }
.btn--danger { background: #b3341c; color: #fff; }
.btn--danger:hover { background: #962a15; }
.badge--warn { background: var(--yellow); color: var(--ink); }
.badge--admin { background: var(--dark); color: var(--yellow); margin-left: 6px; }
.admin-form { display: flex; flex-direction: column; gap: 18px; }
.admin-form h2 { margin: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row--3 { grid-template-columns: 1fr 1fr 1fr; }
.admin-fieldset { border: 1.5px solid var(--line); border-radius: 6px; padding: 18px; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.has-page-fields { display: flex; flex-direction: column; gap: 18px; }
.has-page-fields[hidden] { display: none; }
.admin-thumb { max-width: 320px; border-radius: 6px; display: block; }
.back-link--dark { color: var(--muted-2); margin-bottom: 0; }
.admin-danger { display: flex; justify-content: space-between; align-items: center; gap: 18px; border: 1.5px solid #f3c2b8; }
.admin-danger p { margin: 0; color: var(--muted-2); }
.admin-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.admin-card {
  background: #fff; border: 1.5px solid var(--line); border-radius: 8px; padding: 22px 24px; display: flex; flex-direction: column; gap: 4px;
  color: var(--ink); transition: border-color .15s;
}
.admin-card:hover { border-color: var(--green); }
.admin-card b { font-family: var(--font-cond); font-weight: 800; font-size: 44px; line-height: 1; }
.admin-card span { font-family: var(--font-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; color: var(--muted); }
.admin-card em { font-style: normal; font-size: 13px; color: #8a6a00; }
.case-admin { display: flex; flex-direction: column; gap: 16px; }
.case-admin__item { border: 1.5px solid var(--line); border-radius: 6px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.case-admin__item.is-inactive { background: #f7f8f5; }
.case-admin__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.case-admin__foot .imp-muted { margin-left: auto; }
.admin-savebar { position: sticky; bottom: 0; background: var(--bg); padding: 14px 0; border-top: 1px solid var(--line); }

@media (max-width: 860px) {
  .admin-cards { grid-template-columns: 1fr 1fr; }
  .form-row, .form-row--3 { grid-template-columns: 1fr; }
  .admin-table { display: block; overflow-x: auto; }
  .admin-search input { min-width: 0; flex: 1; }
  .admin-search { width: 100%; }
  .admin-danger { flex-direction: column; align-items: flex-start; }
  .admin-hero { padding-top: 36px; }
  .admin-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 24px -16px 0; padding: 0 16px; scrollbar-width: none; }
  .admin-tabs a { font-size: 13px; padding: 10px 10px; white-space: nowrap; }
}
