*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --yellow: #FFC400;
  --yellow-dark: #E5AC00;
  --yellow-soft: rgba(255,196,0,0.12);
  --black: #0A0B0D;
  --surface: #121418;
  --surface-2: #191C21;
  --border: #2A2E36;
  --text: #F2F4F6;
  --muted: #98A0AC;
  --white: #FFFFFF;
  --radius: 12px;
  --shadow: 0 8px 36px rgba(0,0,0,0.5);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--black);
  line-height: 1.6;
}

::selection { background: var(--yellow); color: var(--black); }

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 72px;
  background: rgba(10,11,13,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.18s;
}

.nav-links a:hover, .nav-links a.active { color: var(--yellow); }

.nav-links .nav-cta {
  background: var(--yellow);
  color: var(--black) !important;
  padding: 0.5rem 1.3rem;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.18s;
}

.nav-links .nav-cta:hover { background: var(--yellow-dark); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

/* HERO */
@keyframes glowPulse {
  0%, 100% {
    filter: drop-shadow(0 0 6px rgba(255,255,255,0.9)) drop-shadow(0 0 18px rgba(255,196,0,0.55));
  }
  50% {
    filter: drop-shadow(0 0 10px rgba(255,255,255,1)) drop-shadow(0 0 32px rgba(255,196,0,0.8)) drop-shadow(0 0 56px rgba(255,196,0,0.4));
  }
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  padding: 100px 2rem 6rem;
  overflow: hidden;
}

/* Bakgrundsfoto – gråskala så att det gula temat får sticka ut */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('hero.jpg') center center / cover no-repeat;
  filter: grayscale(100%) contrast(1.08) brightness(0.4);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px) 0 0 / 44px 44px,
    radial-gradient(ellipse at 22% 62%, rgba(255,196,0,0.2) 0%, transparent 55%),
    linear-gradient(180deg, rgba(10,11,13,0.86) 0%, rgba(10,11,13,0.6) 45%, rgba(10,11,13,0.95) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 740px;
}

.hero-logo {
  height: 96px;
  width: auto;
  object-fit: contain;
  margin-bottom: 2.25rem;
  animation: glowPulse 3.5s ease-in-out infinite;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 1.35rem;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.6);
}

.hero-content p {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 2.75rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.75rem;
  color: rgba(255,255,255,0.62);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-trust svg {
  width: 14px;
  height: 14px;
  color: var(--yellow);
  flex-shrink: 0;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #FFD233 0%, var(--yellow) 55%, var(--yellow-dark) 100%);
  color: var(--black);
  padding: 0.9rem 2.25rem;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(255,196,0,0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--yellow) 0%, #FFD233 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,196,0,0.42);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 0.9rem 2.25rem;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1.5px solid rgba(255,255,255,0.35);
  transition: border-color 0.18s, background 0.18s, color 0.18s;
}

.btn-secondary:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  background: rgba(255,196,0,0.08);
}

.btn-full { width: 100%; text-align: center; font-size: 1rem; padding: 1rem; }

/* SECTIONS */
.section { padding: 7rem 2rem; background: var(--black); }
.section-alt {
  background-color: var(--surface);
  background-image: repeating-linear-gradient(
    -55deg,
    transparent 0,
    transparent 14px,
    rgba(255,255,255,0.014) 14px,
    rgba(255,255,255,0.014) 15px
  );
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--yellow);
  margin-bottom: 0.85rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
}

.section h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 2.5rem;
  color: var(--white);
}

.section-intro {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 3.5rem;
  line-height: 1.75;
}

.section-intro strong { color: var(--yellow); font-weight: 700; }

/* OM OSS */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.about-text p {
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1.1rem;
  font-size: 1rem;
}

.about-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.about-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
}

.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--yellow);
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}

.stat {
  text-align: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-top: 3px solid var(--yellow);
  border-radius: var(--radius);
  padding: 2rem 1rem 1.75rem;
  box-shadow: 0 6px 28px rgba(0,0,0,0.35);
}

.stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--yellow);
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

