/* =========================================================
   Spedition Nass — Stylesheet
   ========================================================= */

:root {
  --blue: #4060bf;
  --blue-dark: #2f4a99;
  --blue-light: #6d88d8;
  --navy: #0d1730;
  --navy-soft: #16224180;
  --ink: #101828;
  --body: #4a5568;
  --line: #e3e8f0;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;

  --radius: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(13, 23, 48, .06);
  --shadow: 0 18px 45px -22px rgba(13, 23, 48, .35);
  --shadow-lg: 0 40px 80px -40px rgba(13, 23, 48, .55);

  --max: 1180px;
  --pad: clamp(20px, 5vw, 40px);
  --section: clamp(64px, 9vw, 116px);
}

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

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

body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.15rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.12rem, 1.7vw, 1.35rem); }
p { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section); }
.section--alt { background: var(--bg-alt); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .74rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--blue); border-radius: 2px;
}
.eyebrow--light { color: #a9bcf0; }
.eyebrow--light::before { background: var(--blue-light); }

.lead { font-size: clamp(1.02rem, 1.5vw, 1.16rem); color: var(--body); max-width: 62ch; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 16px 30px; border-radius: 100px; border: 1.5px solid transparent;
  font: inherit; font-size: .96rem; font-weight: 700; letter-spacing: .01em;
  cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 14px 30px -14px rgba(64, 96, 191, .95); }
.btn--primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 20px 36px -14px rgba(64, 96, 191, .9); }
.btn--ghost { border-color: rgba(255, 255, 255, .38); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; transform: translateY(-2px); }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease, padding .3s ease;
}
.header.is-stuck { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; }
.header__logo img { height: 42px; width: auto; transition: height .3s ease; }
.header.is-stuck .header__logo img { height: 36px; }

.nav { display: none; align-items: center; gap: 30px; }
.nav a {
  position: relative; font-size: .92rem; font-weight: 600; color: var(--ink); padding: 6px 0;
  transition: color .2s ease;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--blue); border-radius: 2px; transition: width .28s ease;
}
.nav a:hover { color: var(--blue); }
.nav a:hover::after { width: 100%; }

.header__cta { display: none; }

.burger {
  width: 46px; height: 46px; display: grid; place-content: center; gap: 5px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s ease, opacity .2s ease; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 78px 0 auto 0; z-index: 99;
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 12px var(--pad) 28px;
  display: grid; gap: 4px;
  transform: translateY(-14px); opacity: 0; pointer-events: none;
  transition: transform .3s ease, opacity .3s ease;
  box-shadow: var(--shadow);
}
.mobile-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
.mobile-nav a {
  padding: 14px 4px; font-weight: 600; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { margin-top: 18px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  padding-top: clamp(130px, 20vw, 190px); padding-bottom: clamp(70px, 11vw, 130px);
  background: var(--navy);
  color: #fff; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(9, 16, 36, .95) 0%, rgba(9, 16, 36, .86) 38%, rgba(13, 23, 48, .42) 72%, rgba(13, 23, 48, .28) 100%),
    linear-gradient(180deg, rgba(9, 16, 36, .55) 0%, transparent 30%);
}
.hero h1 { color: #fff; max-width: 16ch; }
.hero h1 em { font-style: normal; color: var(--blue-light); }
.hero__text { max-width: 620px; }
.hero__lead { color: #c7d1e6; font-size: clamp(1.02rem, 1.6vw, 1.18rem); max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__facts {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  margin-top: clamp(48px, 7vw, 76px);
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius); overflow: hidden;
}
.hero__facts div { background: rgba(9, 16, 36, .55); padding: 22px 20px; backdrop-filter: blur(6px); }
.hero__facts strong { display: block; color: #fff; font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em; }
.hero__facts span { font-size: .84rem; color: #9fb0cf; }

/* ---------- Marquee / Trust ---------- */
.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 26px 30px; padding-block: 40px;
}
.trust__item { display: flex; gap: 14px; align-items: flex-start; }
.trust__item svg { flex: none; width: 24px; height: 24px; color: var(--blue); margin-top: 2px; }
.trust__item b { display: block; color: var(--ink); font-size: .96rem; }
.trust__item span { font-size: .86rem; line-height: 1.55; display: block; }

/* ---------- Services ---------- */
.cards { display: grid; gap: 26px; }
.card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #cfd9ee; }
.card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.card__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transition: transform .7s cubic-bezier(.2, .7, .3, 1); }
/* Hochformat-Motive: Ausschnitt nach oben ziehen, damit Gesichter im Bild bleiben */
.card__img--people img { object-position: 50% 18%; }
.card__img--people-high img { object-position: 50% 12%; }
.card:hover .card__img img { transform: scale(1.06); }
.card__body { padding: 30px 28px 34px; }
.card__tag {
  display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue); background: #eef2fc;
  padding: 6px 12px; border-radius: 100px; margin-bottom: 16px;
}
.card ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.card ul li { position: relative; padding-left: 26px; font-size: .93rem; }
.card ul li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px;
  border-radius: 50%; background: var(--blue); opacity: .5;
}

