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

:root {
  --green:       #3d5a3e;
  --green-light: #4e7450;
  --green-dark:  #2c4130;
  --khaki:       #8c7b5e;
  --sand:        #c9b89a;
  --cream:       #f5f0e8;
  --dark:        #1a1f1a;
  --mid:         #2e352e;
  --text:        #2c2c2c;
  --muted:       #6b7280;
  --white:       #ffffff;
  --radius:      6px;
  --shadow:      0 4px 24px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

img { max-width: 100%; height: auto; }

/* ── SKIP LINK ── */
.skip-link {
  position: absolute;
  top: -100px; left: 0;
  background: var(--green);
  color: var(--white);
  padding: 12px 20px;
  z-index: 1000;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(26,31,26,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: box-shadow 0.2s;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-badge {
  width: 38px; height: 38px;
  background: var(--green);
  border: 1px solid rgba(201,184,154,0.3);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--sand);
  letter-spacing: 0.5px;
}

.nav-logo-text {
  font-family: 'Oswald', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 1.5px;
  line-height: 1;
}
.nav-logo-text small {
  display: block;
  font-size: 9px;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  letter-spacing: 2px;
  margin-top: 3px;
}

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

.nav-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover { color: var(--sand); }

.nav-links a.active {
  color: var(--white);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--sand);
  border-radius: 2px;
}

.nav-cta {
  background: var(--green);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: var(--radius);
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--green-light) !important; color: var(--white) !important; }
.nav-cta.active::after { display: none; }

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

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

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(20,28,20,0.78) 0%, rgba(44,65,48,0.55) 55%, rgba(26,31,26,0.4) 100%),
    url('/assets/uploads/valp2.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(61,90,62,0.4);
  color: var(--sand);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
  border: 1px solid rgba(201,184,154,0.25);
}
.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sand);
  box-shadow: 0 0 8px var(--sand);
}

.hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: 1px;
  margin-bottom: 22px;
}
.hero h1 em {
  color: var(--sand);
  font-style: normal;
}

.hero-lead {
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  margin-bottom: 36px;
  font-weight: 300;
  line-height: 1.75;
  max-width: 480px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s;
  letter-spacing: 0.3px;
  font-family: inherit;
}

.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-light); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(61,90,62,0.4); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: var(--sand); color: var(--sand); }

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-pill {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.65);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

/* Hero right: stacked photo display */
.hero-photos {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 220px 180px;
  gap: 12px;
  position: relative;
}

.hero-photo {
  overflow: hidden;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.hero-photo:first-child {
  grid-row: span 2;
  grid-column: 1;
}

.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  transition: transform 0.6s ease;
}

.hero-photo:hover img { transform: scale(1.05); }

.product-img img { object-position: center; }

.hero-photo-label {
  position: absolute;
  bottom: 12px; left: 14px;
  background: rgba(26,31,26,0.85);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  backdrop-filter: blur(4px);
}

/* ── SECTION SHARED ── */
section { padding: 96px 24px; }

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

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--muted);
  font-size: 17px;
  max-width: 580px;
  font-weight: 300;
}

.section-header { margin-bottom: 56px; }

/* ── VALUE PROPS strip ── */
.value-strip {
  background: var(--dark);
  padding: 28px 24px;
  color: var(--white);
}

.value-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.value-icon {
  width: 42px; height: 42px;
  background: rgba(201,184,154,0.12);
  border: 1px solid rgba(201,184,154,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  color: var(--sand);
}

.value-text strong {
  display: block;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}
.value-text span {
  color: rgba(255,255,255,0.5);
  font-size: 12px;
}

/* ── PRODUCTS ── */
#produkter { background: var(--cream); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.product-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.12);
}

.product-img {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: #e5e1d6;
}

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

.product-card:hover .product-img img { transform: scale(1.05); }

.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--green);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  z-index: 1;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.product-badge.used { background: var(--khaki); }

.product-body {
  padding: 20px 20px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-family: 'Oswald', sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.product-desc {
  font-size: 13.5px;
  color: var(--muted);
  flex: 1;
  margin-bottom: 14px;
  line-height: 1.6;
}
.product-desc p { margin: 0; }

.product-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--green);
  font-family: 'Oswald', sans-serif;
  margin-bottom: 4px;
}
.product-price small {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
}

.product-footer { padding: 0 16px 16px; }

.btn-card {
  display: block;
  width: 100%;
  text-align: center;
  padding: 11px;
  background: var(--cream);
  color: var(--green);
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  border: none;
  cursor: pointer;
}
.btn-card:hover { background: var(--green); color: var(--white); }

