/* ===== Variabler – mørk blå/grå tech + dansk rød accent (DK) ===== */
:root {
  --bg: #0a0e14;
  --bg-card: #111827;
  --bg-elevated: #151b24;
  --text: #e5e7eb;
  --text-muted: #9ca3af;
  --accent: #C8102E;
  --accent-dim: #a00d24;
  --accent-light: #e63946;
  --accent-glow: rgba(200, 16, 46, 0.35);
  --accent-glow-strong: rgba(200, 16, 46, 0.5);
  --border: #1f2937;
  --radius: 4px;
  --radius-sm: 4px;
  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body: 'Roboto', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.5);
  --hero-dark-bg: #0a0e14;
  --hero-dark-text: #e5e7eb;
  /* Fluid container: tilpasser sig skærmen */
  --container-max: min(1200px, 96vw);
  --container-padding: clamp(1rem, 4vw, 1.5rem);
}

/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image:
    linear-gradient(160deg, rgba(15, 23, 42, 0.97) 0%, var(--bg) 40%, var(--bg) 100%),
    linear-gradient(rgba(200, 16, 46, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 16, 46, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
  -webkit-font-smoothing: antialiased;
}

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

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 14, 20, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.header::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 120px;
  height: 2px;
  background: var(--accent);
  opacity: 0.8;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
}
.logo img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
  background: #000;
}
.footer-brand img,
.footer .logo img {
  background: #000;
}
.logo-icon { font-size: 1.5rem; }
.logo em { color: var(--accent); font-style: normal; }
.logo-dk {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.7em;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.15em 0.45em;
  border-radius: var(--radius);
  margin-left: 0.15em;
  vertical-align: 0.1em;
  box-shadow: 0 0 12px var(--accent-glow);
}
.nav-discord {
  color: var(--accent) !important;
  font-weight: 600;
}
.nav-discord:hover {
  text-shadow: 0 0 14px var(--accent-glow-strong) !important;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s, text-shadow 0.2s;
}
.nav a:hover {
  color: var(--accent);
  text-shadow: 0 0 12px var(--accent-glow);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle span { width: 22px; height: 2px; background: currentColor; border-radius: 1px; }

/* ===== Reklame-banner (global) ===== */
.site-ad-wrap {
  margin-top: 4rem;
  padding: 0.75rem 0;
  background: linear-gradient(180deg, rgba(200, 16, 46, 0.08), rgba(200, 16, 46, 0.02));
  border-bottom: 1px solid rgba(200, 16, 46, 0.25);
}
.site-ad-card {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 0.9rem;
  background: rgba(17, 24, 39, 0.88);
  border: 1px solid rgba(200, 16, 46, 0.3);
  border-radius: 8px;
  padding: 0.8rem 0.95rem;
}
.site-ad-badge {
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
}
.site-ad-content h2 {
  margin: 0 0 0.15rem;
  font-size: 1rem;
  font-family: var(--font-heading);
}
.site-ad-content p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.site-ad-cta {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  background: var(--accent);
}
.site-ad-cta:hover { background: var(--accent-dim); }
.site-ad-close {
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: transparent;
  border-radius: 6px;
  width: 32px;
  height: 32px;
  font-size: 1.2rem;
  cursor: pointer;
}

/* ===== Reklame admin ===== */
.ads-admin h1 { margin: 0 0 0.5rem; }
.ads-admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.ads-admin-box {
  background: rgba(17, 24, 39, 0.9);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
}
.ads-admin-box h2 { margin-top: 0; }
.ads-admin-box label {
  display: block;
  margin: 0.75rem 0 0.25rem;
  font-weight: 600;
}
.ads-admin-box input,
.ads-admin-box textarea {
  width: 100%;
  background: #0b1220;
  color: var(--text);
  border: 1px solid #283548;
  border-radius: 6px;
  padding: 0.6rem 0.7rem;
  font-family: inherit;
}
.ads-check {
  display: inline-flex !important;
  align-items: center;
  gap: 0.45rem;
}
.ads-check input { width: auto; }
.ads-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}
.ads-list { display: grid; gap: 0.7rem; }
.ads-item {
  border: 1px solid #283548;
  border-radius: 6px;
  padding: 0.8rem;
  background: #0b1220;
}
.ads-item h3 { margin: 0 0 0.4rem; }
.ads-item p { margin: 0.2rem 0; }
.ads-item-actions {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.5rem;
}
.ads-status { min-height: 1.4rem; margin-top: 0.75rem; color: #86efac; }
.ads-status.is-error { color: #fca5a5; }

@media (max-width: 900px) {
  .site-ad-card {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .site-ad-close {
    justify-self: end;
  }
  .ads-admin-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: clamp(4rem, 10vw, 6rem) 0 clamp(3rem, 6vw, 4rem);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(200, 16, 46, 0.08) 0%, transparent 55%),
    linear-gradient(rgba(200, 16, 46, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 16, 46, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 36px 36px, 36px 36px;
  pointer-events: none;
}

/* FiveM / cyber hero baggrund: shield-linjer, network, partikler */
.hero-bg-cyber {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.5;
}
.hero-bg-cyber::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(90vw, 600px);
  height: min(70vh, 400px);
  border: 1px solid rgba(200, 16, 46, 0.12);
  border-radius: 50% 50% 45% 55% / 60% 60% 40% 40%;
  box-shadow: inset 0 0 80px rgba(200, 16, 46, 0.03);
}
.hero-bg-cyber::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;
  background: linear-gradient(180deg, transparent 0%, rgba(200, 16, 46, 0.03) 100%);
  clip-path: polygon(0 30%, 10% 0, 20% 25%, 30% 0, 40% 20%, 50% 0, 60% 25%, 70% 0, 80% 20%, 90% 0, 100% 30%, 100% 100%, 0 100%);
}
.hero-dark .hero-bg-cyber::before {
  border-color: rgba(200, 16, 46, 0.15);
}

/* FiveM / Fiveguard dark hero */
.hero-dark {
  background: linear-gradient(180deg, #0d1320 0%, var(--hero-dark-bg) 100%);
  color: var(--hero-dark-text);
}
.hero-dark .hero-bg {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(200, 16, 46, 0.12) 0%, transparent 55%),
    linear-gradient(rgba(200, 16, 46, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 16, 46, 0.05) 1px, transparent 1px);
  background-size: 100% 100%, 32px 32px, 32px 32px;
  opacity: 1;
}
.hero-dark .hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(200, 16, 46, 0.5);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius);
  margin: 0 0 1.25rem;
  box-shadow: 0 0 16px var(--accent-glow);
}
.hero-dark .hero-title { color: #fff; font-family: var(--font-heading); }
.hero-dark .hero-title .accent { color: var(--accent); text-shadow: 0 0 24px var(--accent-glow); }
.hero-dark .hero-lead { color: rgba(255, 255, 255, 0.8); }
.hero-meta {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
  margin: 0 0 1.25rem;
}
.hero-stats {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}
.hero-stat-icon {
  color: var(--accent);
  margin-right: 0.35rem;
  font-weight: 700;
  text-shadow: 0 0 10px var(--accent-glow);
}
.hero-stats li {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}
.hero-dark .btn-primary {
  background: var(--accent);
  color: #fff;
}
.hero-dark .btn-primary:hover {
  background: var(--accent-light);
  box-shadow: 0 0 24px var(--accent-glow-strong), 0 0 48px var(--accent-glow);
}
.btn-hero-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn-hero-ghost:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(200, 16, 46, 0.08);
  box-shadow: 0 0 16px var(--accent-glow);
}

