/* Fonts are hosted on this site (latin subset of Inter and Poppins, SIL Open Font License) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/inter-latin-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/poppins-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/poppins-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/poppins-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #0f2149;
  --navy-2: #16305e;
  --blue: #2e6fbe;
  --blue-light: #5b9bd9;
  --blue-pale: #eaf2fb;
  --ice: #f5f8fc;
  --white: #ffffff;
  --ink: #1a2233;
  --ink-soft: #5b6472;
  --line: #e2e8f1;
  --radius: 14px;
  --shadow: 0 12px 32px rgba(15, 33, 73, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 33, 73, 0.16);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--blue-light);
  display: inline-block;
}

.section { padding: 100px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2, .split h2, .about-copy h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(46, 111, 190, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(46, 111, 190, 0.45); }
.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-ghost:hover { background: rgba(255,255,255,0.16); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--line);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(15,33,73,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
/* The logo file has transparent margins around the artwork, so it can render larger
   than its 80px layout slot: the negative margins cancel the extra size and keep the header height. */
.brand img { height: 140px; width: auto; max-width: none; flex-shrink: 0; margin: -30px -17px; }

.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width 0.2s ease;
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-actions .phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
}
.header-actions .phone svg { color: var(--blue); }

.nav-toggle {
  display: none;
  background: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  position: relative;
  transition: 0.2s;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }

/* Language switch */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
}
.lang-switch a, .lang-switch span {
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--navy);
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-switch a:hover { background: var(--blue-pale); }
.lang-switch [aria-current] { background: var(--navy); color: var(--white); }

/* Hero */
.hero {
  position: relative;
  padding: 168px 0 120px;
  background: linear-gradient(100deg, rgba(10,22,51,0.97) 0%, rgba(15,33,73,0.9) 35%, rgba(15,33,73,0.55) 65%, rgba(10,22,51,0.4) 100%), url('assets/hero-trailers-1600.jpg') right center / cover no-repeat, #0a1633;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero-stripes {
  position: absolute;
  top: 10%;
  left: -10%;
  width: 700px;
  z-index: -1;
  opacity: 0.9;
}
.hero-stripes.two {
  top: auto;
  bottom: -12%;
  left: auto;
  right: -14%;
  transform: rotate(180deg);
  opacity: 0.5;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
}
.hero-copy .eyebrow { color: var(--blue-light); }
.hero-copy .eyebrow::before { background: var(--blue-light); }
.hero-copy h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  margin-bottom: 20px;
}
.hero-copy h1 span { color: var(--blue-light); }
.hero-copy p {
  color: rgba(255,255,255,0.78);
  font-size: 1.12rem;
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--ice);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  background: var(--white);
}
.service-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  margin-bottom: 20px;
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { color: var(--ink-soft); font-size: 0.96rem; }

/* Split / Fleet section */
.split {
  background: var(--ice);
}
.split-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.about-grid.single { grid-template-columns: 1fr; }
.about-grid.single > div { max-width: 720px; }
.check-list { margin: 26px 0 30px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.check-list svg { color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.check-list b { color: var(--ink); }

/* Storingsdienst: the night photo spans the whole section; a navy tint keeps the text readable */
.split-photo {
  background:
    linear-gradient(90deg, rgba(10,22,51,0.9) 0%, rgba(10,22,51,0.62) 36%, rgba(10,22,51,0.12) 100%),
    linear-gradient(180deg, #0a1633 0%, rgba(10,22,51,0) 30%, rgba(10,22,51,0) 70%, #0a1633 100%) center 50% / 100% 20vw no-repeat,
    url('assets/storingsdienst-trailer.jpg') center 50% / 100% auto no-repeat,
    #0a1633;
}
.split-photo .eyebrow { color: var(--blue-light); }
.split-photo .eyebrow::before { background: var(--blue-light); }
.split-photo h2 { color: var(--white); }
.split-photo p { color: rgba(255,255,255,0.8) !important; }
.split-photo .check-list li { color: rgba(255,255,255,0.8); }
.split-photo .check-list svg { color: var(--blue-light); }
.split-photo .check-list b { color: var(--white); }
.split-photo .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.4); }
.split-photo .btn-outline:hover { border-color: var(--blue-light); color: var(--blue-light); }
@media (max-width: 980px) {
  .split-photo { background: linear-gradient(180deg, rgba(10,22,51,0.9) 0%, rgba(10,22,51,0.82) 100%), url('assets/storingsdienst-trailer.jpg') 75% center / cover no-repeat, #0a1633; }
}

/* Stats */
.stats {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.stat h3 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  white-space: nowrap;
  color: var(--white);
  margin-bottom: 6px;
}
.stat span { color: rgba(255,255,255,0.65); font-size: 0.92rem; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-copy p { color: var(--ink-soft); margin-bottom: 18px; }

/* Testimonial / CTA banner */
.cta-banner {
  background: var(--navy);
  border-radius: 24px;
  padding: 64px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(91,155,217,0.35), transparent 70%);
}
.cta-banner h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.1rem); max-width: 480px; }
.cta-banner p { color: rgba(255,255,255,0.7); margin-top: 10px; max-width: 420px; }

