/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 1rem); }

:root {
  --header-height: 67px;
  --yellow:  #FAE026;   /* CMYK 2-12-85-0  */
  --silver:  #BFCFCF;   /* CMYK 25-19-19-0 */
  --dark:    #111111;
  --dark2:   #181818;
  --white:   #F2F2F2;
  --font-h:  'Oswald', sans-serif;
  --font-b:  'Open Sans', sans-serif;
}

body {
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-b);
  font-size: 100%;
  line-height: 1.6;
}

/* ─── Container ─── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ─── Section headings ─── */
h2 {
  font-family: var(--font-h);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--yellow);
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  background: var(--yellow);
  margin-top: 0.6rem;
  margin-bottom: 2rem;
}

.section-intro {
  color: var(--silver);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* ─── Header ─── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(17, 17, 17, 0.85);
  border-bottom: 3px solid var(--yellow);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.3s;
}

#site-header.scrolled {
  background: rgba(17, 17, 17, 0.98);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  height: 44px;
  width: auto;
  display: block;
}

nav { display: flex; gap: 2.25rem; }

nav a {
  font-family: var(--font-h);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}

nav a:hover { color: var(--yellow); }

nav a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
}

/* ─── Hero ─── */
#hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  background-image: url('assets/images/lastbil-grusvaeg-jarvso.jpg');
  background-size: cover;
  background-position: center 35%;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.70) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--header-height) 2rem 2rem;
}

.hero-eyebrow {
  font-family: var(--font-h);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1.25rem;
}

.hero-overlay h1 {
  font-family: var(--font-h);
  font-size: clamp(4rem, 14vw, 9rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero-tagline {
  font-family: var(--font-h);
  font-size: clamp(0.8rem, 2.5vw, 1.15rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 2.75rem;
}

.btn {
  display: inline-block;
  background: var(--yellow);
  color: var(--dark);
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 1rem 3rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, color 0.2s;
}

.btn:hover {
  background: var(--white);
  color: var(--dark);
  transform: translateY(-2px);
}

/* ─── Om oss ─── */
#om-oss {
  background: var(--dark2);
  padding: 6rem 0;
}

.om-inner {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.om-text { flex: 1; }

.om-text p {
  color: var(--silver);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1rem;
  max-width: 640px;
}

.om-text p:last-child { margin-bottom: 0; }

.om-badge {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  border: 4px solid var(--yellow);
  text-align: center;
}

.badge-number {
  font-family: var(--font-h);
  font-size: 4rem;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
}

.badge-label {
  font-family: var(--font-h);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver);
  margin-top: 0.25rem;
}

/* ─── Kontakt ─── */
#kontakt {
  background: var(--dark);
  padding: 6rem 0;
  border-top: 4px solid var(--yellow);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
}

.contact-block strong {
  display: block;
  font-family: var(--font-h);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--yellow);
  margin-bottom: 0.75rem;
}

.contact-block a {
  display: block;
  font-family: var(--font-h);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

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

.contact-block p {
  font-style: normal;
  color: var(--silver);
  line-height: 1.7;
  font-size: 1rem;
}

/* ─── Footer ─── */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 2rem 0;
  text-align: center;
}

footer p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .logo img {
    height: 32px;
  }

  .om-inner {
    flex-direction: column;
    gap: 3rem;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  :root { --header-height: 110px; }

  .header-inner {
    flex-direction: column;
    height: auto;
    padding: 0.9rem 0;
    gap: 0.6rem;
  }

  nav { gap: 1.25rem; }
  nav a { font-size: 0.82rem; }

  #hero { background-attachment: scroll; }

  #om-oss, #kontakt { padding: 4rem 0; }
}