/* Undersider: mørk hero (installation, funktioner) */
.install-hero.hero-dark,
.features-hero.hero-dark {
  background: var(--hero-dark-bg);
  color: var(--hero-dark-text);
  position: relative;
  overflow: hidden;
  padding-top: 6rem;
  padding-bottom: 4rem;
}
.install-hero.hero-dark .hero-bg,
.features-hero.hero-dark .hero-bg {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(200, 16, 46, 0.12) 0%, transparent 50%),
    linear-gradient(rgba(200, 16, 46, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 16, 46, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 24px 24px, 24px 24px;
}
.install-hero.hero-dark .section-title,
.features-hero.hero-dark .section-title,
.install-hero-title,
.features-hero-title { color: #fff; }
.install-hero.hero-dark .section-title::after,
.features-hero.hero-dark .section-title::after {
  background: var(--accent);
  opacity: 0.9;
}
.install-hero.hero-dark .section-lead,
.features-hero.hero-dark .section-lead,
.install-hero-lead,
.features-hero-lead { color: rgba(255, 255, 255, 0.75); }
.install-hero.hero-dark .hero-badge,
.features-hero.hero-dark .hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(200, 16, 46, 0.4);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius);
  margin: 0 0 1rem;
}
.features-hero.hero-dark .container,
.install-hero.hero-dark .container { position: relative; z-index: 1; }

