/* ===== Design tokens ===== */
:root {
  --bg: #0a0b10;
  --bg-alt: #0f1118;
  --surface: #14161f;
  --surface-2: #1a1d28;
  --border: #262a38;
  --text: #eef0f6;
  --muted: #a3a8ba;
  --accent: #38e1ff;
  --accent-2: #b14bff;
  --grad: linear-gradient(100deg, #38e1ff 0%, #7a5cff 55%, #ff5cc8 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1160px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .7);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: "Space Grotesk", sans-serif; line-height: 1.1; font-weight: 700; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .18em; font-size: .78rem;
  font-weight: 600; color: var(--accent); margin-bottom: 14px;
}
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--grad); color: #0a0b10; font-weight: 600; font-size: .95rem;
  padding: 12px 22px; border-radius: 999px; border: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  box-shadow: 0 8px 26px -10px rgba(56, 225, 255, .6);
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 14px 32px -10px rgba(123, 92, 255, .7); }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-ghost {
  background: transparent; color: var(--text); border: 1px solid var(--border);
  box-shadow: none;
}
.btn-ghost:hover { border-color: var(--accent); box-shadow: none; }

/* ===== Header / nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 11, 16, .72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 40px; width: auto; mix-blend-mode: screen; display: block; }
.brand-mark { color: var(--accent); display: inline-flex; }
.brand-accent { color: var(--accent); }
.footer-logo { height: 68px; width: auto; mix-blend-mode: screen; display: block; margin-bottom: 6px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.btn { color: #0a0b10; }
.lang-switch {
  border: 1px solid var(--border); border-radius: 999px; padding: 6px 13px;
  font-size: .82rem; letter-spacing: .04em; font-weight: 600;
}
.lang-switch:hover { border-color: var(--accent); color: var(--accent); }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none;
  cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding: 120px 0 90px; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: url("bilder/magnus-lunay-LHR6tUw8N34-unsplash.jpg") center/cover no-repeat;
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 25% 20%, rgba(10,11,16,.25), rgba(10,11,16,.58) 80%),
    linear-gradient(180deg, rgba(10,11,16,.22) 0%, rgba(10,11,16,.55) 100%);
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); letter-spacing: -.02em; margin-bottom: 22px; text-shadow: 0 2px 20px rgba(0,0,0,.5); }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.2rem); color: #eef1f8; max-width: 620px; margin-bottom: 34px; text-shadow: 0 1px 12px rgba(0,0,0,.7); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 54px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 42px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: "Space Grotesk", sans-serif; font-size: 1.9rem; color: var(--text); }
.hero-stats span { color: var(--muted); font-size: .9rem; }

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 16px; letter-spacing: -.01em; }
.section-lead { color: var(--muted); font-size: 1.05rem; }

/* ===== Cards (ydelser) ===== */
.grid { display: grid; gap: 22px; }
.cards { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 26px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(56,225,255,.5); background: var(--surface-2); }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 20px;
  color: var(--accent); background: rgba(56, 225, 255, .1);
  border: 1px solid rgba(56, 225, 255, .25);
}
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .96rem; }

/* ===== Split (om os / kontakt) ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.split-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 18px; }
.split-text p { color: var(--muted); margin-bottom: 16px; }
.checklist { list-style: none; margin: 24px 0 30px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; color: var(--text); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--grad);
}
.checklist li::after {
  content: ""; position: absolute; left: 5px; top: 10px; width: 5px; height: 8px;
  border: solid #0a0b10; border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* ===== Om os (prosa) ===== */
.about-img {
  width: 100%; max-height: 380px; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 34px;
}
.prose p { color: var(--muted); margin-bottom: 16px; }
.prose p:last-child { margin-bottom: 0; }
.about-cta { margin-top: 30px; text-align: center; }

/* ===== Steps ===== */
.steps { grid-template-columns: repeat(4, 1fr); }
.step {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px; position: relative;
}
.step-num {
  font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.1rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; display: block; margin-bottom: 14px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .94rem; }

