/*
Theme Name: GN Logistik
Description: GN Logistik GmbH Website
Version: 1.0
Author: Sunny Singh
*/

/* ===========================================================
   GN Logistik — Static homepage export
   Colors: #F57C1F orange · #1B2E5E navy · #25D366 WhatsApp green
   Fonts: Montserrat (headings) · Inter (body)
   =========================================================== */

:root {
  --orange: #F57C1F;
  --orange-dark: #d9690f;
  --navy: #1B2E5E;
  --navy-light: #22376B;
  --navy-deep: #13234A;
  --green: #25D366;
  --green-dark: #1cb356;
  --muted: #F8F9FA;
  --ink: #1A1A2E;
  --slate: #4A5570;
  --cool: #C9D2E8;
  --cool-dim: #9AA7C7;
  --font-heading: "Montserrat", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --maxw: 1200px;
}

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

html, body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-heading); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
.narrow-container { max-width: 768px; }

/* icons */
svg.ic, svg.ic4, svg.ic5, svg.ic6, svg.ic7 { flex: 0 0 auto; }
.ic4 { width: 16px; height: 16px; }
.ic5 { width: 20px; height: 20px; }
.ic6 { width: 24px; height: 24px; }
.ic7 { width: 28px; height: 28px; }
.orange { color: var(--orange); }
.text-orange { color: var(--orange); }
.navy { color: var(--navy); }
.white { color: #fff; }
.slate { color: var(--slate); }
.cool { color: var(--cool); }
.lightblue { color: #D6DEF2; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  padding: 14px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  transition: all .3s ease;
  white-space: nowrap;
}
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 14px 20px; font-size: 16px; }
.btn-orange { background: var(--orange); }
.btn-orange:hover { background: var(--orange-dark); transform: scale(1.03); }
.btn-navy { background: var(--navy); }
.btn-navy:hover { opacity: .9; transform: scale(1.03); }
.btn-green { background: var(--green); }
.btn-green:hover { background: var(--green-dark); transform: scale(1.03); }
.btn-glass {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
}
.btn-glass:hover { background: rgba(255,255,255,.2); transform: scale(1.03); }
.btn-pill { border-radius: 999px; align-self: flex-start; padding: 10px 20px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; }
.header-bar { background: #fff; box-shadow: 0 2px 12px rgba(27,46,94,.08); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-top: 12px; padding-bottom: 12px;
}
.logo-img { height: 48px; width: auto; }
.main-nav { display: none; align-items: center; gap: 28px; }
.nav-link {
  position: relative; font-family: var(--font-heading);
  font-weight: 600; font-size: 15px; color: var(--ink); transition: color .2s;
}
.nav-link:hover { color: var(--orange); }
.nav-link.active { color: var(--orange); }
.nav-link.active::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  height: 2px; width: 100%; border-radius: 2px; background: var(--orange);
}
.header-actions { display: flex; align-items: center; gap: 12px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer; color: var(--navy);
  border-radius: 8px; padding: 6px;
}
.dark-toggle { display: none; }
.header-cta { display: none; }
.menu-btn { width: 40px; height: 40px; }

/* mobile drawer */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 60; background: #fff;
  display: flex; flex-direction: column;
}
.mobile-drawer[hidden] { display: none; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-bottom: 1px solid var(--muted);
}
.drawer-nav { display: flex; flex-direction: column; padding: 0 16px; }
.drawer-link {
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--muted); padding: 16px 0;
  font-family: var(--font-heading); font-weight: 600; font-size: 18px;
  color: var(--navy); background: none; border-left: none; border-right: none; border-top: none;
  text-align: left; cursor: pointer;
}
.drawer-link.active { color: var(--orange); }
.drawer-foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding: 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: rgba(15,23,42,.72); }
.hero-inner { position: relative; padding-top: 32px; padding-bottom: 24px; }
.hero-grid { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.hero-left { width: 100%; }
.eyebrow {
  font-family: var(--font-heading); font-size: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em; color: var(--orange);
}
.eyebrow.center { text-align: center; }
.hero-title {
  margin-top: 16px; font-family: var(--font-heading);
  font-size: 34px; font-weight: 800; text-transform: uppercase;
  line-height: 1.1; color: #fff;
}
.hero-lead { margin-top: 20px; max-width: 36rem; color: #D6DEF2; }
.hero-btns { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.hero-badge-wrap { margin-top: 24px; }
.hero-right { width: 100%; max-width: 400px; }
.hero-map-card {
  border-radius: 16px; border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.05); padding: 20px;
  box-shadow: 0 0 60px rgba(59,130,246,.15); backdrop-filter: blur(2px);
}
.hero-map-img { margin: 0 auto; width: 100%; }
.hero-chips {
  margin-top: 32px; display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 12px; align-items: stretch;
}
.hero-chip {
  display: flex; align-items: flex-start; gap: 12px; height: 100%;
  border-radius: 12px; border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.95); padding: 16px; text-align: left;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.1);
}
.chip-icon { margin-top: 2px; color: var(--orange); flex: 0 0 auto; }
.chip-text { min-width: 0; }
.chip-title { font-size: 14px; font-weight: 700; color: var(--navy); word-break: break-word; }
.chip-sub { font-size: 12px; color: var(--slate); word-break: break-word; }