.hero-inner { position: relative; }
.hero-title {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
}
.hero-title-line { display: block; }
.hero-title .accent { color: var(--accent); }
.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 480px;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ===== Buttons – skarpe kanter, neon glow hover ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-light);
  box-shadow: 0 0 20px var(--accent-glow-strong), 0 0 40px var(--accent-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(200, 16, 46, 0.08);
  box-shadow: 0 0 14px var(--accent-glow);
}

/* ===== Sections ===== */
.section {
  padding: clamp(2.5rem, 6vw, 5rem) 0;
  position: relative;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.5rem;
}
.section-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 2rem;
  height: 2px;
  background: var(--accent);
  margin-top: 0.5rem;
}
.section.no-underline .section-title::after { display: none; }
.section-lead {
  margin: 0 0 3rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}
.cta-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.5rem;
}
.cta-title::after {
  content: '';
  display: block;
  width: 2rem;
  height: 2px;
  background: var(--accent);
  margin: 0.5rem auto 0;
}
.features-preview-text {
  max-width: 700px;
  margin: 0 auto 2rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}
.features-preview-btn {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  text-align: center;
}
.section.features {
  border-top: 2px solid rgba(200, 16, 46, 0.15);
}

/* ===== Features grid ===== */
.features-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  padding: 1.35rem 1.5rem;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  border-color: var(--accent);
  border-left-width: 4px;
  background: var(--bg-elevated);
  box-shadow: 0 0 20px var(--accent-glow);
}
.feature-card:nth-child(3n) {
  border-radius: var(--radius);
}
/* Feature-ikoner – SVG mask, ingen emojis, ensartet look */
.feature-icon {
  display: block;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.6rem;
  background-color: var(--accent);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  opacity: 0.95;
}
.feature-icon-cog { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.65 1.65 0 00.33 1.82l.06.06a2 2 0 010 2.83 2 2 0 01-2.83 0l-.06-.06a1.65 1.65 0 00-1.82-.33 1.65 1.65 0 00-1 1.51V21a2 2 0 01-2 2 2 2 0 01-2-2v-.09A1.65 1.65 0 009.19 18l-1.82.33a2 2 0 01-2.83 0 2 2 0 010-2.83l.06-.06a1.65 1.65 0 00.33-1.82 1.65 1.65 0 00-1.51-1H3a2 2 0 01-2-2 2 2 0 012-2h.09A1.65 1.65 0 006 9.19l-.33-1.82a2 2 0 010-2.83 2 2 0 012.83 0l.06.06a1.65 1.65 0 001.82.33H9a1.65 1.65 0 001-1.51V3a2 2 0 012-2 2 2 0 012 2v.09a1.65 1.65 0 001 1.51 1.65 1.65 0 001.82-.33l.06-.06a2 2 0 012.83 0 2 2 0 010 2.83l-.06.06a1.65 1.65 0 00-.33 1.82V9a1.65 1.65 0 001.51 1H21a2 2 0 012 2 2 2 0 01-2 2h-.09a1.65 1.65 0 00-1.51 1z'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.65 1.65 0 00.33 1.82l.06.06a2 2 0 010 2.83 2 2 0 01-2.83 0l-.06-.06a1.65 1.65 0 00-1.82-.33 1.65 1.65 0 00-1 1.51V21a2 2 0 01-2 2 2 2 0 01-2-2v-.09A1.65 1.65 0 009.19 18l-1.82.33a2 2 0 01-2.83 0 2 2 0 010-2.83l.06-.06a1.65 1.65 0 00.33-1.82 1.65 1.65 0 00-1.51-1H3a2 2 0 01-2-2 2 2 0 012-2h.09A1.65 1.65 0 006 9.19l-.33-1.82a2 2 0 010-2.83 2 2 0 012.83 0l.06.06a1.65 1.65 0 001.82.33H9a1.65 1.65 0 001-1.51V3a2 2 0 012-2 2 2 0 012 2v.09a1.65 1.65 0 001 1.51 1.65 1.65 0 001.82-.33l.06-.06a2 2 0 012.83 0 2 2 0 010 2.83l-.06.06a1.65 1.65 0 00-.33 1.82V9a1.65 1.65 0 001.51 1H21a2 2 0 012 2 2 2 0 01-2 2h-.09a1.65 1.65 0 00-1.51 1z'/%3E%3C/svg%3E"); }
.feature-icon-shield { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E"); }
.feature-icon-chat { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M21 11.5a8.38 8.38 0 01-.9 3.8 8.5 8.5 0 01-7.6 4.7 8.38 8.38 0 01-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 01-.9-3.8 8.5 8.5 0 014.7-7.6 8.38 8.38 0 013.8-.9h.5a8.48 8.48 0 018 8v.5z'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M21 11.5a8.38 8.38 0 01-.9 3.8 8.5 8.5 0 01-7.6 4.7 8.38 8.38 0 01-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 01-.9-3.8 8.5 8.5 0 014.7-7.6 8.38 8.38 0 013.8-.9h.5a8.48 8.48 0 018 8v.5z'/%3E%3C/svg%3E"); }
.feature-icon-globe { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 014 10 15.3 15.3 0 01-4 10 15.3 15.3 0 01-4-10 15.3 15.3 0 014-10z'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 014 10 15.3 15.3 0 01-4 10 15.3 15.3 0 01-4-10 15.3 15.3 0 014-10z'/%3E%3C/svg%3E"); }
.feature-icon-docs { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cline x1='10' y1='9' x2='8' y2='9'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cline x1='10' y1='9' x2='8' y2='9'/%3E%3C/svg%3E"); }
.feature-icon-lock { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0110 0v4'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0110 0v4'/%3E%3C/svg%3E"); }
.feature-icon-user { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M20 21v-2a4 4 0 00-4-4H8a4 4 0 00-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M20 21v-2a4 4 0 00-4-4H8a4 4 0 00-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); }
.feature-icon-box { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M21 16V8a2 2 0 00-1-1.73l-7-4a2 2 0 00-2 0l-7 4A2 2 0 003 8v8a2 2 0 001 1.73l7 4a2 2 0 002 0l7-4A2 2 0 0021 16z'/%3E%3Cpolyline points='3.27 6.96 12 12.01 20.73 6.96'/%3E%3Cline x1='12' y1='22.08' x2='12' y2='12'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M21 16V8a2 2 0 00-1-1.73l-7-4a2 2 0 00-2 0l-7 4A2 2 0 003 8v8a2 2 0 001 1.73l7 4a2 2 0 002 0l7-4A2 2 0 0021 16z'/%3E%3Cpolyline points='3.27 6.96 12 12.01 20.73 6.96'/%3E%3Cline x1='12' y1='22.08' x2='12' y2='12'/%3E%3C/svg%3E"); }
.feature-icon-car { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M14 16H9m10 0h1v-3l-3-4H7l-3 4v3h1'/%3E%3Cpath d='M5 17h14v-5H5z'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M14 16H9m10 0h1v-3l-3-4H7l-3 4v3h1'/%3E%3Cpath d='M5 17h14v-5H5z'/%3E%3C/svg%3E"); }
.feature-icon-crosshair { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='2' x2='12' y2='6'/%3E%3Cline x1='12' y1='18' x2='12' y2='22'/%3E%3Cline x1='2' y1='12' x2='6' y2='12'/%3E%3Cline x1='18' y1='12' x2='22' y2='12'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='2' x2='12' y2='6'/%3E%3Cline x1='12' y1='18' x2='12' y2='22'/%3E%3Cline x1='2' y1='12' x2='6' y2='12'/%3E%3Cline x1='18' y1='12' x2='22' y2='12'/%3E%3C/svg%3E"); }
.feature-card h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
}
.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ===== How it works ===== */
.how-it-works {
  background: var(--bg-card);
  border-top: 2px solid rgba(200, 16, 46, 0.2);
  border-bottom: 1px solid var(--border);
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding-left: 4rem;
  counter-increment: step;
}
.step-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid var(--accent);
  border-radius: 4px;
}
.steps li h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
}
.steps li p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.step-note {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  opacity: 0.9;
}
.steps-scan .step-note {
  font-style: italic;
}

/* ===== CTA ===== */
.cta {
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}
.cta-inner {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 0 0 1px rgba(200, 16, 46, 0.1);
}
.cta-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
}
.cta-text {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
}
.cta-text .link-accent {
  color: var(--accent);
  text-decoration: none;
  transition: text-shadow 0.2s;
}
.cta-text .link-accent:hover {
  text-decoration: underline;
  text-shadow: 0 0 12px var(--accent-glow);
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ===== Footer ===== */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: 0 -1px 0 var(--border);
  position: relative;
}
.footer-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 2px;
  background: var(--accent);
  opacity: 0.7;
}
.footer-brand em {
  color: var(--accent);
  font-style: normal;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text);
}
.footer-brand img {
  height: 28px;
  width: auto;
  display: block;
  object-fit: contain;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s, text-shadow 0.2s;
}
.footer-links a:hover {
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent-glow);
}
.footer-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  width: 100%;
  text-align: center;
}
.footer-discord {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: text-shadow 0.2s;
}
.footer-discord:hover { text-shadow: 0 0 12px var(--accent-glow); }
.copyright {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  width: 100%;
  text-align: center;
}
.footer-note a {
  color: var(--accent);
  text-decoration: none;
}
.footer-note a:hover { text-decoration: underline; }