/* ===== Klikbare service-kort ===== */
a.card { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
a.card .card-more {
  margin-top: 16px; color: var(--accent); font-weight: 600; font-size: .92rem;
  display: inline-flex; align-items: center; gap: 6px; transition: gap .15s ease;
}
a.card:hover .card-more { gap: 10px; }
.card p { flex: 1; }

/* ===== Underside: hero ===== */
.subhero { position: relative; overflow: hidden; padding: 128px 0 84px; }
.subhero-bg { position: absolute; inset: 0; pointer-events: none; background-size: cover; background-position: center; transform: scale(1.03); }
.subhero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10,11,16,.5) 0%, rgba(10,11,16,.28) 55%, rgba(10,11,16,.1) 100%),
    linear-gradient(180deg, rgba(10,11,16,0) 48%, rgba(10,11,16,.42) 100%);
}
.subhero-inner { position: relative; z-index: 1; max-width: 760px; }
.subhero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 16px; letter-spacing: -.01em; color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,.9), 0 4px 20px rgba(0,0,0,.5); }
.subhero .lead { color: #fff; font-size: 1.12rem; max-width: 620px; margin-bottom: 28px; text-shadow: 0 1px 3px rgba(0,0,0,.9), 0 2px 12px rgba(0,0,0,.7); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .85rem; color: var(--muted); margin-bottom: 18px; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .current { color: var(--accent); }

/* ===== Underside: bredt billede ===== */
.showcase { position: relative; }
.showcase img { width: 100%; height: clamp(280px, 46vh, 520px); object-fit: cover; display: block; }
.showcase figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 24px 20px;
  color: var(--muted); font-size: .9rem; text-align: center;
  background: linear-gradient(180deg, transparent, rgba(10,11,16,.85));
}

/* ===== Underside: udstyr/mærker ===== */
.brands { display: flex; flex-wrap: wrap; gap: 12px; }
.brand-pill {
  padding: 12px 22px; border: 1px solid var(--border); border-radius: 999px;
  background: var(--surface); font-family: "Space Grotesk", sans-serif; font-weight: 600;
  color: var(--text); transition: border-color .15s, transform .15s;
}
.brand-pill:hover { border-color: rgba(56,225,255,.5); transform: translateY(-2px); }
.brand-note { color: var(--muted); font-size: .9rem; margin-top: 20px; }

/* ===== Brighter brand-side ===== */
.brighter { --accent: #aefc00; --accent-2: #86d000; --grad: linear-gradient(100deg, #aefc00, #6fd400); }
/* Brighter-hero bruger nu samme lette slør + hvide tekst som de øvrige top-billeder */
.brand-hero-logo { height: 58px; width: auto; display: block; margin-bottom: 20px; }
.dealer-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(174,252,0,.12); border: 1px solid rgba(174,252,0,.45);
  color: var(--accent); padding: 8px 16px; border-radius: 999px;
  font-weight: 600; font-size: .84rem; letter-spacing: .02em;
}
.product-grid { grid-template-columns: repeat(3, 1fr); }
.product-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, border-color .2s ease;
}
.product-card:hover { transform: translateY(-4px); border-color: rgba(174,252,0,.55); }
.product-img { background: #fff; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; padding: 18px; }
.product-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-body { padding: 24px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.product-cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); font-weight: 700; }
.product-body h3 { font-size: 1.18rem; }
.product-body p { color: var(--muted); font-size: .93rem; }
.spec-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.spec-chip { font-size: .75rem; padding: 5px 11px; border: 1px solid var(--border); border-radius: 999px; color: var(--text); background: var(--bg); }
.product-links { margin-top: auto; padding-top: 10px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.product-links a { font-size: .9rem; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.product-links a:hover { text-decoration: underline; }
.cat-title { font-family: "Space Grotesk", sans-serif; font-size: 1.3rem; font-weight: 700; margin: 8px 0 20px; display: flex; align-items: center; gap: 12px; }
.cat-title::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--grad); }
.cat-title:not(:first-child) { margin-top: 48px; }
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .product-grid { grid-template-columns: 1fr; } }