/* phone badge */
.phone-badge {
  display: inline-flex; align-items: center; gap: 14px;
  border-radius: 14px; padding: 14px 22px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.5), 0 0 22px -6px rgba(245,124,31,.35);
  transition: transform .3s ease, box-shadow .3s ease;
}
.phone-badge:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -14px rgba(0,0,0,.6), 0 0 34px -4px rgba(245,124,31,.55); }
.phone-badge__icon {
  display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto;
  border-radius: 10px; color: #fff;
  background: linear-gradient(135deg, #F57C1F, #d9690f);
  box-shadow: 0 0 18px -2px rgba(245,124,31,.6);
}
.phone-badge__text { display: flex; flex-direction: column; text-align: left; }
.phone-badge__label { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--cool-dim); }
.phone-badge__number { font-size: 22px; font-weight: 800; line-height: 1.1; color: var(--orange); }

/* ---------- Bands ---------- */
.band { padding: 40px 16px; }
.band-muted { background: var(--muted); }
.band-navy { background: var(--navy); }
.band > .container { padding: 0; }
.section-head { }
.section-head.narrow { max-width: 768px; margin: 0 auto; text-align: center; }
.h2 { font-family: var(--font-heading); font-size: 28px; font-weight: 700; }
.h3 { font-family: var(--font-heading); font-size: 20px; font-weight: 600; }
.h4 { font-family: var(--font-heading); font-size: 18px; font-weight: 600; }
.lead { margin-top: 12px; }
.eyebrow + .h2 { margin-top: 8px; }
.txt-sm { font-size: 14px; }
.band-note { margin-top: 32px; text-align: center; font-size: 14px; color: var(--cool-dim); }

/* card */
.card {
  display: flex; flex-direction: column; gap: 12px; height: 100%;
  border-radius: 12px; background: #fff; padding: 24px;
  box-shadow: 0 6px 24px rgba(27,46,94,.08); transition: all .3s ease;
}

/* grids */
.grid-3 { margin-top: 40px; display: grid; grid-template-columns: 1fr; gap: 24px; }
.grid-4 { margin-top: 40px; display: grid; grid-template-columns: 1fr; gap: 24px; }
.mt-10 { margin-top: 40px; }