/* ===== Contact section ===== */
.contact {
  background: var(--bg-card);
  border-top: 2px solid rgba(200, 16, 46, 0.2);
}
.contact-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.contact-info h3 {
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
  font-weight: 600;
}
.contact-info p {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}
.contact-method {
  font-size: 1rem;
}
.contact-method a {
  color: var(--accent);
  text-decoration: none;
  transition: text-shadow 0.2s;
}
.contact-method a:hover {
  text-decoration: underline;
  text-shadow: 0 0 12px var(--accent-glow);
}

/* ===== Fade-in sektioner ===== */
.section.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: sectionReveal 0.6s ease forwards;
}
main .section.reveal:nth-child(2) { animation-delay: 0.05s; }
main .section.reveal:nth-child(3) { animation-delay: 0.1s; }
main .section.reveal:nth-child(4) { animation-delay: 0.15s; }
main .section.reveal:nth-child(5) { animation-delay: 0.2s; }
main .section.reveal:nth-child(6) { animation-delay: 0.25s; }
main .section.reveal:nth-child(7) { animation-delay: 0.3s; }
main .section.reveal:nth-child(8) { animation-delay: 0.35s; }
@keyframes sectionReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Testimonials ===== */
.testimonials {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.testimonial-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.testimonial-card:hover {
  border-color: rgba(200, 16, 46, 0.4);
  box-shadow: 0 0 16px var(--accent-glow);
}
.testimonial-card blockquote {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  font-style: italic;
}
.testimonial-card cite {
  font-size: 0.85rem;
  color: var(--accent);
  font-style: normal;
  font-weight: 500;
}

/* ===== Partnere (Redline RP-style) ===== */
.partners {
  background: var(--bg);
  border-top: 2px solid rgba(200, 16, 46, 0.15);
  border-bottom: 1px solid var(--border);
}
.partners-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.partner-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.partner-card:hover {
  border-color: rgba(200, 16, 46, 0.5);
  box-shadow: 0 0 24px var(--accent-glow);
}
.partner-link {
  display: flex;
  flex-direction: column;
  min-height: 140px;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  background: var(--bg-card);
  position: relative;
  transition: background 0.2s;
}
.partner-link:hover {
  background: var(--bg-elevated);
}
.partner-link:hover .partner-info {
  opacity: 1;
  transform: translateY(0);
}
.partner-logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  min-height: 48px;
}
.partner-logo img {
  max-width: 180px;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.partner-link:hover .partner-logo {
  color: var(--accent);
  text-shadow: 0 0 12px var(--accent-glow);
}
.partner-link:hover .partner-logo img {
  filter: drop-shadow(0 0 8px var(--accent-glow));
}
.partner-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  opacity: 0.7;
  transform: translateY(4px);
  transition: opacity 0.25s, transform 0.25s;
}
.partner-info strong {
  font-size: 0.95rem;
  color: var(--text);
}
.partner-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.partner-cta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 0.25rem;
}
.partner-placeholder .partner-logo {
  color: var(--text-muted);
}
.partner-placeholder:hover .partner-logo {
  color: var(--accent);
}