/* ===== Galleri ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.gallery-item {
  position: relative; margin: 0; border-radius: var(--radius); overflow: hidden;
  cursor: zoom-in; border: 1px solid var(--border); background: var(--surface);
}
.gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 13px;
  color: #fff; font-size: .92rem; opacity: 0; transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
  background: linear-gradient(180deg, transparent, rgba(10,11,16,.88));
}
.gallery-item:hover figcaption { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
  background: rgba(6,7,11,.93); padding: 48px 16px; }
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb-figure img { max-width: 92vw; max-height: 80vh; object-fit: contain; border-radius: 10px; box-shadow: var(--shadow); }
.lb-figure figcaption { color: var(--muted); font-size: .95rem; text-align: center; }
.lb-close { position: absolute; top: 16px; right: 24px; background: none; border: none; color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff;
  width: 52px; height: 52px; border-radius: 50%; font-size: 1.9rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .15s;
}
.lb-nav:hover { background: rgba(255,255,255,.2); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }

/* ===== Testimonials ===== */
.testimonials { grid-template-columns: repeat(3, 1fr); }
.testimonial {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 26px; display: flex; flex-direction: column; gap: 14px;
}
.testimonial .stars { color: #ffce54; letter-spacing: 2px; font-size: 1rem; }
.testimonial blockquote { color: var(--text); font-size: 1rem; line-height: 1.6; flex: 1; }
.testimonial figcaption { display: flex; flex-direction: column; gap: 2px; }
.testimonial figcaption strong { font-family: "Space Grotesk", sans-serif; }
.testimonial figcaption span { color: var(--muted); font-size: .88rem; }

/* ===== FAQ ===== */
.faq { display: grid; gap: 14px; }
.faq details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 22px;
  font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 1.02rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: color .15s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--accent); font-size: 1.5rem; line-height: 1;
  font-weight: 400; transition: transform .2s ease; flex: none;
}
.faq details[open] summary { color: var(--accent); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* ===== CTA band ===== */
.cta-band { position: relative; overflow: hidden; padding: 84px 0; text-align: center; }
.cta-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: url("bilder/ambitious-studio-rick-barrett-Ugzhg8-tO3U-unsplash.jpg") center/cover;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,11,16,.82), rgba(10,11,16,.92));
}
.cta-inner { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 14px; }
.cta-inner p { color: var(--muted); margin-bottom: 28px; font-size: 1.08rem; }

/* ===== Contact info + form ===== */
.contact-info { list-style: none; margin-top: 30px; display: grid; gap: 20px; }
.contact-info li { display: flex; gap: 14px; align-items: flex-start; }
.ci-icon {
  flex: none; width: 42px; height: 42px; border-radius: 12px; color: var(--accent);
  background: rgba(56,225,255,.1); border: 1px solid rgba(56,225,255,.25);
  display: inline-flex; align-items: center; justify-content: center;
}
.contact-info span span, .contact-info li > span:last-child { display: flex; flex-direction: column; }
.contact-info strong { font-family: "Space Grotesk", sans-serif; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.contact-info a { color: var(--text); }
.contact-info a:hover { color: var(--accent); }

.split-form {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow);
}
.form { display: grid; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: .88rem; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  background: var(--bg); border: 1px solid var(--border); color: var(--text);
  padding: 12px 14px; border-radius: var(--radius-sm); font: inherit; font-size: .95rem;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(56,225,255,.15);
}
.field textarea { resize: vertical; }
.form-note { font-size: .9rem; text-align: center; min-height: 1.2em; }
.form-note.ok { color: #4ade80; }
.form-note.err { color: #f87171; }

/* ===== Footer ===== */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding-top: 56px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer-brand p { color: var(--muted); margin-top: 12px; font-size: .94rem; max-width: 280px; }
.socials { display: flex; gap: 12px; margin-top: 18px; }
.social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border);
  transition: color .15s, border-color .15s, transform .15s;
}
.social:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.footer-col h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; color: var(--muted); }
.footer-col a { display: block; color: var(--text); margin-bottom: 10px; font-size: .94rem; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; border-top: 1px solid var(--border);
  color: var(--muted); font-size: .88rem;
}
.footer-bottom a:hover { color: var(--accent); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split-media { order: -1; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--bg-alt); border-bottom: 1px solid var(--border);
    padding: 8px 24px 20px; transform: translateY(-120%); transition: transform .3s ease;
    align-items: stretch;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-links a.btn { margin-top: 12px; justify-content: center; border-bottom: none; }
  .nav-toggle { display: flex; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
