/* ==========================================================================
   G.I.R.L. – Göteborg Internet Racing League
   Designsystem / stilmall
   ========================================================================== */

:root {
  --bg:        #0a0b0e;
  --bg-2:      #0e1015;
  --surface:   #14171f;
  --surface-2: #191d27;
  --line:      rgba(255, 255, 255, 0.09);
  --line-2:    rgba(255, 255, 255, 0.14);

  --text:      #f3f5f8;
  --muted:     #98a0ad;
  --faint:     #6b7280;

  --red:       #ff2d2d;
  --red-2:     #ff5a32;
  --red-glow:  rgba(255, 45, 45, 0.45);
  --cyan:      #1ad6e6;
  --gold:      #ffcc4d;
  --silver:    #cfd6dd;
  --bronze:    #d8915a;

  --maxw: 1180px;
  --radius: 14px;
  --radius-sm: 9px;

  --font-display: "Rajdhani", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.82rem;
  color: var(--red);
  margin: 0 0 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--red);
  display: inline-block;
}

.section { padding: 84px 0; position: relative; }
.section--alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.section__head { margin-bottom: 38px; max-width: 720px; }
.section__head h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
.section__head p { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  --c: var(--red);
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.78rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none !important;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: linear-gradient(135deg, var(--red-2), var(--red));
  color: #fff;
  box-shadow: 0 8px 26px -8px var(--red-glow);
}
.btn--primary:hover { box-shadow: 0 12px 34px -8px var(--red-glow); }
.btn--ghost {
  background: rgba(255,255,255,0.04);
  border-color: var(--line-2);
  color: var(--text);
}
.btn--ghost:hover { background: rgba(255,255,255,0.09); border-color: var(--text); }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.85rem; }

/* ==========================================================================
   Header / nav
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 11, 14, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 1rem; }
.nav__brand { display: flex; align-items: center; gap: 0.6rem; }
.nav__brand img { height: 30px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 0.3rem; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--text); background: rgba(255,255,255,0.05); text-decoration: none; }
.nav__right { display: flex; align-items: center; gap: 0.6rem; }
.nav__icon { display: inline-flex; color: var(--muted); padding: 0.4rem; border-radius: 8px; }
.nav__icon:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav__icon svg { width: 22px; height: 22px; }
.nav__toggle {
  display: none; background: none; border: 0; color: var(--text);
  cursor: pointer; padding: 0.4rem;
}
.nav__toggle svg { width: 28px; height: 28px; }

@media (max-width: 860px) {
  .nav__links {
    position: fixed; inset: 66px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 1rem;
    transform: translateY(-130%);
    transition: transform .28s ease;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { padding: 0.85rem 0.5rem; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .nav__toggle { display: inline-flex; }
  .nav__right .btn { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero__slides, .hero__bg, .hero__streaks {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
/* Egen stacking context: slidernas z-index stannar inuti containern så att
   overlay/grain alltid ligger ovanpå och dimmar bilderna som tidigare. */
.hero__slides { z-index: 0; }
.hero__bg { object-fit: cover; filter: saturate(1.1) contrast(1.05); transform: scale(1.1); }

/* Bildspel: den aktiva sliden tonas in ovanpå den förra (is-prev), som ligger
   kvar fullt synlig under tills nästa växling – ingen mörk blinkning. */
.hero__bg { opacity: 0; z-index: 0; transition: opacity 1.8s ease; }
.hero__bg.is-prev { opacity: 1; z-index: 1; }
.hero__bg.is-active { opacity: 1; z-index: 2; }

/* Ken Burns: fyra mycket långsamma rörelser (längre än visningstiden, så
   bilden är alltid i rörelse – slow motion-känsla). JS roterar kb-1..kb-4. */