/* ---------- Split (Gründer) ---------- */
.split { display: grid; gap: clamp(34px, 5vw, 64px); align-items: center; }
.split__media { position: relative; }
.split__media img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 62% 22%;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.split__badge {
  position: absolute; left: -6px; bottom: -22px;
  background: var(--blue); color: #fff; border-radius: var(--radius);
  padding: 18px 22px; box-shadow: var(--shadow); max-width: 240px;
}
.split__badge b { display: block; font-size: 1rem; }
.split__badge span { font-size: .8rem; color: #d8e0f8; line-height: 1.5; display: block; }

.quote {
  border-left: 3px solid var(--blue); padding: 4px 0 4px 22px; margin: 26px 0;
  font-size: 1.05rem; font-style: italic; color: var(--ink); font-weight: 500;
}
.vita { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 16px; }
.vita li { display: flex; gap: 16px; align-items: flex-start; font-size: .94rem; }
.vita li b { color: var(--ink); }
.vita__dot {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: #eef2fc; color: var(--blue); display: grid; place-content: center;
  font-size: .78rem; font-weight: 800;
}

/* ---------- Warum wir (dark) ---------- */
.dark { background: var(--navy); color: #c2cde3; position: relative; overflow: hidden; }
.dark h2, .dark h3 { color: #fff; }
.dark .lead { color: #b5c2dc; }
.dark__map {
  position: absolute; inset: 0; z-index: 0;
  background-position: center; background-size: cover; background-repeat: no-repeat;
  opacity: .05;
}
.dark .wrap { position: relative; z-index: 1; }

.feature-grid { display: grid; gap: 1px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius-lg); overflow: hidden; }
.feature {
  background: var(--navy); padding: 32px 28px 34px;
  transition: background .3s ease;
}
.feature:hover { background: #14203f; }
.feature__icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-content: center;
  background: rgba(64, 96, 191, .22); color: #9db1e8; margin-bottom: 20px;
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.06rem; margin-bottom: .45em; }
.feature p { font-size: .92rem; margin: 0; color: #a6b4cf; }

/* ---------- Ablauf ---------- */
.steps { display: grid; gap: 26px; counter-reset: step; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px 28px 32px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step__num {
  font-size: 2.6rem; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px #c3cfeb; margin-bottom: 16px;
}
.step h3 { margin-bottom: .4em; }
.step p { font-size: .93rem; margin: 0; }

/* ---------- Region ---------- */
.region { display: grid; gap: clamp(34px, 5vw, 60px); align-items: center; }
.region__map { display: grid; place-items: center; }
.region__map img { width: min(300px, 70%); filter: drop-shadow(0 24px 40px rgba(13, 23, 48, .18)); }
.region__list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.region__list li { display: flex; gap: 12px; font-size: .95rem; align-items: flex-start; }
.region__list svg { flex: none; width: 20px; height: 20px; color: var(--blue); margin-top: 3px; }

/* ---------- CTA-Band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--blue); color: #fff; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 340px at 82% 20%, rgba(255, 255, 255, .18), transparent 65%);
}
.cta-band .wrap { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #e0e7fb; max-width: 56ch; }
.cta-band .btn--primary { background: #fff; color: var(--blue); box-shadow: 0 16px 34px -18px rgba(0, 0, 0, .6); }
.cta-band .btn--primary:hover { background: #f0f3fd; color: var(--blue-dark); }

/* ---------- Kontakt ---------- */
.contact { display: grid; gap: clamp(34px, 5vw, 56px); align-items: start; }
.contact__card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 38px); box-shadow: var(--shadow-sm);
}
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-size: .82rem; font-weight: 700; color: var(--ink); letter-spacing: .01em; }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; color: var(--ink);
  padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  background: #fbfcfe; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: #fff;
  box-shadow: 0 0 0 4px rgba(64, 96, 191, .13);
}
.field-row { display: grid; gap: 0 18px; }
.form-note { font-size: .78rem; line-height: 1.6; margin: 14px 0 0; }
.form-note a { color: var(--blue); text-decoration: underline; }
.contact form .btn { width: 100%; margin-top: 6px; }

.contact__info { display: grid; gap: 14px; }
.info-item {
  display: flex; gap: 16px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; transition: border-color .25s ease, transform .25s ease;
}
a.info-item:hover { border-color: var(--blue); transform: translateX(3px); }
.info-item .info-item__icon {
  flex: none; width: 42px; height: 42px; border-radius: 12px; background: #eef2fc;
  color: var(--blue); display: grid; place-items: center; place-content: center;
}
.info-item__icon svg { width: 20px; height: 20px; display: block; }
.info-item b { display: block; color: var(--ink); font-size: .95rem; }
.info-item span { font-size: .88rem; line-height: 1.55; display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #93a2c0; padding-block: clamp(50px, 7vw, 76px) 0; font-size: .9rem; }
.footer__top { display: grid; gap: 38px; padding-bottom: 44px; }
.footer__logo { height: 46px; width: auto; margin-bottom: 18px; }
.footer h4 { color: #fff; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 24px 30px;
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  font-size: .82rem;
}

/* ---------- Reveal (nur bei aktivem JS ausblenden) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Legal pages ---------- */
.legal { padding-top: clamp(120px, 16vw, 160px); }
.legal .wrap { max-width: 820px; }
.legal h2 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); margin-top: 2.2em; }
.legal h2:first-of-type { margin-top: 1.4em; }
.legal p, .legal li { font-size: .96rem; }
.legal ul { padding-left: 20px; }
.legal address { font-style: normal; line-height: 1.9; }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .hero__facts { grid-template-columns: repeat(4, 1fr); }
  .trust__grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 860px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: .9fr 1.1fr; }
  .split--rev .split__media { order: 2; }
  .region { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1.15fr .85fr; }
  .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 30px; }
  .cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
  .cta-band__inner > div:first-child { flex: 1 1 auto; max-width: 640px; }
  .cta-band__inner > div:last-child { flex: 0 0 auto; justify-content: flex-end; }
}

@media (min-width: 980px) {
  .nav { display: flex; }
  .header__cta { display: inline-flex; }
  .burger, .mobile-nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
