/* Offentlig rekrutteringsside (index.html) - bygget på mockup'en bka-frivilige-vision.netlify.app,
   strammet op til mobil først. Ingen login. */

.btn-login { background: transparent; border-color: rgba(255, 255, 255, 0.5); }
.btn-login:hover { background: rgba(255, 255, 255, 0.1); }
.btn-outline-white { background: transparent; border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn-outline-white:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

.hero { background: var(--bar); border-bottom: 4px solid var(--accent); color: #fff; padding: 36px 16px; }
.hero-inner { max-width: 1100px; margin: 0 auto; display: grid; gap: 32px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 8vw, 3.6rem); font-weight: 700; margin-bottom: 14px; }
.hero h1 span { display: block; color: var(--accent); }
[data-theme="dark"] .hero h1 span { color: #ff4d6d; }
.hero p { color: rgba(255, 255, 255, 0.82); font-size: 1.08rem; max-width: 480px; margin: 0 0 22px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-image { display: none; margin: 0; position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 16 / 11; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; display: block; }
.hero-image figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 12px;
  background: rgba(0, 0, 0, 0.55); color: rgba(255, 255, 255, 0.8); font-size: 0.72rem; font-style: italic;
}
@media (min-width: 860px) {
  .hero { padding: 56px 24px; }
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 48px; }
  .hero-image { display: block; }
}

.landing { max-width: 1100px; margin: 0 auto; padding: 28px 16px 8px; }
.section { margin-bottom: 48px; }
.section-title { font-size: 1.5rem; margin-bottom: 6px; }
.section-sub { color: var(--text-muted); margin: 0 0 16px 14px; }

.values {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-bottom: 40px;
  background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.values div { background: var(--surface); padding: 14px 10px; text-align: center; }
.values div:last-child { grid-column: span 2; }
.values strong { display: block; font-family: var(--font-head); text-transform: uppercase; color: var(--heading); letter-spacing: 0.05em; }
.values span { font-size: 0.8rem; color: var(--text-muted); }
@media (min-width: 700px) {
  .values { grid-template-columns: repeat(5, 1fr); }
  .values div:last-child { grid-column: auto; }
}

.gameday {
  display: grid; gap: 20px; background: var(--brand-soft); border-left: 4px solid var(--brand);
  padding: 22px 18px; border-radius: 0 var(--radius) var(--radius) 0;
}
.gameday p { margin: 0 0 14px; }
.gameday-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gameday-list li { display: flex; align-items: center; gap: 8px; background: var(--surface); padding: 10px; border-radius: 6px; font-weight: 600; font-size: 0.9rem; }
.gameday-list i { color: var(--accent); font-size: 1.2rem; }
@media (min-width: 860px) { .gameday { grid-template-columns: 3fr 2fr; padding: 28px; align-items: center; } }

#roleFilter { margin-bottom: 16px; }
.roles-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.role-card {
  background: var(--surface); border: 1.5px solid var(--border); border-top: 3px solid var(--brand);
  border-radius: 4px; display: flex; flex-direction: column; transition: box-shadow 0.18s, border-color 0.18s;
}
.role-card:hover { box-shadow: var(--shadow); }
.role-card.urgent { border-top-color: var(--accent); }
.role-card.soon { border-top-color: #f59e0b; }
.role-card.filled { border-top-color: var(--dot-filled); opacity: 0.7; }
.role-card.picked { border-color: var(--brand-mid); box-shadow: 0 0 0 2px var(--brand-mid) inset; }
.role-top { display: flex; justify-content: space-between; gap: 10px; padding: 14px 16px 10px; border-bottom: 1px solid var(--border); }
.role-title { font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; text-transform: uppercase; color: var(--heading); line-height: 1.2; }
.role-body { padding: 12px 16px 14px; display: flex; flex-direction: column; flex: 1; }
.role-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 8px; }
.role-desc { font-size: 0.92rem; color: var(--text-muted); margin: 0 0 12px; flex: 1; }
.role-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.role-foot .spots { font-size: 0.75rem; font-weight: 700; color: var(--text-muted); }

.signup { display: grid; gap: 28px; }
@media (min-width: 860px) { .signup { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; } }
.signup-info p { color: var(--text-muted); }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; }
.steps li::before {
  content: counter(step); grid-row: span 2; width: 30px; height: 30px; background: var(--accent); color: #fff;
  font-family: var(--font-head); font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.steps span { font-size: 0.88rem; color: var(--text-muted); }
.form-card { background: var(--surface); padding: 22px; margin: 0; }
.form-card h3 { font-size: 1.2rem; }
.picked { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; min-height: 8px; }
.picked .pill { display: inline-flex; align-items: center; gap: 4px; font-size: 0.75rem; cursor: pointer; text-transform: none; letter-spacing: 0; }
.picked-empty { font-size: 0.85rem; color: var(--text-muted); }
.check { display: flex; align-items: center; gap: 8px; font-size: 0.92rem; text-transform: none !important; letter-spacing: 0 !important; font-weight: 400 !important; color: var(--text) !important; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.center { text-align: center; }
.thanks { text-align: center; padding: 40px 20px; }
.thanks i { font-size: 3rem; color: var(--accent); }

.faq { display: grid; gap: 10px; }
@media (min-width: 860px) { .faq { grid-template-columns: 1fr 1fr; } }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 14px 16px; }
.faq summary { font-family: var(--font-head); text-transform: uppercase; color: var(--heading); font-weight: 600; cursor: pointer; }
.faq p { color: var(--text-muted); margin: 8px 0 0; font-size: 0.92rem; }

.footer { background: var(--bar); border-top: 4px solid var(--accent); color: #fff; text-align: center; padding: 40px 16px calc(28px + env(safe-area-inset-bottom)); }
.footer h2 { color: #fff; font-size: clamp(1.5rem, 5vw, 2.4rem); margin-bottom: 18px; }
.footer .contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 28px; font-size: 0.88rem; color: rgba(255, 255, 255, 0.75); }
.footer .contact a { color: #fff; text-decoration: none; font-weight: 600; }