/* Preisrechner teaser */
.teaser-grid { margin: 32px auto 0; max-width: 42rem; display: grid; grid-template-columns: 1fr; gap: 20px; }
.teaser-card { padding: 24px; }
.teaser-label { font-weight: 600; color: var(--navy); }
.teaser-input { border-radius: 8px; border: 1px solid rgba(27,46,94,.15); padding: 12px 16px; font-size: 14px; color: var(--slate); }
.teaser-note { margin-top: 16px; text-align: center; font-size: 14px; color: #7A8398; }
.center-btns { margin-top: 24px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.check-row { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; text-align: center; font-size: 14px; font-weight: 600; color: var(--navy); }
.check-item { display: inline-flex; align-items: center; gap: 6px; }

/* services */
.service-card:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 18px 44px rgba(27,46,94,.16); }
.badge-pill { width: fit-content; border-radius: 999px; background: rgba(245,124,31,.1); padding: 4px 12px; font-size: 12px; font-weight: 600; color: var(--orange); }
.card-link { margin-top: auto; display: inline-flex; align-items: center; gap: 4px; padding-top: 8px; font-size: 14px; font-weight: 600; color: var(--orange); transition: gap .2s; }
.card-link:hover { gap: 8px; }

/* fleet */
.fleet-grid { }
.fleet-card {
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  border-radius: 16px; border: 1px solid rgba(27,46,94,.1); background: #fff;
  padding: 20px; box-shadow: 0 6px 24px rgba(27,46,94,.08); transition: all .3s ease;
}
.fleet-card:hover { transform: translateY(-4px); border-color: var(--orange); box-shadow: 0 18px 44px rgba(27,46,94,.16); }
.fleet-img-wrap { display: flex; height: 180px; align-items: center; justify-content: center; }
.fleet-img { max-height: 180px; width: 100%; object-fit: contain; }
.fleet-cap { margin-top: 16px; font-size: 13px; font-weight: 500; color: var(--orange); }
.fleet-title { margin-top: 8px; font-family: var(--font-heading); font-size: 26px; font-weight: 700; line-height: 1.1; color: var(--navy); }
.fleet-desc { margin-top: 10px; font-size: 14px; line-height: 1.35; color: var(--slate); }
.fleet-specs { margin: 18px 0 0; display: flex; flex-direction: column; gap: 12px; }
.spec-row { display: flex; align-items: center; gap: 12px; }
.spec-ic { color: var(--orange); flex: 0 0 auto; }
.spec-ic svg { stroke-width: 1.75; }
.spec-label { font-size: 15px; color: var(--slate); }
.spec-val { margin-left: auto; text-align: right; font-size: 15px; font-weight: 600; color: var(--navy); }
.fleet-hr { margin: 18px 0; border: none; border-top: 1px solid rgba(27,46,94,.1); }
.price-section { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.price-left { min-width: 0; }
.price-ab { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--slate); }
.price-big { margin-top: 2px; display: block; font-family: var(--font-heading); font-size: 46px; font-weight: 700; line-height: 1; color: var(--navy); }
.price-km { margin-top: 6px; display: block; font-size: 14px; color: var(--orange); }
.price-btn { height: 52px; width: 140px; flex: 0 0 auto; border-radius: 14px; font-size: 14px; padding: 0; }
.fleet-note { margin: 32px auto 0; max-width: 42rem; text-align: center; font-size: 12px; color: #7A8398; }

/* warum */
.why-card {
  display: flex; flex-direction: column; gap: 12px; border-radius: 12px;
  background: var(--navy-light); padding: 24px; transition: all .3s ease;
}
.why-card:hover { transform: translateY(-4px); }
.why-icon {
  display: flex; width: 48px; height: 48px; align-items: center; justify-content: center;
  border-radius: 8px; background: rgba(245,124,31,.15); color: var(--orange); transition: all .3s;
}
.why-card:hover .why-icon { background: var(--orange); color: #fff; }

/* testimonials */
.rating { margin-top: 12px; font-weight: 600; color: var(--navy); }
.stars { display: flex; gap: 2px; }
.star { width: 18px; height: 18px; }
.star.on { color: var(--orange); }
.star.off { color: #D9DEEA; }
.testi-quote { color: var(--ink); }
.testi-meta { margin-top: auto; font-size: 14px; color: var(--slate); }
.testi-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(27,46,94,.14); }

/* partners marquee */
.marquee {
  margin-top: 40px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.marquee-track { display: flex; width: max-content; gap: 12px; animation: gn-marquee 60s linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes gn-marquee { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
.marquee-item { width: 160px; flex: 0 0 auto; border-radius: 8px; background: var(--navy-light); padding: 16px 12px; text-align: center; }
.mq-name { font-size: 14px; font-weight: 700; color: #fff; }
.mq-sub { font-size: 12px; color: var(--cool-dim); }
.stats-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat-box { border-radius: 8px; background: var(--navy-light); padding: 20px 16px; text-align: center; }
.stat-num { font-family: var(--font-heading); font-size: 30px; font-weight: 800; color: var(--orange); }
.stat-label { font-size: 14px; color: var(--cool); }

/* FAQ */
.faq-list { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.faq-item { overflow: hidden; border-radius: 8px; border: 1px solid rgba(27,46,94,.1); background: #fff; }
.faq-q {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  gap: 16px; padding: 16px 20px; text-align: left; background: none;
  border: none; cursor: pointer; font-family: var(--font-heading);
  font-weight: 600; color: var(--navy); font-size: 16px;
}
.faq-item.open .faq-q { color: var(--orange); }
.faq-chevron { transition: transform .2s; color: var(--navy); }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--orange); }
.faq-a { display: none; padding: 0 20px 20px; font-size: 14px; color: var(--slate); }
.faq-item.open .faq-a { display: block; }

/* CTA */
.cta-inner { max-width: 42rem; margin: 0 auto; text-align: center; }
.cta-badge { margin-top: 24px; display: flex; justify-content: center; }
.cta-btns { margin-top: 24px; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 16px; }

/* SEO */
.seo-wrap { display: flex; flex-direction: column; gap: 40px; }
.seo-block { display: flex; flex-direction: column; gap: 8px; }
.seo-num { font-family: var(--font-heading); font-weight: 700; color: var(--orange); }
.seo-foot { font-size: 14px; color: #7A8398; }

/* ---------- Footer ---------- */
.footer-main { background: var(--navy); padding: 64px 16px 40px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo { width: fit-content; border-radius: 4px; background: #fff; padding: 8px; }
.footer-logo img { height: 40px; width: auto; }
.footer-about { font-size: 14px; line-height: 1.6; color: var(--cool); }
.footer-h { margin-bottom: 16px; font-family: var(--font-heading); font-size: 18px; font-weight: 600; color: #fff; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; color: var(--cool); transition: color .2s; }
.footer-links a:hover { color: var(--orange); }
.footer-contact { display: flex; flex-direction: column; gap: 16px; font-size: 14px; color: var(--cool); }
.footer-contact li { display: flex; align-items: center; gap: 12px; }
.footer-contact li.addr { align-items: flex-start; }
.footer-contact a:hover { color: var(--orange); }
.footer-divider { margin: 32px 0; height: 1px; width: 100%; background: rgba(255,255,255,.15); }
.footer-seo { font-size: 14px; line-height: 1.6; color: #8F9CBC; }
.footer-seo strong { color: var(--cool); }
.footer-legal { background: var(--navy-deep); padding: 20px 16px; }
.legal-row { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.copyright { font-size: 14px; color: var(--cool-dim); }
.legal-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 20px; }
.legal-links a { font-size: 14px; color: var(--cool); transition: color .2s; }
.legal-links a:hover { color: var(--orange); }
.credit { font-size: 12px; color: #6B7799; margin-top: 12px; }

/* Floating actions (desktop) */
.floating-actions { position: fixed; bottom: 24px; right: 20px; z-index: 40; display: none; flex-direction: column; gap: 12px; }
.fab { display: flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 999px; color: #fff; box-shadow: 0 10px 15px -3px rgba(0,0,0,.2); transition: transform .2s; }
.fab:hover { transform: scale(1.05); }
.fab-green { background: var(--green); }
.fab-navy { background: var(--navy); }

/* Mobile sticky bottom bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; gap: 8px; background: #fff; padding: 8px;
  box-shadow: 0 -2px 14px rgba(27,46,94,.15);
}
.mbar-btn {
  display: flex; flex: 1; align-items: center; justify-content: center; gap: 6px;
  border-radius: 8px; padding: 12px 0; font-family: var(--font-heading);
  font-weight: 600; font-size: 14px; color: #fff;
}
.mbar-green { background: var(--green); }
.mbar-navy { background: var(--navy); }
.mbar-orange { background: var(--orange); }

/* main padding so sticky bar doesn't cover content on mobile */
main { padding-bottom: 72px; }

/* ============ Responsive ============ */

/* Tablet (>= 640px) */
@media (min-width: 640px) {
  .hero-btns { flex-direction: row; }
  .teaser-grid { grid-template-columns: repeat(2, 1fr); }
  .center-btns { flex-direction: row; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cta-btns { flex-direction: row; align-items: center; }
  .legal-row { flex-direction: row; justify-content: space-between; }
}

/* tablet marquee speed */
@media (max-width: 1023px) { .marquee-track { animation-duration: 75s; } }
/* mobile marquee speed */
@media (max-width: 640px) { .marquee-track { animation-duration: 90s; } }

/* Desktop (>= 1024px) */
@media (min-width: 1024px) {
  main { padding-bottom: 0; }
  .band { padding: 64px 16px; }
  .main-nav { display: flex; }
  .dark-toggle { display: inline-flex; }
  .header-cta { display: inline-flex; }
  .menu-btn { display: none; }
  .h2 { font-size: 30px; }
  .hero-title { font-size: 52px; }
  .hero-grid { flex-direction: row; align-items: center; justify-content: center; gap: 40px; }
  .hero-left { flex: 1; max-width: 600px; }
  .hero-right { width: 420px; flex: 0 0 auto; margin-top: 32px; }
  .hero-chips { margin-top: 48px; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .floating-actions { display: flex; }
  .mobile-bar { display: none; }
}

/* xl hero gap */
@media (min-width: 1280px) { .hero-grid { gap: 64px; } }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}