/* ===== Partner-logoer der kører i bunden (ticker) ===== */
.partners-ticker-wrap {
  margin-top: 2.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.partners-ticker {
  overflow: hidden;
}
.partners-ticker-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: partners-ticker-scroll 25s linear infinite;
  animation-iteration-count: infinite;
  will-change: transform;
  backface-visibility: hidden;
}
.partners-ticker-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 56px;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.partners-ticker-item:hover {
  opacity: 1;
}
.partners-ticker-item img {
  max-width: 140px;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
@keyframes partners-ticker-scroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-33.333%, 0, 0); }
}

/* ===== Licens / CTA licens ===== */
.licens {
  padding: 4rem 0;
}
.licens-inner {
  text-align: center;
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, rgba(200, 16, 46, 0.08) 0%, transparent 50%);
  border: 1px solid rgba(200, 16, 46, 0.25);
  border-radius: var(--radius);
}
.licens-inner .section-title { color: var(--text); }
.licens-inner .section-title::after { margin-left: 0; }
.licens-inner .section-lead.licens-lead { margin-bottom: 0; }
.licens-inner .cta-buttons { margin-top: 1rem; }
.licens-inner .btn-primary:hover {
  box-shadow: 0 0 24px var(--accent-glow-strong), 0 0 48px var(--accent-glow);
}