.hero__bg.kb-1 { animation: kb1 28s linear forwards; }
.hero__bg.kb-2 { animation: kb2 28s linear forwards; }
.hero__bg.kb-3 { animation: kb3 28s linear forwards; }
.hero__bg.kb-4 { animation: kb4 28s linear forwards; }
@keyframes kb1 { from { transform: scale(1.08); }                            to { transform: scale(1.18) translate3d(-2.5%, -2%, 0); } }
@keyframes kb2 { from { transform: scale(1.18) translate3d(2%, -1.5%, 0); }  to { transform: scale(1.08); } }
@keyframes kb3 { from { transform: scale(1.1) translate3d(-2%, 1.5%, 0); }   to { transform: scale(1.2) translate3d(1.5%, -1%, 0); } }
@keyframes kb4 { from { transform: scale(1.2) translate3d(1.5%, 1.5%, 0); }  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); } }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 70% 10%, rgba(255,45,45,0.16), transparent 55%),
    linear-gradient(180deg, rgba(10,11,14,0.55) 0%, rgba(10,11,14,0.78) 55%, var(--bg) 100%),
    linear-gradient(90deg, rgba(10,11,14,0.9) 0%, rgba(10,11,14,0.35) 60%);
}
.hero__streaks { mix-blend-mode: screen; opacity: 0.9; pointer-events: none; }
.hero__grain {
  position: absolute; inset: 0; opacity: 0.05; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__inner { position: relative; z-index: 3; padding: 120px 22px 90px; max-width: calc(760px + 44px); }
.hero__tag {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.84rem;
  color: var(--text);
  background: rgba(255,45,45,0.14);
  border: 1px solid rgba(255,45,45,0.4);
  padding: 0.4rem 0.9rem; border-radius: 999px;
  margin-bottom: 1.4rem;
}
.hero__tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero h1 {
  font-size: clamp(3.2rem, 11vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  margin: 0 0 0.5rem;
  text-shadow: 0 6px 40px rgba(0,0,0,0.6);
}
.hero h1 .lead { color: #fff; }
.hero h1 .accent {
  display: block;
  background: linear-gradient(120deg, var(--red-2), var(--red) 60%, #ff8a6b);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub {
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  color: #d4d9e0; max-width: 560px; margin: 0 0 2rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; margin-top: 3rem;
  padding-top: 1.6rem; border-top: 1px solid var(--line);
}
.hero__meta .stat strong {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: 1.9rem; color: #fff; line-height: 1;
}
.hero__meta .stat span { color: var(--muted); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.16em; }

.scroll-hint {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  z-index: 3; color: var(--muted); font-size: 0.75rem; letter-spacing: 0.2em;
  text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
}
.scroll-hint .mouse { width: 22px; height: 34px; border: 2px solid var(--line-2); border-radius: 12px; position: relative; }
.scroll-hint .mouse::after { content:""; position:absolute; top:6px; left:50%; transform:translateX(-50%); width:3px; height:7px; border-radius:2px; background: var(--muted); animation: scrolldot 1.6s infinite; }
@keyframes scrolldot { 0% { opacity:0; top:6px; } 40% { opacity:1; } 80% { opacity:0; top:16px; } 100% { opacity:0; } }
@media (prefers-reduced-motion: reduce) {
  .hero__bg, .hero__tag .dot, .scroll-hint .mouse::after { animation: none; }
}

/* ==========================================================================
   Cards / grids
   ========================================================================== */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) { .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 18px 40px -22px rgba(0,0,0,0.8); }

/* Broadcast card */
.bcard { display: flex; flex-direction: column; color: inherit; text-decoration: none !important; }
.bcard__thumb { position: relative; aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; }
.bcard__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.bcard:hover .bcard__thumb img { transform: scale(1.06); }
.bcard__round {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-family: var(--font-display); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.08em;
  background: rgba(10,11,14,0.82); color: #fff;
  padding: 0.25rem 0.6rem; border-radius: 6px; border: 1px solid var(--line);
}
.bcard__badge {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  font-family: var(--font-display); font-weight: 700; font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  background: var(--red); color: #fff; padding: 0.22rem 0.55rem; border-radius: 6px;
}
.bcard__play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 2;
  opacity: 0; transition: opacity .2s ease;
  background: radial-gradient(circle, rgba(10,11,14,0.35), transparent 70%);
}
.bcard:hover .bcard__play { opacity: 1; }
.bcard__play svg { width: 58px; height: 58px; filter: drop-shadow(0 4px 14px rgba(0,0,0,0.6)); }
.bcard__body { padding: 14px 16px 18px; }
.bcard__body h3 { font-size: 1.18rem; margin: 0 0 0.25rem; }
.bcard__body .meta { color: var(--muted); font-size: 0.86rem; }

/* ==========================================================================
   Standings table
   ========================================================================== */
.standings { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.standings thead th {
  text-align: left; font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem;
  color: var(--muted); padding: 0 14px 12px; border-bottom: 1px solid var(--line-2);
}
.standings thead th.num, .standings td.num { text-align: right; }
.standings tbody td { padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.standings tbody tr { transition: background .15s ease; }
.standings tbody tr:hover { background: rgba(255,255,255,0.03); }
.standings .pos {
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  width: 46px; color: var(--muted);
}
.standings .driver { font-weight: 600; color: var(--text); }
.standings .team { color: var(--muted); font-size: 0.9rem; }
.standings .pts { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: #fff; }
.standings tr.p1 .pos { color: var(--gold); }
.standings tr.p2 .pos { color: var(--silver); }
.standings tr.p3 .pos { color: var(--bronze); }
.standings tr.p1, .standings tr.p2, .standings tr.p3 { background: rgba(255,255,255,0.02); }
.standings tr.p1 td:first-child { box-shadow: inset 3px 0 0 var(--gold); }
.standings tr.p2 td:first-child { box-shadow: inset 3px 0 0 var(--silver); }
.standings tr.p3 td:first-child { box-shadow: inset 3px 0 0 var(--bronze); }
.standings tr.is-you { background: rgba(255,45,45,0.07); }
.standings tr.is-you td:first-child { box-shadow: inset 3px 0 0 var(--red); }
.you-tag { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--red); border: 1px solid var(--red); padding: 1px 5px; border-radius: 5px; margin-left: 8px; vertical-align: middle; }
@media (max-width: 560px) {
  .standings .team { display: none; }
  .standings thead th.team-h { display: none; }
}

/* Flera ställningstabeller på resultatsidan */
.standings-title { font-size: 1.5rem; margin: 54px 0 6px; }
.standings-title:first-of-type { margin-top: 18px; }
.standings-sub { color: var(--muted); margin: 0 0 18px; max-width: 640px; }

/* Champion banner */
.champion {
  display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(255,204,77,0.12), rgba(255,45,45,0.06));
  border: 1px solid rgba(255,204,77,0.3);
  border-radius: var(--radius); padding: 22px 26px; margin-bottom: 30px;
}
.champion__trophy { font-size: 2.6rem; line-height: 1; }
.champion__txt .eyebrow { color: var(--gold); }
.champion__txt h3 { font-size: 1.8rem; margin: 0; }
.champion__txt p { margin: 0.1rem 0 0; color: var(--muted); }

/* ==========================================================================
   Reports
   ========================================================================== */
.report-list { display: grid; gap: 18px; }
.report-card {
  display: grid; grid-template-columns: 220px 1fr; gap: 0;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; text-decoration: none !important; color: inherit;
  transition: transform .18s ease, border-color .18s ease;
}
.report-card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.report-card__img { aspect-ratio: 16/9; height: 100%; object-fit: cover; background: var(--surface-2); }
.report-card__body { padding: 20px 24px; }
.report-card__body .meta { color: var(--red); font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; margin-bottom: 0.4rem; }
.report-card__body h3 { font-size: 1.5rem; margin: 0 0 0.5rem; }
.report-card__body p { color: var(--muted); margin: 0; }
@media (max-width: 620px) { .report-card { grid-template-columns: 1fr; } }

/* Single report article */
.article { max-width: 760px; margin: 0 auto; }
.article__cover { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: 28px; aspect-ratio: 16/9; object-fit: cover; }
.article__meta { color: var(--red); font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.85rem; }
.article h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0.4rem 0 1.2rem; }
.article__body { font-size: 1.08rem; color: #dde1e7; }
.article__body h2 { font-size: 1.6rem; margin-top: 2rem; color: #fff; }
.article__body h3 { font-size: 1.25rem; margin-top: 1.6rem; color: #fff; }
.article__body a { color: var(--cyan); }
.article__body img { border-radius: 10px; margin: 1.5rem 0; border: 1px solid var(--line); }
.article__body blockquote { border-left: 3px solid var(--red); margin: 1.4rem 0; padding: 0.2rem 0 0.2rem 1.2rem; color: var(--muted); font-style: italic; }
.article__body code { background: var(--surface-2); padding: 0.1rem 0.4rem; border-radius: 5px; font-size: 0.92em; }
.article__body ul, .article__body ol { padding-left: 1.3rem; }
.article__body li { margin: 0.3rem 0; }
.article__body hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

/* ==========================================================================
   "Bli förare" / steps
   ========================================================================== */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step { display: flex; gap: 1.1rem; align-items: flex-start; }
.step__num {
  flex: 0 0 auto; counter-increment: step;
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 12px; background: rgba(255,45,45,0.12); border: 1px solid rgba(255,45,45,0.3); color: var(--red);
}
.step__num::before { content: counter(step); }
.step h3 { font-size: 1.2rem; margin: 0.3rem 0 0.2rem; }
.step p { margin: 0; color: var(--muted); }

.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature__icon { flex: 0 0 auto; width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.feature__icon svg { width: 24px; height: 24px; color: var(--red); }
.feature h3 { font-size: 1.15rem; margin: 0.2rem 0 0.3rem; }
.feature p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, rgba(255,45,45,0.14), rgba(26,214,230,0.06));
  border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 44px; text-align: center;
}
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 0.5rem; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 1.6rem; font-size: 1.08rem; }
.cta-band .hero__cta { justify-content: center; }

/* ==========================================================================
   Meddelanden / anslag
   ========================================================================== */
.announce-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-left: 4px solid var(--red); }
.announce-card.is-info { border-left-color: var(--cyan); }
.announce-card__icon {
  flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 10px; background: rgba(255, 45, 45, 0.12); color: var(--red);
}
.announce-card.is-info .announce-card__icon { background: rgba(26, 214, 230, 0.12); color: var(--cyan); }
.announce-card__icon svg { width: 22px; height: 22px; }
.announce-card__body { min-width: 0; }
.announce-card__date {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 0.74rem; color: var(--red); margin-bottom: 0.25rem;
}
.announce-card.is-info .announce-card__date { color: var(--cyan); }
.announce-card h3 { font-size: 1.3rem; margin: 0 0 0.4rem; }
.announce-card p { color: var(--muted); margin: 0; }
.announce-card__cta { margin-top: 0.95rem; }
.announce-card.is-archived { border-left-color: var(--line-2); opacity: 0.72; }
.announce-card.is-archived .announce-card__icon { background: rgba(255, 255, 255, 0.05); color: var(--muted); }
.announce-card.is-archived .announce-card__date { color: var(--muted); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 54px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }
.footer-grid h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 0.4rem 0; }
.footer-grid a { color: var(--text); }
.footer-grid a:hover { color: var(--red); }
.footer-brand img { height: 34px; margin-bottom: 0.9rem; }
.footer-brand p { color: var(--muted); max-width: 320px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 22px; color: var(--faint); font-size: 0.86rem; }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a { color: var(--muted); display: inline-flex; padding: 0.4rem; border-radius: 8px; border: 1px solid var(--line); }
.footer-social a:hover { color: #fff; border-color: var(--line-2); }
.footer-social svg { width: 20px; height: 20px; }

/* ==========================================================================
   Kontaktformulär
   ========================================================================== */
.contact-form { padding: 24px; display: grid; gap: 16px; position: relative; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .cf-row { grid-template-columns: 1fr; } }
.contact-form label {
  display: grid; gap: 6px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.contact-form input, .contact-form textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--text);
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 10px;
  padding: 12px 14px; width: 100%; resize: vertical;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--faint); }
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(255,45,45,0.18);
}
.cf-hp { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; opacity: 0; }
.cf-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.cf-status { font-size: 0.95rem; }
.cf-status.is-ok { color: #34d399; }
.cf-status.is-err { color: var(--red-2); }

/* Utilities */
.center { text-align: center; }
.mt-32 { margin-top: 32px; }
.muted { color: var(--muted); }
.checker-strip {
  height: 8px; width: 100%;
  background-image:
    linear-gradient(45deg, var(--red) 25%, transparent 25%, transparent 75%, var(--red) 75%),
    linear-gradient(45deg, var(--red) 25%, #0a0b0e 25%, #0a0b0e 75%, var(--red) 75%);
  background-size: 16px 16px;
  background-position: 0 0, 8px 8px;
  opacity: 0.9;
}
.is-hidden { display: none !important; }
.loading { color: var(--muted); padding: 2rem 0; text-align: center; }
