/* ============================================
   IMEX – Web Fonts (lokal, DSGVO-konform, Ubuntu)
   ============================================ */
/* latin-ext */
@font-face { font-family:'Ubuntu'; font-style:italic; font-weight:300; font-display:swap; src:url(../files/fonts/4iCp6KVjbNBYlgoKejZftVyBN4Ffgg.woff2) format('woff2'); unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
/* latin */
@font-face { font-family:'Ubuntu'; font-style:italic; font-weight:300; font-display:swap; src:url(../files/fonts/4iCp6KVjbNBYlgoKejZftVyPN4E.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; }
/* latin-ext */
@font-face { font-family:'Ubuntu'; font-style:italic; font-weight:400; font-display:swap; src:url(../files/fonts/4iCu6KVjbNBYlgoKej76l0mwFg.woff2) format('woff2'); unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
/* latin */
@font-face { font-family:'Ubuntu'; font-style:italic; font-weight:400; font-display:swap; src:url(../files/fonts/4iCu6KVjbNBYlgoKej70l0k.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; }
/* latin-ext */
@font-face { font-family:'Ubuntu'; font-style:normal; font-weight:300; font-display:swap; src:url(../files/fonts/4iCv6KVjbNBYlgoC1CzjvmyNL4U.woff2) format('woff2'); unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
/* latin */
@font-face { font-family:'Ubuntu'; font-style:normal; font-weight:300; font-display:swap; src:url(../files/fonts/4iCv6KVjbNBYlgoC1CzjsGyN.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; }
/* latin-ext */
@font-face { font-family:'Ubuntu'; font-style:normal; font-weight:400; font-display:swap; src:url(../files/fonts/4iCs6KVjbNBYlgoKcQ72j00.woff2) format('woff2'); unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
/* latin */
@font-face { font-family:'Ubuntu'; font-style:normal; font-weight:400; font-display:swap; src:url(../files/fonts/4iCs6KVjbNBYlgoKfw72.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; }
/* latin-ext */
@font-face { font-family:'Ubuntu'; font-style:normal; font-weight:500; font-display:swap; src:url(../files/fonts/4iCv6KVjbNBYlgoCjC3jvmyNL4U.woff2) format('woff2'); unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
/* latin */
@font-face { font-family:'Ubuntu'; font-style:normal; font-weight:500; font-display:swap; src:url(../files/fonts/4iCv6KVjbNBYlgoCjC3jsGyN.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; }
/* latin-ext */
@font-face { font-family:'Ubuntu'; font-style:normal; font-weight:700; font-display:swap; src:url(../files/fonts/4iCv6KVjbNBYlgoCxCvjvmyNL4U.woff2) format('woff2'); unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
/* latin */
@font-face { font-family:'Ubuntu'; font-style:normal; font-weight:700; font-display:swap; src:url(../files/fonts/4iCv6KVjbNBYlgoCxCvjsGyN.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; }
/* latin-ext */
@font-face { font-family:'Ubuntu Mono'; font-style:normal; font-weight:400; font-display:swap; src:url(../files/fonts/KFOjCneDtsqEr0keqCMhbCc0CsTKlA.woff2) format('woff2'); unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
/* latin */
@font-face { font-family:'Ubuntu Mono'; font-style:normal; font-weight:400; font-display:swap; src:url(../files/fonts/KFOjCneDtsqEr0keqCMhbCc6CsQ.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; }
/* latin-ext */
@font-face { font-family:'Ubuntu Mono'; font-style:normal; font-weight:700; font-display:swap; src:url(../files/fonts/KFO-CneDtsqEr0keqCMhbC-BL9H7tY12eg.woff2) format('woff2'); unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
/* latin */
@font-face { font-family:'Ubuntu Mono'; font-style:normal; font-weight:700; font-display:swap; src:url(../files/fonts/KFO-CneDtsqEr0keqCMhbC-BL9H1tY0.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; }

/* ============================================
   IMEX – Design Tokens
   ============================================ */
:root {
  --ink:         #031e3d;
  --ink-soft:    #09478e;
  --paper:       #f4f8fc;
  --paper-deep:  #edf4fa;
  --white:       #ffffff;
  --slate:       #5a7a9a;
  --border:      #ccd8e8;

  --red:         #e2001a;
  --red-dark:    #b5001a;
  --red-tint:    #fde8eb;

  --navy:        #031e3d;
  --navy-mid:    #09478e;
  --blue:        #09478e;
  --blue-light:  #00a3de;

  --font-display: "Ubuntu", Verdana, Arial, sans-serif;
  --font-body:    "Ubuntu", Verdana, Arial, sans-serif;
  --font-mono:    "Ubuntu Mono", "SFMono-Regular", Consolas, monospace;

  --radius-s: 0px;
  --radius-m: 0px;
  --radius-l: 0px;

  --maxw: 1400px;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust:100%; text-size-adjust:100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 115%;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3 { font-family:var(--font-display); font-weight:700; line-height:1.12; margin:0 0 0.5em; color:var(--ink); }
p { margin:0 0 1em; color:var(--ink-soft); }
a { color:inherit; text-decoration:none; }
img { max-width:100%; display:block; }
ul { list-style:none; margin:0; padding:0; }
button { font-family:inherit; }

.wrap { max-width:var(--maxw); width:100%; margin:0 auto; padding:0 40px; box-sizing:border-box; }

.skip-link { position:absolute; left:-999px; top:0; background:var(--ink); color:var(--white); padding:10px 16px; z-index:200; }
.skip-link:focus { left:16px; top:16px; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* ============================================
   Eyebrow / labels
   ============================================ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-dark);
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 1.1em;
}
.eyebrow--center { justify-content: center; }
.eyebrow__dot {
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  display: inline-block;
  flex-shrink: 0;
}
.eyebrow__dot::before,
.eyebrow__dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--red);
  animation: eyebrow-pulse 2.6s ease-out infinite;
}
.eyebrow__dot::after { animation-delay: 1.3s; }
@keyframes eyebrow-pulse {
  0%   { transform:scale(1);   opacity:0.55; }
  100% { transform:scale(3.5); opacity:0; }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}
.btn--primary { background:var(--red); color:var(--white); }
.btn--primary:hover { background:var(--red-dark); transform:translateY(-2px); box-shadow:0 10px 28px -6px rgba(226,0,26,0.45); }
.btn--ghost { background:transparent; color:var(--ink); border-color:var(--ink); }
.btn--ghost:hover { border-color:var(--red); color:var(--red); transform:translateY(-2px); box-shadow:0 8px 24px -6px rgba(226,0,26,0.28); }
.btn--ghost-light { background:transparent; color:var(--white); border-color:rgba(255,255,255,0.55); }
.btn--ghost-light:hover { border-color:var(--red); color:var(--red); box-shadow:0 8px 24px -6px rgba(226,0,26,0.35); }
.btn--small { padding:9px 18px; font-size:0.85rem; }
.btn--outline-light { background:transparent; color:var(--white); border-color:rgba(255,255,255,0.4); }
.btn--outline-light:hover { background:var(--red); border-color:var(--red); transform:translateY(-2px); }

/* ============================================
   Header
   ============================================ */
body { padding-top: 114px; }

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  width: 100%;
  overflow: hidden;
  background:
    url('../files/intern/header/imex-spedition_hintergrund.png') center bottom no-repeat,
    linear-gradient(to bottom right, #ffffff, #0ca7fc, #09478e, #09478e);
  border-bottom: 3px solid rgba(209,209,209,0.35);
  transition: box-shadow 0.4s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 3px 24px rgba(3,30,61,0.35);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
  transition: padding 0.4s ease;
}
.site-header.is-scrolled .site-header__inner {
  padding-top: 8px;
  padding-bottom: 8px;
}
.brand { display:flex; flex-direction:column; gap:4px; margin-right:auto; }
.brand__logo { height:78px; width:auto; display:block; transition:height 0.4s ease; }
.site-header.is-scrolled .brand__logo { height:44px; }
.brand__sub { font-family:var(--font-mono); font-size:0.65rem; letter-spacing:0.06em; color:var(--slate); text-transform:uppercase; }

.header-slogan {
  position: absolute;
  right: 20px;
  top: 6px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  text-shadow: 1px 1px 8px rgba(3,30,61,0.5);
  transition: top 0.5s ease, opacity 0.5s ease;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}
.site-header.is-scrolled .header-slogan {
  top: -50px;
  opacity: 0;
}

.nav ul { display:flex; gap:28px; }
.nav a { font-size:0.95rem; font-weight:600; color:rgba(255,255,255,0.9); position:relative; padding:4px 0; text-shadow:0 1px 3px rgba(3,30,61,0.4); }
.nav a:hover { color:#fff; }
.nav a::after { content:""; position:absolute; left:0; bottom:-2px; width:0; height:2px; background:var(--red); transition:width 0.2s ease; }
.nav a:hover::after { width:100%; }
.nav a.is-active { color:#fff; }
.nav a.is-active::after { width:100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 57px; height: 57px;
  background: none; border: none; cursor: pointer;
}
.nav-toggle span { display:block; width:29px; height:2.5px; background:var(--white); transition:transform 0.2s ease,opacity 0.2s ease; }

/* ============================================
   Hero / Slider
   ============================================ */
.hero { padding:0; background:var(--navy); }

.slider {
  position: relative;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
  background: var(--navy);
  height: 72vh; height: 72dvh;
  min-height: 480px;
  max-height: 800px;
}
.slider__track { position:relative; height:100%; }
.slider__slide { position:absolute; inset:0; opacity:0; z-index:1; transition:opacity 3s cubic-bezier(0.65,0,0.35,1); }
.slider__slide.is-active { opacity:1; z-index:2; }
.slider__slide img { width:100%; height:100%; object-fit:cover; display:block; transform:scale(1.1); }

@keyframes kb-zoom-in   { from { transform:scale(1.07) translate(0,0);     } to { transform:scale(1.0) translate(0,0); } }
@keyframes kb-zoom-out  { from { transform:scale(1.0) translate(0,0);      } to { transform:scale(1.07) translate(0,0); } }
@keyframes kb-pan-br-tl { from { transform:scale(1.06) translate(1%,0.8%); } to { transform:scale(1.02) translate(-0.8%,-0.5%); } }
@keyframes kb-pan-tl-br { from { transform:scale(1.06) translate(-1%,-0.8%); } to { transform:scale(1.02) translate(0.8%,0.5%); } }

@media (prefers-reduced-motion: no-preference) {
  .slider__slide img.kb-1 { animation:kb-zoom-in   10s cubic-bezier(0.65,0,0.35,1) forwards; }
  .slider__slide img.kb-2 { animation:kb-zoom-out  10s cubic-bezier(0.65,0,0.35,1) forwards; }
  .slider__slide img.kb-3 { animation:kb-pan-br-tl 10s cubic-bezier(0.65,0,0.35,1) forwards; }
  .slider__slide img.kb-4 { animation:kb-pan-tl-br 10s cubic-bezier(0.65,0,0.35,1) forwards; }
}

.slider__overlay {
  position: absolute; inset:0; width:100%;
  background: linear-gradient(to right, rgba(11,28,44,0.72) 0%, rgba(11,28,44,0.3) 55%, rgba(11,28,44,0) 100%);
  display: flex; align-items: flex-end;
  padding-bottom: 80px;
  z-index: 2;
}
.hero__headline {
  font-size: clamp(2rem,4.5vw,3.4rem);
  color: var(--white);
  margin-bottom: 0.55em;
  line-height: 1.12;
}
.hero__sub {
  font-size: clamp(1rem,1.6vw,1.2rem);
  color: rgba(255,255,255,0.82);
  font-weight: 300;
  margin-bottom: 1.6em;
  max-width: 54ch;
}
.hero__actions { display:flex; gap:14px; flex-wrap:wrap; }
.eyebrow--light { color:rgba(255,255,255,0.8); margin-bottom:0.8em; }
.eyebrow--light .eyebrow__dot { background:rgba(255,255,255,0.9); }
.eyebrow--light .eyebrow__dot::before,
.eyebrow--light .eyebrow__dot::after { background:rgba(255,255,255,0.7); }

.slider__btn {
  position: absolute; top:50%; transform:translateY(-50%);
  background:none; border:none; padding:0;
  width:56px; height:56px; cursor:pointer;
  display:none; align-items:center; justify-content:center;
  z-index:3; transition:transform 0.2s ease;
}
@media (min-width: 1400px) {
  .slider__btn { display:flex; }
}
.slider__btn svg { width:48px; height:48px; stroke:rgba(255,255,255,0.85); stroke-width:2; fill:none; filter:drop-shadow(0 1px 4px rgba(0,0,0,0.6)); transition:stroke 0.2s ease; }
.slider__btn:hover svg { stroke:var(--red); }
.slider__btn--prev { left:20px; }
.slider__btn--next { right:20px; }

.slider__dots { position:absolute; bottom:20px; right:24px; display:flex; gap:8px; z-index:3; }
.slider__dot { width:10px; height:3px; background:rgba(255,255,255,0.4); cursor:pointer; transition:background 0.2s ease,width 0.2s ease; }
.slider__dot.is-active { background:var(--red); width:28px; }

/* Meta Bar */
.hero__meta-bar { background:var(--navy-mid); color:var(--white); border-bottom:3px solid var(--red); }
.hero__meta-inner { display:flex; align-items:center; justify-content:center; gap:0; padding-top:24px; padding-bottom:24px; }
.hero__meta-item { display:flex; align-items:baseline; gap:12px; padding:0 60px 0 0; font-size:1rem; color:rgba(255,255,255,0.7); }
.hero__meta-item .num { font-family:var(--font-display); font-weight:700; font-size:2rem; color:var(--red); line-height:1; }
.hero__meta-divider { width:1px; height:36px; background:rgba(255,255,255,0.15); margin-right:60px; flex-shrink:0; }

/* ============================================
   Sections
   ============================================ */
.section { padding:96px 0; }
.section--alt { background:var(--white); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.section--dark { background:var(--navy); padding:80px 0; }
.section--stripe { background:var(--paper-deep); }
.section__title { font-size:clamp(1.8rem,3.4vw,2.4rem); max-width:24ch; }
.section__title--center { margin-left:auto; margin-right:auto; text-align:center; max-width:none; }
.section__title--light { color:var(--white); }
.section__lead { max-width:60ch; font-size:1.05rem; margin-bottom:2.2em; }
.section__lead--center { margin-left:auto; margin-right:auto; text-align:center; }
.section__lead--light { color:rgba(255,255,255,0.78); }

.reveal { opacity:0; transform:translateY(18px); transition:opacity 0.9s ease,transform 0.9s ease; }
.reveal.is-visible { opacity:1; transform:translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity:1; transform:none; } }

/* ============================================
   Service Cards (3x3)
   ============================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
}
.service-card:hover { transform:translateY(-4px); box-shadow:0 16px 40px -20px rgba(11,28,44,0.22); }
.service-card__icon { width:180px; height:180px; margin-bottom:24px; display:block; }
.service-card__icon img { width:100%; height:100%; object-fit:contain; }
.service-card h3 { font-size:1.1rem; margin-bottom:0.4em; color:var(--ink); }
.service-card p { font-size:0.92rem; flex:1; color:var(--ink-soft); }
.service-card__link { font-size:0.85rem; font-weight:700; color:var(--red-dark); margin-top:12px; font-family:var(--font-mono); }

/* ============================================
   Split / About
   ============================================ */
.split { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.split--reverse { direction:rtl; }
.split--reverse > * { direction:ltr; }
.split__img { overflow:hidden; position:relative; }
.split__img img { width:100%; height:100%; object-fit:cover; display:block; min-height:420px; }
.split__img::after {
  content:'';
  position:absolute; left:0; bottom:0; right:0;
  height:4px;
  background:var(--red);
}

/* USP Items */
.usp-list { display:flex; flex-direction:column; gap:20px; margin-top:28px; }
.usp-item { display:flex; align-items:flex-start; gap:16px; }
.usp-icon {
  width:44px; height:44px; flex-shrink:0;
  background:var(--red-tint);
  display:flex; align-items:center; justify-content:center;
}
.usp-icon svg { width:22px; height:22px; stroke:var(--red-dark); stroke-width:2; fill:none; }
.usp-item h4 { font-size:1rem; margin:0 0 0.25em; }
.usp-item p { font-size:0.9rem; margin:0; }

/* ============================================
   Stats / Numbers
   ============================================ */
.stats-bar { background:var(--navy-mid); padding:44px 0; }
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:0; }
.stat-item { text-align:center; padding:0 24px; border-right:1px solid rgba(255,255,255,0.3); }
.stat-item:last-child { border-right:none; }
.stat-item .num { font-size:2.6rem; font-weight:700; color:var(--white); font-family:var(--font-display); line-height:1; display:block; }
.stat-item__label { font-size:0.88rem; color:rgba(255,255,255,0.88); margin-top:6px; display:block; }

/* ============================================
   Locations
   ============================================ */
.locations-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:48px; }
.location-card {
  background:var(--white);
  border:1.5px solid var(--border);
  padding:36px 32px;
  position:relative;
  transition:border-color 0.2s, box-shadow 0.2s;
}
.location-card:hover { border-color:var(--red); box-shadow:0 8px 32px -10px rgba(11,28,44,0.15); }
.location-card__badge {
  font-family:var(--font-mono);
  font-size:0.68rem;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--white);
  background:var(--red);
  padding:4px 12px;
  display:inline-block;
  margin-bottom:20px;
}
.location-card.is-hq .location-card__badge { background:var(--navy); }
.location-card h3 { font-size:1.2rem; margin-bottom:0.8em; }
.location-card dl { display:flex; flex-direction:column; gap:12px; }
.location-card dl div { display:flex; flex-direction:column; gap:2px; }
.location-card dt { font-family:var(--font-mono); font-size:0.68rem; letter-spacing:0.08em; text-transform:uppercase; color:var(--red-dark); }
.location-card dd { margin:0; font-size:0.92rem; color:var(--ink-soft); }
.location-card dd a { color:var(--ink); font-weight:600; transition:color 0.2s; }
.location-card dd a:hover { color:var(--red); }

.location-map { margin-top:48px; border:1px solid var(--border); overflow:hidden; }
.location-map img { width:100%; height:320px; object-fit:cover; object-position:center; display:block; }

/* ============================================
   Kontakt – Standorte (c57-Stil)
   ============================================ */
.kontakt-locs {
  background: var(--navy-mid);
  color: var(--white);
  padding: 60px 0 52px;
}
.kontakt-locs__head {
  margin-bottom: 40px;
}
.kontakt-locs__title {
  font-size: clamp(2rem,4vw,3.2rem);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  margin: 0 0 12px;
}
.kontakt-locs__sub {
  font-weight: 700;
  color: var(--white);
  font-size: 1.05rem;
  margin: 0;
}
.kontakt-locs__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.kontakt-col p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
  margin: 0 0 16px;
}
.kontakt-col a {
  color: rgba(255,255,255,0.88);
  transition: color 0.2s;
}
.kontakt-col a:hover { color: var(--white); }
.kontakt-city {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}
.kontakt-city--gap { margin-top: 36px; }
.kontakt-logo-round {
  width: 160px;
  height: 160px;
  margin-top: 28px;
  display: block;
}
.kontakt-col--map {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.kontakt-map {
  max-width: 100%;
  height: auto;
  display: block;
  filter: brightness(1.1) contrast(0.95);
}

/* ============================================
   Anfrage-Sektion
   ============================================ */
.anfrage-section {
  background: var(--navy);
  padding: 72px 0 80px;
}
.anfrage-inner {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 64px;
  align-items: start;
}
.anfrage-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--white);
  margin-bottom: 0.5em;
  line-height: 1.2;
}
.anfrage-lead {
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2em;
}
.anfrage-contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.anfrage-contact {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.06);
  border-left: 3px solid var(--red);
  text-decoration: none;
  transition: background 0.2s;
}
.anfrage-contact:hover { background: rgba(255,255,255,0.1); }
.anfrage-contact--static { cursor: default; }
.anfrage-contact--static:hover { background: rgba(255,255,255,0.06); }
.anfrage-contact__icon {
  width: 22px; height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--red);
}
.anfrage-contact__icon svg { width:100%; height:100%; }
.anfrage-contact__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 3px;
}
.anfrage-contact__value {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

.anfrage-form-card {
  background: var(--white);
  border-top: 4px solid var(--red);
  padding: 40px 40px 44px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
}

.hp-field { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.form-msg { display:none; padding:14px 20px; margin-bottom:16px; font-weight:700; }
.form-msg--ok  { display:block; background:#d4f5e2; color:#1a6b3a; border-left:4px solid #27ae60; }
.form-msg--err { display:block; background:#fde8e8; color:#7a1a1a; border-left:4px solid #e74c3c; }
.contact-form { background:var(--white); padding:36px; display:flex; flex-direction:column; gap:18px; border:1px solid var(--border); }
.form-row { display:flex; flex-direction:column; gap:6px; }
.form-row--split { flex-direction:row; gap:18px; }
.form-row--split > div { flex:1; display:flex; flex-direction:column; gap:6px; }
.form-row label { font-size:0.85rem; font-weight:700; }
.form-row input, .form-row textarea {
  font-family:inherit; font-size:0.95rem;
  padding:12px 14px; border:1.5px solid var(--border); background:var(--white); resize:vertical;
}
.form-row input:focus, .form-row textarea:focus { border-color:var(--red); outline:none; }
.form-row--checkbox { flex-direction:row; align-items:flex-start; gap:10px; }
.form-row--checkbox input { margin-top:4px; flex-shrink:0; width:18px; height:18px; }
.form-row--checkbox label { font-size:0.82rem; font-weight:400; color:var(--slate); }
.form-row--checkbox a { text-decoration:underline; }
.contact-form .btn { align-self:flex-start; margin-top:4px; }

.contact-form-wrap { background:var(--paper); padding:36px; display:flex; flex-direction:column; gap:18px; border:1px solid var(--border); }

/* Dark section adjustments */
.section--dark .eyebrow { color:var(--red); }
.section--dark .section__title { color:var(--white); }

/* ============================================
   CTA Banner
   ============================================ */
.cta-band { background:var(--navy-mid); border-top:3px solid var(--red); }
.cta-band__inner { display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap; padding:52px 0; }
.cta-band__title { color:var(--white); font-size:1.8rem; margin-bottom:0.25em; }
.cta-band__lead { color:rgba(255,255,255,0.75); margin:0; font-size:1.05rem; }

/* ============================================
   ISO / Partners / Certifications
   ============================================ */
.cert-bar { background:var(--white); border-top:1px solid var(--border); padding:36px 0; }
.cert-inner { display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap; }
.cert-text { font-family:var(--font-mono); font-size:0.78rem; letter-spacing:0.06em; text-transform:uppercase; color:var(--slate); }
.cert-logos { display:flex; align-items:center; gap:40px; flex-wrap:wrap; }
.cert-logos img { height:60px; width:auto; opacity:0.75; transition:opacity 0.2s; }
.cert-logos img:hover { opacity:1; }

/* ============================================
   Page Hero (Unterseiten)
   ============================================ */
.page-hero { background:var(--navy); padding:64px 0 56px; border-bottom:3px solid var(--red); }
.page-hero__inner { max-width:680px; }
.page-hero__eyebrow { color:var(--red); }
.page-hero__title { font-size:clamp(2rem,4vw,3rem); color:var(--white); margin-bottom:0.4em; }
.page-hero__lead { font-size:1.08rem; color:rgba(255,255,255,0.8); margin:0; }

/* Leistungen Unterseite */
.leistung-block { display:grid; grid-template-columns:1fr 1fr; min-height:420px; border-top:1px solid var(--border); }
.leistung-block--reverse { direction:rtl; }
.leistung-block--reverse > * { direction:ltr; }
.leistung-block__img { overflow:hidden; background:var(--paper-deep); }
.leistung-block__img img { width:100%; height:100%; object-fit:cover; display:block; min-height:420px; transition:transform 0.6s ease; }
.leistung-block:hover .leistung-block__img img { transform:scale(1.03); }
.leistung-block__body { padding:52px 48px; display:flex; flex-direction:column; justify-content:center; gap:20px; background:var(--white); }
.leistung-block__body h2 { font-size:clamp(1.6rem,2.8vw,2.2rem); }
.leistung-block__body p { font-size:0.96rem; line-height:1.75; color:var(--ink-soft); max-width:44ch; }
.leistung-block__tags { display:flex; flex-wrap:wrap; gap:6px; }
.leistung-block__tag { font-family:var(--font-mono); font-size:0.7rem; padding:4px 12px; background:var(--red-tint); color:var(--red-dark); }
.leistung-block__icon { width:56px; height:56px; }
.leistung-block__icon img { width:100%; height:100%; object-fit:contain; }

/* Prose (Impressum / Datenschutz) */
.prose { max-width:72ch; }
.prose h2 { font-size:1.4rem; margin:2em 0 0.5em; }
.prose h3 { font-size:1.1rem; margin:1.6em 0 0.4em; }
.prose p, .prose li { font-size:0.95rem; color:var(--ink-soft); line-height:1.75; }
.prose ul { list-style:disc; padding-left:1.4em; margin-bottom:1em; }
.prose a { color:var(--red-dark); text-decoration:underline; }

/* ============================================
   Footer
   ============================================ */
.site-footer { background:var(--navy-mid); color:#c7c9cd; padding:52px 0 0; }
.site-footer__inner { display:grid; grid-template-columns:160px 1fr 1fr 1fr; gap:24px 40px; align-items:start; padding-bottom:36px; border-bottom:1px solid rgba(255,255,255,0.12); }
.brand__logo--footer { filter:brightness(0) invert(1); opacity:0.85; }
.brand--footer .brand__sub { color:#8d9097; }
.footer-col h4 { font-size:0.8rem; font-family:var(--font-mono); letter-spacing:0.1em; text-transform:uppercase; color:var(--red); margin-bottom:14px; }
.footer-col ul { display:flex; flex-direction:column; gap:8px; }
.footer-col ul a { font-size:0.88rem; color:rgba(255,255,255,0.65); transition:color 0.2s; }
.footer-col ul a:hover { color:var(--white); }
.footer-col p { font-size:0.88rem; color:rgba(255,255,255,0.65); margin:0 0 6px; }
.footer-col a { color:rgba(255,255,255,0.65); transition:color 0.2s; }
.footer-col a:hover { color:var(--white); }
.footer-legal { display:flex; gap:20px; }
.footer-legal a { font-size:0.88rem; color:rgba(255,255,255,0.5); transition:color 0.2s; }
.footer-legal a:hover { color:var(--white); }
.site-footer__bottom { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; padding-top:20px; padding-bottom:28px; }
.site-footer__copy { font-size:0.78rem; color:#8d9097; }
.footer-iso { height:78px; width:auto; }

.back-to-top {
  position:fixed; right:24px; bottom:24px;
  width:48px; height:48px;
  display:flex; align-items:center; justify-content:center;
  background:var(--red);
  box-shadow:0 8px 24px -6px rgba(226,0,26,0.5);
  opacity:0; pointer-events:none;
  transition:opacity 0.2s ease, transform 0.2s ease;
  z-index:90;
}
.back-to-top svg { width:26px; height:26px; stroke:var(--white); stroke-width:2; fill:none; }
.back-to-top.is-visible { opacity:1; pointer-events:auto; }
.back-to-top:hover { transform:translateY(-3px); }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 980px) {
  body { padding-top: 94px; }
  .brand__logo { height:58px; }
  .site-header.is-scrolled .brand__logo { height:38px; }

  body.nav-open::after {
    content:''; position:fixed; top:0; left:0; right:0; bottom:0;
    background:rgba(11,28,44,0.65); z-index:98; cursor:pointer;
  }
  .nav {
    position:fixed; top:0; left:0; bottom:0; right:auto;
    width:78vw; max-width:440px;
    background:var(--navy); border-right:2px solid var(--red);
    padding:30px 30px 48px;
    transform:translateX(-100%);
    transition:transform 0.32s cubic-bezier(0.4,0,0.2,1);
    overflow-y:auto; overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    z-index:101;
  }
  .nav::before {
    content:''; display:block; width:140px; height:40px;
    background:url('../files/intern/header/imex-spedition-logo.svg') no-repeat left center;
    background-size:contain; filter:brightness(0) invert(1); opacity:0.88;
    margin-bottom:28px; padding-bottom:24px;
    border-bottom:1px solid rgba(255,255,255,0.12);
  }
  .nav.is-open { transform:translateX(0); box-shadow:24px 0 64px rgba(11,28,44,0.55); }
  .nav ul { flex-direction:column; gap:0; }
  .nav li { border-bottom:1px solid rgba(255,255,255,0.06); }
  .nav a { display:block; font-size:1.2rem; font-weight:700; color:rgba(255,255,255,0.78); padding:18px 0; transition:color 0.2s,padding-left 0.2s; }
  .nav a:hover, .nav a.is-active { color:var(--red); padding-left:10px; }
  .nav a::after { display:none; }
  .nav-toggle { display:flex; }
  .nav-cta { display:none; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform:translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity:0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform:translateY(-8px) rotate(-45deg); }

  .section { padding:72px 0; }
  .slider { height:55vh; height:55dvh; min-height:360px; }
  .hero__meta-inner { flex-wrap:wrap; gap:16px; }
  .hero__meta-divider { display:none; }
  .hero__meta-item { padding:0; }
  .split { grid-template-columns:1fr; gap:0; }
  .split--reverse { direction:ltr; }
  .split__img img { min-height:300px; }
  .site-footer__inner { grid-template-columns:140px 1fr 1fr 1fr; gap:20px 28px; }
  .brand--footer .brand__sub { white-space:nowrap; }
  .site-footer__bottom { flex-direction:column; align-items:flex-start; gap:8px; padding-top:20px; padding-bottom:76px; }
  .footer-iso { height:66px; }
  .service-grid { grid-template-columns:repeat(2,1fr); }
  .stats-grid { grid-template-columns:repeat(2,1fr); gap:24px 0; }
  .stat-item { border-right:none; border-bottom:1px solid rgba(255,255,255,0.2); padding:20px 24px; }
  .stat-item:nth-child(2n) { border-right:none; }
  .locations-grid { grid-template-columns:1fr; max-width:500px; }
  .kontakt-locs__grid { grid-template-columns:1fr 1fr; gap:32px; }
  .kontakt-col--map { display:none; }
  .anfrage-inner { grid-template-columns:1fr; gap:40px; }
  .anfrage-form-card { padding:32px 28px 36px; }
  .leistung-block { grid-template-columns:1fr; direction:ltr; }
  .leistung-block__img img { min-height:260px; }
  .leistung-block__body { padding:36px 28px; }
  .cta-band__inner { flex-direction:column; align-items:flex-start; }
  .cert-inner { flex-direction:column; gap:20px; }
  .site-footer__inner { grid-template-columns:120px 1fr 1fr 1fr; gap:20px 28px; }
}

@media (max-width: 760px) {
  .wrap { padding:0 16px; }
  .brand__logo { height:46px; }
  .section { padding:52px 0; }
  .slider { height:50vh; height:50dvh; min-height:280px; }
  .slider__overlay { padding-bottom:32px; }
  .hero__headline { font-size:clamp(1.4rem,5vw,2rem); }
  .hero__sub { font-size:0.95rem; }
  .hero__meta-inner { display:grid; grid-template-columns:repeat(2,1fr); gap:0; padding:0; }
  .hero__meta-item { flex-direction:column; align-items:center; gap:4px; padding:16px 8px; border-right:1px solid rgba(255,255,255,0.1); border-bottom:1px solid rgba(255,255,255,0.1); text-align:center; font-size:0.8rem; }
  .hero__meta-item .num { font-size:1.8rem; }
  .hero__meta-divider { display:none; }
  .service-grid { grid-template-columns:1fr; }
  .service-card__icon { width:120px; height:120px; }
  .stats-grid { grid-template-columns:1fr 1fr; }
  .site-footer__inner { grid-template-columns:1fr 1fr; gap:20px 24px; }
  .site-footer__inner > div:first-child { grid-column:1 / -1; border-bottom:1px solid rgba(255,255,255,0.1); padding-bottom:14px; }
  .site-footer__bottom { padding-top:16px; padding-bottom:80px; align-items:flex-start; }
  .footer-iso { height:57px; }
  .contact-form { padding:24px 20px; }
  .page-hero { padding:44px 0 36px; }
  .page-hero__title { font-size:clamp(1.6rem,5vw,2.4rem); }
  .cta-band__title { font-size:1.4rem; }
  .form-row--split { flex-direction:column; }
  .kontakt-locs__grid { grid-template-columns:1fr; }
  .kontakt-logo-round { width:100px; height:100px; }
  .anfrage-section { padding:48px 0 56px; }
  .anfrage-form-card { padding:24px 20px 28px; }
  .anfrage-form-card .contact-form { padding:0; border:none; }
  .standort-map iframe { height:260px; }
}

@media (max-width: 760px) {
  body { padding-top: 93px; }
}

@media (max-width: 480px) {
  body { padding-top: 93px; }
  .header-slogan { display: none; }
  .btn { padding:10px 18px; font-size:0.88rem; }
  .hero__headline { font-size:clamp(1.5rem,7vw,2rem); }
  .hero__sub { font-size:0.88rem; }
  .hero__sub br { display:none; }
  .hero__actions { flex-direction:column; gap:8px; align-items:flex-start; }
  .stats-grid { grid-template-columns:1fr; }
  .stat-item { border-right:none; border-bottom:1px solid rgba(255,255,255,0.2); }
}