/* ===== Licens page (/licens) ===== */
.licens-page .section { padding-top: 5rem; }
.licens-hero.hero-dark {
  padding-top: 6rem;
  padding-bottom: 4rem;
  text-align: center;
}
.licens-hero.hero-dark .hero-bg {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(200, 16, 46, 0.12) 0%, transparent 50%),
    linear-gradient(rgba(200, 16, 46, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 16, 46, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 36px 36px, 36px 36px;
}
.licens-hero-title,
.licens-hero-lead { color: inherit; }
.licens-hero-lead { margin-bottom: 0; }

.licens-lifetime-cta {
  margin: 1.5rem 0 0.75rem;
}
.licens-lifetime-cta .btn-large {
  font-size: 1.1rem;
  padding: 0.9rem 1.75rem;
}
.licens-link-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0 0 2rem;
}

.licens-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0 3rem;
}
.licens-option-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.licens-option-card:hover {
  border-color: rgba(200, 16, 46, 0.4);
  box-shadow: 0 0 16px var(--accent-glow);
}
.licens-option-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--text);
}
.licens-option-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1.25rem;
}
.licens-option-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.licens-option-soon {
  border-style: dashed;
  opacity: 0.92;
}
.licens-soon-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(200, 16, 46, 0.12);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius);
}
.licens-faq {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.licens-faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 640px;
}
.licens-faq-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.licens-faq-list li:last-child { border-bottom: none; }
.licens-faq-list strong { color: var(--text); }
.licens-faq-list a {
  color: var(--accent);
  text-decoration: none;
}
.licens-faq-list a:hover { text-decoration: underline; }
.licens-contact-methods { margin-top: 1rem; }

.licens-stock-box {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.licens-stock-label { color: var(--text-muted); }
.licens-stock-number { color: var(--accent); font-size: 1.25rem; }

.licens-admin-box {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 400px;
}
.licens-admin-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}
.licens-admin-unlock,
.licens-admin-edit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.licens-admin-unlock input[type="email"] { width: 200px; }
.licens-admin-unlock input[type="password"] { width: 140px; }
.licens-admin-unlock input,
.licens-admin-edit input {
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  color: var(--text);
}
.licens-admin-edit input[type="number"] { width: 100px; }
.licens-admin-edit {
  flex-direction: column;
  align-items: flex-start;
}
.licens-admin-edit label {
  display: block;
  width: 100%;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.licens-admin-edit input[type="number"] { width: 100px; }
.licens-admin-error {
  font-size: 0.85rem;
  color: var(--accent-light);
  margin: 0.5rem 0 0;
}

/* ===== Installation page ===== */
.install-page .section { padding-top: 5rem; }
.install-hero { padding-top: 6rem; }

.install-video {
  margin-bottom: 3rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  box-shadow: var(--shadow-md);
}
.install-video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 500px;
}
.install-video-caption {
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.install-steps {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.install-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.install-step-num {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 8px;
}
.install-step-body h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
}
.install-step-body p {
  margin: 0 0 0.5rem;
  color: var(--text-muted);
}
.install-step-body p:last-of-type { margin-bottom: 0; }
.install-step-body .btn { margin-top: 0.75rem; }

.install-tip {
  margin-top: 0.75rem !important;
  padding: 0.75rem 1rem;
  background: rgba(200, 16, 46, 0.1);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
  color: var(--text) !important;
  font-size: 0.95rem;
}
.install-success { border-left-color: var(--accent); }
.install-path code,
.install-step-body code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  padding: 0.15em 0.4em;
  background: var(--bg-elevated);
  border-radius: 6px;
  color: var(--accent);
  border: 1px solid var(--border);
}
.install-warning {
  margin-top: 0.75rem !important;
  padding: 0.75rem 1rem;
  background: rgba(234, 179, 8, 0.15);
  border-radius: 8px;
  border-left: 3px solid #eab308;
  color: var(--text) !important;
  font-size: 0.95rem;
}