/* Contact */
.contact-grid > * { min-width: 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
}
.contact-info { display: grid; gap: 20px; align-content: start; }
.contact-card {
  display: flex;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ice);
}
.contact-card .ic {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-card h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-card > div:last-child { min-width: 0; }
.contact-card p, .contact-card a { color: var(--ink-soft); font-size: 0.93rem; overflow-wrap: anywhere; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--navy);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: var(--white);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(46,111,190,0.12);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 14px; }
.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: #ecf6ee;
  color: #2c7a3f;
  border: 1px solid #cdebd4;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 16px;
}
.form-success.show { display: flex; }
.hp { display: none; }
.btn:disabled { opacity: 0.7; cursor: wait; }

/* Footer */
.site-footer {
  background: #0a1633;
  color: rgba(255,255,255,0.7);
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 38px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.9rem; max-width: 280px; color: rgba(255,255,255,0.55); }
.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.footer-col a:hover { color: var(--blue-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  padding-top: 24px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.footer-legal a { color: rgba(255,255,255,0.75); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover { color: var(--blue-light); }
.footer-legal + .footer-bottom { padding-top: 14px; }

/* Legal pages (privacy statement) */
.legal { padding: 150px 0 90px; }
.legal-inner { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 10px; }
.legal-updated { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 28px; }
.legal h2 { font-size: 1.25rem; margin: 36px 0 12px; }
.legal p { margin-bottom: 12px; }
.legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .legal { padding: 120px 0 64px; } }

.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.8);
}
.social-row a:hover { background: var(--blue); color: var(--white); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
/* keep the hover lift working once a card has been revealed */
.service-card.reveal { transition: opacity 0.6s ease, transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease; }
.service-card.reveal.in:hover { transform: translateY(-6px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .service-card.reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
/* The header collapses to the hamburger menu once the full menu, phone number,
   button and language switch no longer fit (the longest version needs about 1180px). */
@media (max-width: 1180px) {
  .header-actions .phone { display: none; }
  .nav-toggle { display: flex; }
  .main-nav {
    flex-direction: column;
    position: fixed;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    padding: 24px;
    gap: 18px;
    box-shadow: var(--shadow);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
  }
  .main-nav.open { visibility: visible; opacity: 1; transform: none; }
}
@media (max-width: 980px) {
  .hero-grid, .split-grid, .split-grid.reverse, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .services-grid .service-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
/* phones: the language switch takes the place of the header button (the hero has the same one) */
@media (max-width: 700px) {
  .header-actions .btn { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 28px; flex-direction: column; text-align: center; }
  .cta-banner .hero-actions { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .brand img { height: 80px; margin: -14px -9px; }
  .header-actions { gap: 10px; }
  .lang-switch { padding: 0; gap: 0; border-color: transparent; background: none; }
  .lang-switch a, .lang-switch span { padding: 8px 6px; }
}
@media (max-width: 360px) {
  .header-inner { padding-inline: 16px; }
  .lang-switch a, .lang-switch span { padding: 8px 5px; }
}

/* Hero photo on phones: lighter file and a darker overlay so the text stays readable */
@media (max-width: 700px) {
  .hero { background: linear-gradient(180deg, rgba(10,22,51,0.9) 0%, rgba(15,33,73,0.84) 55%, rgba(10,22,51,0.78) 100%), url('assets/hero-trailers-900.jpg') center / cover no-repeat, #0a1633; }
}