/* CARDS (TJÄNSTER) */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-top: 3px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem;
  transition: box-shadow 0.22s, transform 0.22s, border-top-color 0.22s;
}

.card:hover {
  box-shadow: 0 12px 44px rgba(0,0,0,0.5);
  transform: translateY(-5px);
  border-top-color: var(--yellow);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.card-icon svg { width: 26px; height: 26px; }

.card-icon.red { background: var(--yellow-soft); color: var(--yellow); }
.card-icon.blue { background: rgba(255,255,255,0.07); color: var(--yellow); }

.card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--white);
}

.card p { font-size: 0.93rem; color: var(--muted); line-height: 1.75; }

/* FILTER BAR */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.75rem;
}

.filter-btn {
  padding: 0.48rem 1.15rem;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.18s;
}

.filter-btn:hover { border-color: var(--yellow); color: var(--yellow); }
.filter-btn.active { background: var(--yellow); border-color: var(--yellow); color: var(--black); }

/* PRODUCT CARDS */
.products-grid-full {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}

.pcard {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s;
}

.pcard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: var(--yellow);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.24s ease;
  z-index: 1;
}

.pcard:hover {
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  transform: translateY(-3px);
  border-color: #3a4049;
}

.pcard:hover::before { transform: scaleY(1); }

.pcard.hidden { display: none; }

.pcard-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.pcard-model {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--yellow);
}

.pcard-name {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.pcard-short {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}

.pcard-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.3rem;
}

.tag {
  font-size: 0.67rem;
  font-weight: 600;
  padding: 0.18rem 0.6rem;
  border-radius: 4px;
  background: rgba(255,196,0,0.09);
  color: var(--yellow);
  border: 1px solid rgba(255,196,0,0.25);
  letter-spacing: 0.02em;
}

.pcard-btn {
  display: block;
  text-align: center;
  margin-top: 0.85rem;
  padding: 0.65rem 1rem;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.02em;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  width: 100%;
}

.pcard-btn:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}

/* MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(16px);
  transition: transform 0.2s;
}

.modal-overlay.open .modal-box { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(10,11,13,0.75);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: background 0.2s, color 0.2s;
}

.modal-close:hover { background: var(--yellow); color: var(--black); }

.modal-img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  background: #F1F3F5;
  padding: 0.75rem;
  border-radius: 16px 16px 0 0;
}

.modal-content {
  padding: 1.75rem;
}

.modal-content h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.modal-desc {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.modal-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.modal-features li {
  font-size: 0.88rem;
  color: var(--text);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}

.modal-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--yellow);
  font-weight: 700;
}

.pcf-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.modal-cta {
  display: block;
  text-align: center;
  margin-top: 1.25rem;
  width: 100%;
}

@media (max-width: 1100px) {
  .products-grid-full { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 750px) {
  .products-grid-full { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .products-grid-full { grid-template-columns: 1fr; }
}

/* GALLERI */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-item:hover img { transform: scale(1.04); }

.gallery-item.placeholder {
  background: var(--surface-2);
  border: 2px dashed var(--border);
}

.gallery-placeholder-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #5A6270;
}

.gallery-placeholder-inner svg { width: 32px; height: 32px; }
.gallery-placeholder-inner span { font-size: 0.8rem; }

/* KONTAKT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 2rem;
  color: var(--white);
}

.contact-items { display: flex; flex-direction: column; gap: 1rem; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.2s;
}

.contact-item:hover { color: var(--yellow); }

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: var(--yellow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--black);
}

.contact-item-icon svg { width: 18px; height: 18px; }

/* FORM */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.2s;
  resize: vertical;
  background: var(--surface-2);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #6B7280; }

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--yellow);
}

/* FOOTER */
.footer {
  background: var(--surface);
  padding: 2.75rem 2rem;
  border-top: 3px solid var(--yellow);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--yellow); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 5.5rem 2rem; }
}

@media (max-width: 700px) {
  .cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .hero-trust { gap: 1.2rem; }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: rgba(10,11,13,0.98);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
}

@media (max-width: 500px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stats { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}