.code-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.code-block code {
  flex: 1;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--accent);
  padding: 0;
  background: none;
}
.code-copy {
  flex-shrink: 0;
  padding: 0.4rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  background: var(--border);
  border: none;
  border-radius: 6px;
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.code-copy:hover {
  background: var(--accent);
  color: #fff;
}

.install-help {
  margin-bottom: 2rem;
  padding: 1.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}
.install-help h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}
.install-help p {
  color: var(--text-muted);
  margin: 0 0 1rem;
}
.install-help-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.install-cta { margin-top: 2rem; }

/* ===== Mobile-first / touch & læsbarhed ===== */
@media (max-width: 768px) {
  .section { padding: clamp(2rem, 5vw, 3rem) 0; }
  .hero {
    padding: clamp(3.5rem, 8vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  }
  .hero-title { font-size: clamp(1.75rem, 6vw, 2.5rem); }
  .hero-lead { font-size: 1rem; }
  .hero-meta { font-size: 0.75rem; }
  .hero-stats { gap: 0.75rem 1.25rem; margin-bottom: 1.5rem; }
  .hero-stats li { font-size: 0.85rem; }
  .hero-cta {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
  }
  .hero-cta .btn {
    width: 100%;
    min-height: 48px;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
  }
  .btn {
    min-height: 44px;
    padding: 0.75rem 1.25rem;
  }
  .features-grid { grid-template-columns: 1fr; gap: 1rem; }
  .feature-card { padding: 1.25rem 1rem; }
  .feature-card h3 { font-size: 1rem; }
  .feature-card p { font-size: 0.9375rem; }
  .section-title { font-size: clamp(1.35rem, 5vw, 1.75rem); }
  .section-lead { margin-bottom: 2rem; font-size: 1rem; }
  .features-preview-text { font-size: 0.9375rem; margin-bottom: 1.5rem; }
  .steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .steps li { padding-left: 3.5rem; }
  .step-num { width: 2.25rem; height: 2.25rem; font-size: 0.9375rem; }
  .install-step { flex-direction: column; gap: 1rem; }
  .install-step-num { width: 2.25rem; height: 2.25rem; font-size: 1rem; }
  .cta-inner { padding: 2rem 1rem; }
  .cta-title { font-size: 1.5rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .nav {
    position: fixed;
    top: 4rem;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1rem 1.5rem;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.2s, opacity 0.2s, visibility 0.2s;
  }
  .nav a {
    display: block;
    padding: 0.875rem 0;
    min-height: 44px;
    line-height: 1.4;
  }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-toggle {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container { padding-left: 1rem; padding-right: 1rem; }
  body { font-size: 16px; }
  .code-block {
    flex-direction: column;
    align-items: stretch;
    padding: 0.875rem 1rem;
  }
  .code-block code { font-size: 0.875rem; word-break: break-all; }
  .code-copy { min-height: 44px; }
  .install-step { padding: 1.25rem 1rem; }
  .install-help-buttons .btn { min-height: 44px; width: 100%; }
  .features-categories { grid-template-columns: 1fr; }
  .feature-category { padding: 1.25rem 1rem; }
  .feature-list li { font-size: 0.9375rem; }
  .error-links .btn { min-height: 44px; width: 100%; }
}

/* ===== Features page ===== */
.features-page .section { padding-top: 5rem; }
.features-hero { padding-top: 6rem; text-align: center; }
.features-list { padding-top: 2rem; }
.features-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.feature-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.feature-category:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.category-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--accent);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.feature-list li {
  padding: 0.4rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  position: relative;
  padding-left: 1rem;
}
.feature-list li::before {
  content: '•';
  color: var(--accent);
  font-weight: bold;
  position: absolute;
  left: 0;
}
.features-cta {
  text-align: center;
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.features-cta .cta-title { margin-bottom: 0.5rem; }
.features-cta .cta-title::after { margin-left: auto; margin-right: auto; }
.features-cta .cta-label { margin-bottom: 0.35rem; }
.features-cta .cta-text { margin-bottom: 1rem; }

/* ===== 404 side ===== */
.page-404 { padding-top: 5rem; min-height: 75vh; display: flex; align-items: center; }
.page-404-hero {
  position: relative;
  width: 100%;
  padding: clamp(3rem, 8vw, 5rem) 0;
}
.page-404-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(200, 16, 46, 0.06) 0%, transparent 60%),
    linear-gradient(rgba(200, 16, 46, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 16, 46, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 32px 32px, 32px 32px;
  pointer-events: none;
}
.page-404-inner { position: relative; z-index: 1; }
.error-content-card {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 4vw, 2.5rem);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(200, 16, 46, 0.08);
  border-left: 4px solid var(--accent);
}
.error-content { text-align: center; padding: 3rem 0; }
.error-code {
  font-family: var(--font-mono);
  font-size: clamp(3.5rem, 10vw, 5.5rem);
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
  margin: 0 0 0.75rem;
  letter-spacing: -0.04em;
  text-shadow: 0 0 30px var(--accent-glow);
}
.error-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3.5vw, 1.85rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--text);
}
.error-text {
  color: var(--text-muted);
  max-width: 400px;
  margin: 0 auto 1.75rem;
  font-size: 1rem;
  line-height: 1.6;
}
.error-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.error-links .btn { min-height: 44px; }
@media (max-width: 480px) {
  .error-content-card { padding: 1.5rem 1.25rem; }
  .error-links { flex-direction: column; }
  .error-links .btn { width: 100%; }
}