.products-cta {
  text-align: center;
  margin-top: 44px;
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
}
.products-cta a {
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
}
.products-cta a:hover { text-decoration: underline; }

/* ── HISTORY ── */
#historia { background: var(--white); }

.history-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.history-timeline {
  position: relative;
  padding-left: 32px;
}

.history-timeline::before {
  content: '';
  position: absolute;
  left: 10px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--green), var(--sand));
}

.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item:last-child { margin-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -27px; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 3px var(--green);
}

.timeline-year {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 5px;
}

h3.timeline-title {
  font-family: 'Oswald', sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 7px;
}

.timeline-text {
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.7;
}

/* Compat card */
.compat-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #e5e5dc;
}

.compat-title {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.compat-sub-title {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 24px;
}

.compat-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.compat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid transparent;
  transition: border-color 0.2s;
}
.compat-item:hover { border-color: var(--green); }

.compat-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.compat-name { font-weight: 600; color: var(--dark); font-size: 14.5px; }
.compat-sub { font-size: 12px; color: var(--muted); margin-left: auto; }

/* ── ABOUT ── */
#om-oss {
  background: var(--dark);
  color: var(--white);
}
#om-oss .section-title { color: var(--white); }
#om-oss .section-label { color: var(--sand); }

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text p {
  color: rgba(255,255,255,0.72);
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: 300;
  line-height: 1.85;
}

.about-card {
  background: var(--mid);
  border-radius: 12px;
  padding: 36px;
  border: 1px solid rgba(255,255,255,0.07);
}

.about-card-title {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 22px;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.contact-line:last-child { border-bottom: none; }

.contact-line-icon {
  width: 40px; height: 40px;
  background: rgba(201,184,154,0.1);
  border: 1px solid rgba(201,184,154,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-line-label {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 2px;
}

.contact-line-value {
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
}
.contact-line-value a {
  color: var(--sand);
  text-decoration: none;
}
.contact-line-value a:hover { text-decoration: underline; }

/* ── CONTACT ── */
#kontakt { background: var(--cream); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-info-card {
  background: var(--white);
  border-radius: 10px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}
.contact-info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.contact-info-icon {
  width: 46px; height: 46px;
  background: var(--green);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 3px;
}

.contact-info-value { font-size: 16px; font-weight: 600; color: var(--dark); }

.contact-form-card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-title {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.form-sub { font-size: 14px; color: var(--muted); margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 15px;
  border: 1.5px solid #e5e7eb;
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: #fafafa;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--green);
  background: var(--white);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-helper {
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
  text-align: center;
}

.form-submit {
  width: 100%;
  padding: 13px;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.3px;
  transition: background 0.2s, transform 0.15s;
}
.form-submit:hover { background: var(--green-light); transform: translateY(-1px); }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.5);
  padding: 40px 24px;
  font-size: 14px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.7);
}

.footer-links { display: flex; gap: 24px; }

.footer-links a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--sand); }

/* ── BACK TO TOP ── */
.back-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 44px; height: 44px;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.3s;
  z-index: 50;
}
.back-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-top:hover { background: var(--green-light); }

/* ── MOBILE ── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-photos { max-width: 480px; }
  .history-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .value-strip-inner { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--dark);
    padding: 20px 24px 28px;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,0.07);
    align-items: stretch;
  }

  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 28px 20px; }
  section { padding: 64px 24px; }
  .hero { padding: 100px 24px 60px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .value-strip-inner { grid-template-columns: 1fr; }
  .hero-photos { grid-template-columns: 1fr; grid-template-rows: 200px 200px 200px; }
  .hero-photo:first-child { grid-row: auto; grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ── PRINT ── */
@media print {
  nav, footer, .back-top, .hero-btns, .hero-pills, .value-strip,
  .contact-form-card, .form-helper, #kontakt .section-header { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .hero {
    min-height: auto; padding: 16pt 0; background: #fff !important; color: #000;
  }
  .hero h1, .hero h1 em, .hero-lead { color: #000 !important; }
  .hero-tag { display: none; }
  section { padding: 16pt 0 !important; page-break-inside: avoid; }
  .section-title, .product-title, .timeline-title, .compat-title { color: #000 !important; }
  .product-card, .compat-card, .about-card { box-shadow: none !important; border: 1px solid #ccc; break-inside: avoid; }
  .product-img { height: 120px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8pt; }
  #om-oss { background: #fff !important; color: #000 !important; }
  #om-oss .section-title, .about-text p, .contact-line-value { color: #000 !important; }
  .btn, .btn-card { display: none !important; }
  a { color: #000 !important; text-decoration: none; }
  a[href^="tel:"]::after, a[href^="mailto:"]::after { content: " (" attr(href) ")"; font-size: 90%; }
}