/* ===== Dokumentationsside (docs) ===== */
.docs-page { padding-top: 4rem; min-height: 100vh; }
.docs-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  max-width: min(1400px, 96vw);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2rem) var(--container-padding) clamp(2rem, 6vw, 4rem);
  align-items: start;
}
.docs-layout .docs-sidebar {
  min-width: 0;
}
/* Menu-knap: altid synlig, så man kan åbne/lukke menuen */
.docs-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
}
.docs-menu-toggle:hover { color: var(--text); border-color: var(--accent); }
/* Sidebar lukket som standard – kun synlig når .is-open */
.docs-sidebar {
  display: none;
  flex-direction: column;
  margin-bottom: 1.5rem;
}
.docs-sidebar.is-open { display: flex; }
@media (min-width: 901px) {
  .docs-menu-toggle { display: none; }
  .docs-sidebar { display: flex; }
  .docs-layout .docs-sidebar { width: 220px; }
  .docs-sidebar.is-open { position: sticky; top: 5rem; }
}
@media (max-width: 900px) {
  .docs-layout { grid-template-columns: 1fr; }
  .docs-sidebar { position: static; }
  .docs-sidebar-title { margin-bottom: 0.75rem; }
  .docs-nav { display: flex; flex-direction: column; gap: 0.15rem; }
  .docs-nav a { padding: 0.45rem 0.6rem; font-size: 0.9rem; }
  .docs-sidebar-footer { width: 100%; margin-top: 1rem; }
}
.docs-sidebar {
  position: sticky;
  top: 5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  flex-direction: column;
}
.docs-sidebar.is-open {
  display: flex;
}
.docs-sidebar-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}
.docs-nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.docs-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}
.docs-nav a:hover {
  color: var(--text);
  background: rgba(200, 16, 46, 0.1);
}
.docs-sidebar-footer { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border); }
.docs-external {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
}
.docs-external:hover { color: var(--accent); }
.docs-external-stack {
  display: block;
  margin-top: 0.5rem;
}
.docs-content { min-width: 0; }
.docs-hero { margin-bottom: 2.5rem; }
.docs-main-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
.docs-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
}
.docs-section {
  margin-bottom: 2.5rem;
  scroll-margin-top: 5rem;
}
.docs-section h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border);
}
.docs-section h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.75rem 0 0.5rem;
}
.docs-section p, .docs-section li {
  color: var(--text-muted);
  margin: 0 0 0.75rem;
  line-height: 1.65;
}
.docs-section ul, .docs-section ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}
.docs-section a { color: var(--accent); text-decoration: none; }
.docs-section a:hover { text-decoration: underline; }
.docs-section code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--bg-elevated);
  padding: 0.15em 0.4em;
  border-radius: var(--radius-sm);
  color: var(--text);
}
.docs-footer-cta {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.docs-footer-cta p { margin: 0; color: var(--text-muted); }
.docs-footer-cta .btn { flex-shrink: 0; }

.docs-nav-group {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}
.docs-nav-group-title {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 0.35rem 0.6rem 0.25rem;
  opacity: 0.85;
}
.docs-nav a.docs-nav-sub {
  padding-left: 1rem;
  font-size: 0.85rem;
  border-left: 2px solid transparent;
}
.docs-nav a.docs-nav-sub:hover {
  border-left-color: var(--accent);
}
.docs-quote {
  margin: 0 0 1rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--accent);
  background: var(--bg-elevated);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.docs-muted-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 1.25rem 0 0;
  line-height: 1.55;
}
.docs-muted-note a { color: var(--accent); }
