/* =========================================================================
   I&M CARGO — Design-System
   Aus dem Logo abgeleitet: Navy #071A2F, Gelb #F2C400, Weiß.
   Kein Framework. Reihenfolge: Schriften, Tokens, Reset, Basis,
   Primitive, Bausteine, Sektionen, Kontaktebene, Rechtstexte, Utilities.
   ========================================================================= */

/* --- Schriften --------------------------------------------------------- */
@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/archivo-latin-wght.woff2') format('woff2-variations');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('/assets/fonts/ibm-plex-sans-latin-wght.woff2') format('woff2-variations');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

/* --- Tokens ------------------------------------------------------------ */
:root {
  /* Farben aus dem Logo */
  --navy: #071a2f;
  --navy-900: #05131f;
  --navy-800: #0c243f;
  --navy-700: #143354;
  --navy-600: #1e4165;
  --yellow: #f2c400;
  --yellow-bright: #ffd21a;
  --paper: #f2f1ed;
  --paper-2: #e9e7e1;
  --white: #fff;

  /* Text */
  --ink: #071a2f;
  --ink-muted: #4c5b6b;
  --ink-on-navy: #e7ebf0;
  --muted-on-navy: #9dadbe;

  /* Linien */
  --line: #d6d3cb;
  --line-strong: #b7b3a9;
  /* Rahmen von Bedienelementen: mindestens 3:1 gegen den Untergrund (WCAG 1.4.11). */
  --field-line: #737d8a;
  --field-placeholder: #66707d;
  --line-navy: rgba(255, 255, 255, 0.18);
  --error: #a5241a;

  /* Typografie */
  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-text: 'IBM Plex Sans', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --size-display: clamp(2.5rem, 0.85rem + 5.4vw, 5rem);
  --size-h2: clamp(1.875rem, 1rem + 2.6vw, 3.25rem);
  --size-h3: clamp(1.25rem, 1rem + 0.7vw, 1.625rem);
  --size-lead: clamp(1.0625rem, 1rem + 0.45vw, 1.3125rem);
  --size-body: clamp(1rem, 0.97rem + 0.12vw, 1.0625rem);
  --size-small: 0.9375rem;
  --size-label: 0.75rem;

  /* Raster & Abstände */
  --shell: 1360px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --rail: 52px;
  --section-y: clamp(4rem, 8vw, 8.5rem);
  --header-h: 76px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 1100px) {
  :root {
    --gutter: clamp(2.75rem, 3.8vw, 4.75rem);
    --header-h: 92px;
  }
  /* Eigene Randspur für die Kontaktleiste: sie liegt dadurch nie auf
     Bildern oder Inhalten, sondern eindeutig am Viewport-Rand. */
  body { padding-right: var(--rail); }
}


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

html {
  -webkit-text-size-adjust: 100%;
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--size-body);
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, p, figure, dl, dd, ul, ol, fieldset, legend { margin: 0; padding: 0; }
/* Muss jede Komponenten-Regel schlagen: sonst bleibt eine ausgeblendete
   Overlay-Ebene klickbar über der Seite liegen. */
[hidden] { display: none !important; }
ul, ol { list-style: none; }
img, svg, picture { max-width: 100%; }
img { border-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}
.section--navy :focus-visible,
.site-footer :focus-visible,
.site-menu :focus-visible,
.contact-panel :focus-visible,
.hero__media :focus-visible { outline-color: var(--yellow); }

::selection { background: var(--yellow); color: var(--navy); }

/* --- Basis-Typografie -------------------------------------------------- */
.eyebrow {
  display: block;
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
  font-size: var(--size-label);
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.eyebrow--accent { color: var(--muted-on-navy); }

.section-title {
  font-family: var(--font-display);
  font-size: var(--size-h2);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

.section-lead {
  margin-top: 1.5rem;
  max-width: 46ch;
  font-size: var(--size-lead);
  line-height: 1.55;
  color: var(--ink-muted);
}
.section--navy .section-lead { color: var(--muted-on-navy); }

/* --- Layout-Primitive -------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

.section--navy {
  background: var(--navy);
  color: var(--ink-on-navy);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -100px;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.15s var(--ease);
}
.skip-link:focus { top: 0.5rem; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

.photo {
  background: var(--navy-800);
  overflow: hidden;
}
.photo img {
  display: block;
  width: 100%;
  height: auto;
}
.photo--fill { height: 100%; }
.photo--fill img { height: 100%; object-fit: cover; }

/* --- Buttons & Links --------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65em;
  min-height: 52px;
  padding: 0.5rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform 0.18s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn--large { min-height: 60px; padding-inline: 1.75rem; font-size: 1rem; }
.btn--compact { min-height: 44px; padding-inline: 1.125rem; font-size: 0.8125rem; letter-spacing: 0.04em; text-transform: uppercase; }
.btn--block { display: flex; width: 100%; }

.btn--accent { background: var(--yellow); color: var(--navy); }
.btn--accent:hover { background: var(--yellow-bright); }
.btn--accent:focus-visible { outline-color: var(--navy); }

.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-700); }

.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }

.btn--outline-light { border-color: rgba(255, 255, 255, 0.45); color: #fff; background: transparent; }
.btn--outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  color: var(--ink);
  padding-bottom: 3px;
  border-bottom: 2px solid var(--navy);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform 0.18s var(--ease); }
.link-arrow:hover { color: var(--navy-700); border-color: var(--yellow); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* --- Kopfzeile --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line-strong); }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex: none;
}
.logo__mark { width: 44px; height: 44px; }
.logo__word { width: auto; height: 16px; }
/* Das große Logo greift dort, wo auch die echte Navigation erscheint. */
@media (min-width: 1180px) {
  .logo { gap: 0.875rem; }
  .logo__mark { width: 54px; height: 54px; }
  .logo__word { height: 20px; }
}

.site-nav { display: none; margin-right: auto; }
@media (min-width: 1180px) { .site-nav { display: block; } }
.site-nav__list { display: flex; gap: clamp(0.875rem, 1.6vw, 2rem); }
.site-nav__link {
  display: block;
  padding: 0.4rem 0;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--ink-muted);
  border-bottom: 2px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.site-nav__link:hover { color: var(--ink); border-color: var(--navy); }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
  margin-left: auto;
}

.site-header__phone {
  display: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  white-space: nowrap;
}
.site-header__phone:hover { color: var(--navy-700); text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 1420px) { .site-header__phone { display: inline-block; } }

.site-header__cta { display: none; white-space: nowrap; }
@media (min-width: 700px) { .site-header__cta { display: inline-flex; } }

.lang-switch {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
}
.lang-switch::before {
  content: '';
  align-self: center;
  width: 1px;
  height: 1.15em;
  margin-right: 0.35rem;
  background: var(--line-strong);
}
.lang-switch__label { font-weight: 600; color: var(--ink); }
.lang-switch__link {
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}
.lang-switch__link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.lang-switch--light { color: var(--muted-on-navy); }
.lang-switch--light::before { background: var(--line-navy); }
.lang-switch--light .lang-switch__label { color: #fff; }
.lang-switch--light .lang-switch__link { color: var(--muted-on-navy); }
.lang-switch--light .lang-switch__link:hover { color: #fff; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: none;
  border: 1px solid var(--field-line);
  cursor: pointer;
}
.menu-toggle .icon { width: 22px; height: 22px; }
@media (min-width: 1180px) { .menu-toggle { display: none; } }

/* --- Mobiles Menü ------------------------------------------------------ */
.site-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  background: var(--navy);
  color: #fff;
  padding: 1rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}
.site-menu.is-open { opacity: 1; }
.site-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  border-bottom: 1px solid var(--line-navy);
}
.site-menu__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.38);
  cursor: pointer;
}
.site-menu__nav { padding-block: clamp(1.5rem, 6vw, 3rem); }
.site-menu__nav li + li { border-top: 1px solid var(--line-navy); }
.site-menu__nav a {
  display: block;
  padding: 1rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 6vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.site-menu__foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-navy);
}
.site-menu__contact {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
}
.site-menu__contact .icon { color: var(--yellow); }

/* --- Hero -------------------------------------------------------------- */
.hero { border-bottom: 1px solid var(--line); }

.hero__inner {
  display: grid;
  padding-block: clamp(2.25rem, 6vw, 3rem) 0;
}
.hero__text { min-width: 0; }

.hero__title {
  width: max-content;
  max-width: 100%;
  margin-block: 0 clamp(1.75rem, 3vw, 2.5rem);
  font-family: var(--font-display);
  font-size: var(--size-display);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.hero__title-line { display: block; }

/* Die Wortmarke im Logo steht über einer gelben Linie. Die Schlusszeile der
   Headline greift genau diese Komposition auf – einmal, nicht als Dekor. */
.hero__title-line--rule {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2.25rem);
}
.hero__title-line--rule::after {
  content: '';
  flex: 1 1 0;
  min-width: 2rem;
  height: clamp(5px, 0.5vw, 8px);
  border-radius: 99px;
  background: var(--yellow);
}

.hero__lead {
  max-width: 40ch;
  font-size: var(--size-lead);
  line-height: 1.55;
  color: var(--ink-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(2rem, 3.4vw, 2.75rem);
}
.hero__actions .btn { flex: 1 1 auto; }
@media (min-width: 420px) { .hero__actions .btn { flex: 0 0 auto; } }

.hero__media {
  margin-inline: calc(var(--gutter) * -1);
  margin-top: clamp(2.5rem, 7vw, 3.5rem);
  height: clamp(260px, 46vh, 400px);
}

.hero__facts { border-top: 1px solid var(--line); }
.hero__facts-inner {
  display: grid;
  gap: 1.25rem 2rem;
  padding-block: clamp(1.25rem, 2.5vw, 1.75rem);
}
.hero__fact dt {
  font-family: var(--font-display);
  font-size: var(--size-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.hero__fact dd {
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
}
.hero__fact--phone dd a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  text-decoration: none;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 2px;
}
.hero__fact--phone dd a:hover { color: var(--navy-700); }
.hero__fact--phone .icon { color: var(--navy); }

@media (min-width: 560px) {
  .hero__facts-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .hero__inner {
    max-width: none;
    grid-template-columns: minmax(0, 1.42fr) minmax(0, 0.58fr);
    align-items: stretch;
    column-gap: clamp(2.5rem, 5vw, 5rem);
    padding-block: 0;
    padding-left: max(var(--gutter), calc((100% - var(--shell)) / 2 + var(--gutter)));
    padding-right: 0;
  }
  /* Das Bild reicht von der Kopfzeile bis zur Kennzahlenleiste: ein Block der
     Seitenarchitektur, keine freistehende Bildkarte. */
  .hero__text {
    align-self: center;
    padding-block: clamp(3.5rem, 6vw, 6rem);
    padding-right: clamp(1rem, 2vw, 2.5rem);
  }
  .hero__media { margin: 0; height: auto; align-self: stretch; min-height: clamp(460px, 46vw, 660px); }
  .hero__facts-inner { grid-template-columns: repeat(2, minmax(0, 1fr)) auto; align-items: end; }
  .hero__fact--phone { text-align: right; }
}

/* --- Leistungen -------------------------------------------------------- */
.services__head {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 900px) {
  .services__head {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    align-items: end;
  }
}

.index__row:last-child { border-bottom: 1px solid var(--line); }
.index__row {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 0.4rem 1.25rem;
  padding: clamp(1.5rem, 2.8vw, 2.25rem) 0;
  border-top: 1px solid var(--line-strong);
}
.index__n {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1.8vw, 1.625rem);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  color: var(--ink-muted);
  line-height: 1;
  padding-top: 0.15em;
}
.index__title {
  font-family: var(--font-display);
  font-size: clamp(1.3125rem, 2.1vw, 1.9375rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.index__text {
  grid-column: 2;
  max-width: 44ch;
  font-size: var(--size-small);
  line-height: 1.6;
  color: var(--ink-muted);
}
@media (min-width: 900px) {
  .index__row {
    grid-template-columns: 6rem minmax(0, 5fr) minmax(0, 6fr);
    gap: 2rem;
    align-items: baseline;
  }
  .index__text { grid-column: auto; }
  .index__n { padding-top: 0; }
}

.services__more {
  display: grid;
  gap: 1rem 2rem;
  padding-top: clamp(2rem, 4vw, 3rem);
}
@media (min-width: 900px) {
  .services__more { grid-template-columns: 6rem minmax(0, 5fr) minmax(0, 6fr); }
  .services__more-title { grid-column: 2; }
  .services__more-body { grid-column: 3; }
}
.services__more-title {
  font-family: var(--font-display);
  font-size: var(--size-h3);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.services__more-body p {
  max-width: 52ch;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
}

/* --- Arbeitsweise ------------------------------------------------------ */
.approach { background: var(--paper-2); }
.section-head--inline { margin-bottom: clamp(2rem, 4vw, 3.5rem); }

.approach__inner { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
.approach__head { margin-bottom: 0; }

.approach__item {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 0 1.25rem;
  padding-block: clamp(1.25rem, 2.2vw, 1.75rem);
  border-top: 1px solid var(--line-strong);
}
.approach__item:last-child { border-bottom: 1px solid var(--line-strong); }
.approach__n {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
  color: var(--ink-muted);
}
.approach__title {
  margin-bottom: 0.375rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.012em;
}
.approach__text { color: var(--ink-muted); font-size: var(--size-small); line-height: 1.6; max-width: 46ch; }

@media (min-width: 900px) {
  .approach__inner {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    column-gap: clamp(2.5rem, 5vw, 5rem);
    align-items: start;
  }
  .approach__item { grid-template-columns: 4rem minmax(0, 1fr); gap: 0 2rem; }
}

/* --- Deutschland & Europa ---------------------------------------------- */
.coverage { padding-bottom: 0; }
.coverage__head { display: grid; gap: clamp(1.5rem, 3vw, 3rem); }
@media (min-width: 900px) {
  .coverage__head { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: end; }
}
.coverage__text {
  max-width: 46ch;
  font-size: var(--size-lead);
  line-height: 1.55;
  color: var(--muted-on-navy);
}

.coverage__rule {
  max-width: min(100%, 660px);
  margin-block: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem);
}
.brand-rule { display: block; width: 100%; height: auto; }

.coverage__facts {
  display: grid;
  gap: 1.5rem 2rem;
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--line-navy);
}
@media (min-width: 720px) { .coverage__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.coverage__fact dt {
  font-family: var(--font-display);
  font-size: var(--size-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-on-navy);
}
.coverage__fact dd {
  margin-top: 0.4rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
}

.coverage__band { margin-top: clamp(3rem, 6vw, 5rem); }
.coverage__band img { aspect-ratio: 2400 / 1030; object-fit: cover; }

/* --- Transportanfrage -------------------------------------------------- */
.request__inner { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); }
@media (min-width: 1000px) {
  .request__inner { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: start; }
  .request__intro { position: sticky; top: calc(var(--header-h) + 2.5rem); }
}

.request__aside {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-strong);
}
.request__aside-title {
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
}
.request__aside p { color: var(--ink-muted); max-width: 38ch; }
.request__aside-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.875rem;
  margin-top: 1.5rem;
}

/* Formular */
.form-group { border: none; }
.form-group + .form-group { margin-top: clamp(2rem, 3.5vw, 2.75rem); }
.form-group__legend {
  display: flex;
  align-items: baseline;
  gap: 0.875rem;
  width: 100%;
  margin-bottom: 1.25rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.form-group__n { color: var(--ink-muted); font-variant-numeric: tabular-nums; }

.form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 620px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field--wide { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; }
.field__label {
  margin-bottom: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
}
.field__req { color: var(--error); margin-left: 0.15em; }
.field__hint {
  margin-bottom: 0.4rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--ink-muted);
}
.field__input {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 0.9375rem;
  background: var(--white);
  border: 1px solid var(--field-line);
  border-radius: 0;
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 0.15s var(--ease);
}
.field__input::placeholder { color: var(--field-placeholder); }
.field__input:hover { border-color: var(--navy-600); }
.field__input:focus-visible { border-color: var(--navy); outline: 2px solid var(--navy); outline-offset: -1px; }
.field__input--area { min-height: 96px; resize: vertical; }

.field__select { position: relative; display: block; }
.field__select select { appearance: none; padding-right: 2.75rem; }
.field__select::after {
  content: '';
  position: absolute;
  right: 1.125rem;
  top: 50%;
  width: 9px; height: 9px;
  margin-top: -6px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(45deg);
  pointer-events: none;
}

.field__error {
  margin-top: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--error);
}
.field--invalid .field__input { border-color: var(--error); border-width: 2px; }

.upload { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; }
.upload__button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.5rem 1.25rem;
  border: 1px dashed var(--field-line);
  background: var(--white);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.upload__button:hover { border-color: var(--navy); }
.upload__input {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  overflow: hidden;
}
/* Der Datei-Input ist visuell versteckt; der sichtbare Fokus liegt auf seiner Beschriftung. */
.upload__input:focus-visible + .upload__button { outline: 2px solid var(--navy); outline-offset: 2px; }
.upload__list { font-size: 0.875rem; color: var(--ink-muted); }
.upload__list strong { font-weight: 600; color: var(--ink); }

.consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  margin-top: clamp(2rem, 3.5vw, 2.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.consent__box {
  width: 24px; height: 24px;
  margin: 0.2rem 0 0;
  accent-color: var(--navy);
  flex: none;
}
.consent__label { font-size: 0.9375rem; line-height: 1.55; color: var(--ink-muted); }
.consent__label a { color: var(--ink); text-underline-offset: 3px; }
.consent .field__error { grid-column: 1 / -1; }

.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: clamp(1.75rem, 3vw, 2.25rem);
}
.form-foot__note { font-size: 0.8125rem; color: var(--ink-muted); }

.form-message {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--yellow);
  background: var(--white);
  font-size: 0.9375rem;
}
.form-message strong { display: block; font-family: var(--font-display); margin-bottom: 0.35rem; }
.form-message a { font-weight: 600; }
.form-message--error { border-left-color: var(--error); }

.form-success {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--navy);
  color: #fff;
}
.form-success__title {
  font-family: var(--font-display);
  font-size: var(--size-h3);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.form-success__text { color: var(--muted-on-navy); max-width: 44ch; }
.form-success__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-navy);
  font-family: var(--font-display);
  font-weight: 600;
}
.form-success__contact a { text-decoration: none; border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }

/* --- Karriere ---------------------------------------------------------- */
.career { background: var(--paper-2); }
.career__inner { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 900px) {
  .career__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; }
}
.career__photo img { aspect-ratio: 4 / 3; object-fit: cover; }
.career__text p { margin-top: 1.25rem; max-width: 48ch; color: var(--ink-muted); }
.career__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* --- Kontakt ----------------------------------------------------------- */
.contact__cols {
  display: grid;
  gap: 2.5rem;
  padding-top: clamp(2rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line-navy);
}
@media (min-width: 860px) {
  .contact__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); }
}
.contact__label {
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: var(--size-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-on-navy);
}
.contact__col address,
.contact__col p { color: var(--ink-on-navy); }
.contact__muted { color: var(--muted-on-navy); font-size: 0.9375rem; }
.contact__phone {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
  border-bottom: 3px solid var(--yellow);
  padding-bottom: 0.15rem;
}
.contact__phone:hover { color: var(--yellow); }
.contact__mail {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: #fff;
  text-underline-offset: 4px;
}
.contact__availability { margin-top: 0.75rem; color: var(--muted-on-navy); }
.contact__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  color: var(--muted-on-navy);
  text-decoration: none;
}
.contact__whatsapp:hover { color: #fff; }
.contact__whatsapp .icon { width: 1.1em; height: 1.1em; }

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
}

/* --- Fußzeile ---------------------------------------------------------- */
.site-footer {
  background: var(--navy-900);
  color: var(--ink-on-navy);
  border-top: 1px solid var(--line-navy);
  padding-block: clamp(3rem, 5vw, 4.5rem) clamp(2rem, 3vw, 2.5rem);
}
.site-footer__inner { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.site-footer__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding-bottom: clamp(2rem, 4vw, 3rem); }
.site-footer__tagline {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted-on-navy);
}
.site-footer__cols {
  display: grid;
  gap: 2rem;
  padding-block: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line-navy);
}
@media (min-width: 620px) { .site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .site-footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem; } }
.site-footer__title {
  margin-bottom: 0.875rem;
  font-family: var(--font-display);
  font-size: var(--size-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-on-navy);
}
.site-footer a { text-underline-offset: 4px; }
.site-footer__note { margin-top: 0.5rem; color: var(--muted-on-navy); font-size: 0.9375rem; }
.site-footer__links li + li { margin-top: 0.4rem; }
.site-footer__links + .lang-switch { margin-top: 1.25rem; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-navy);
  font-size: 0.875rem;
  color: var(--muted-on-navy);
}
.site-footer__top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
}
.site-footer__top .icon { transform: rotate(-90deg); }
@media (max-width: 1099px) { .site-footer__bottom { padding-bottom: 4.5rem; } }

/* --- Kontaktebene: Leiste, Panel, mobiler Button ----------------------- */
.contact-rail {
  position: fixed;
  right: 0;
  bottom: clamp(2rem, 14vh, 7rem);
  z-index: 60;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: var(--rail);
  padding: 1.75rem 0;
  background: var(--navy);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background-color 0.18s var(--ease);
}
.contact-rail:hover { background: var(--navy-700); }
.contact-rail__label {
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
.contact-rail .icon { width: 18px; height: 18px; color: var(--yellow); }
@media (min-width: 1100px) { .contact-rail { display: flex; } }

.contact-fab {
  position: fixed;
  right: clamp(0.75rem, 3vw, 1.5rem);
  bottom: calc(clamp(0.75rem, 3vw, 1.5rem) + env(safe-area-inset-bottom));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0 1.125rem;
  background: var(--navy);
  color: #fff;
  border: none;
  border-bottom: 3px solid var(--yellow);
  box-shadow: 0 8px 28px rgba(7, 26, 47, 0.28);
  cursor: pointer;
}
.contact-fab__label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.contact-fab .icon { width: 18px; height: 18px; color: var(--yellow); }
@media (min-width: 1100px) { .contact-fab { display: none; } }

.contact-backdrop {
  position: fixed;
  inset: 0;
  z-index: 75;
  background: rgba(7, 26, 47, 0.5);
  opacity: 0;
  transition: opacity 0.24s var(--ease);
}
.contact-backdrop.is-open { opacity: 1; }

.contact-panel {
  position: fixed;
  z-index: 80;
  background: var(--navy);
  color: #fff;
  overflow-y: auto;
  overscroll-behavior: contain;
  transition: transform 0.28s var(--ease);
}
.contact-panel__inner { padding: clamp(1.5rem, 5vw, 2.25rem); }
.contact-panel__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.38);
  cursor: pointer;
}
.contact-panel__close:hover { background: var(--navy-700); }
.contact-panel__head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: clamp(1.25rem, 3vw, 1.75rem);
}
.contact-panel__wordmark { width: auto; height: 14px; }
.contact-panel__title {
  font-family: var(--font-display);
  font-size: var(--size-label);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-on-navy);
}
.contact-panel__block { padding-block: clamp(1.25rem, 3vw, 1.75rem); border-top: 1px solid var(--line-navy); }
.contact-panel__block--minor { padding-block: 1rem; }
.contact-panel__label {
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: var(--size-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-on-navy);
}
.contact-panel__phone {
  display: inline-block;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
}
.contact-panel__phone:hover { color: var(--yellow); }
.contact-panel__mail {
  display: inline-block;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: #fff;
  text-underline-offset: 4px;
  word-break: break-word;
}
.contact-panel__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.9375rem;
  color: var(--muted-on-navy);
  text-decoration: none;
}
.contact-panel__whatsapp:hover { color: #fff; }
.contact-panel__note {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--muted-on-navy);
}

@media (min-width: 760px) {
  .contact-panel {
    top: 0; right: 0;
    width: min(420px, 92vw);
    height: 100%;
    transform: translateX(100%);
    border-left: 3px solid var(--yellow);
  }
  .contact-panel.is-open { transform: none; }
  .contact-panel__inner { padding-top: 4rem; }
}
@media (max-width: 759px) {
  .contact-panel {
    left: 0; right: 0; bottom: 0;
    max-height: 86vh;
    transform: translateY(100%);
    border-top: 3px solid var(--yellow);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .contact-panel.is-open { transform: none; }
  .contact-panel__inner { padding-top: 3.5rem; }
}

body.is-locked { overflow: hidden; }

/* --- Rechtstexte ------------------------------------------------------- */
.legal { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 7vw, 6rem); }
.legal__inner { max-width: 900px; }
.legal__head { padding-bottom: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.legal__headline {
  font-family: var(--font-display);
  font-size: var(--size-h2);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.05;
}
.legal__notice {
  margin-top: 1.5rem;
  padding: 1.125rem 1.375rem;
  background: var(--white);
  border-left: 4px solid var(--yellow);
  max-width: 68ch;
  font-size: 0.9375rem;
  line-height: 1.6;
}
.legal__open {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid var(--line-strong);
}
.legal__open-title {
  margin-bottom: 0.875rem;
  font-family: var(--font-display);
  font-size: var(--size-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.legal__open ul { list-style: none; }
.legal__open li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}
.legal__open li + li { margin-top: 0.5rem; }
.legal__open li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.62em;
  width: 0.75rem; height: 2px;
  background: var(--line-strong);
}
.legal__body { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.legal__block + .legal__block { margin-top: clamp(2rem, 4vw, 2.75rem); }
.legal__title {
  margin-bottom: 0.875rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.legal__block p { max-width: 72ch; color: var(--ink-muted); }
.legal__block p + p { margin-top: 0.875rem; }
.legal__flag {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.15rem 0.6rem;
  background: var(--yellow);
  color: var(--navy) !important;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.legal__defs { margin-top: 0.875rem; border-top: 1px solid var(--line); }
.legal__def {
  display: grid;
  gap: 0.25rem 1.5rem;
  padding-block: 0.75rem;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 620px) { .legal__def { grid-template-columns: 14rem minmax(0, 1fr); } }
.legal__def dt {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-muted);
}
.legal__list { margin-top: 0.875rem; }
.legal__list li { position: relative; padding-left: 1.5rem; color: var(--ink-muted); }
.legal__list li + li { margin-top: 0.35rem; }
.legal__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.7em;
  width: 0.6rem; height: 2px;
  background: var(--line-strong);
}

/* --- Reveal (nur mit JS, deaktivierbar) -------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@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;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* --- Sehr schmale Geräte ---------------------------------------------- */
/* Sehr schmale Geräte: Kopfzeile bleibt vollständig sichtbar. */
@media (max-width: 400px) {
  :root { --gutter: 1.125rem; }
  .site-header__inner { gap: 0.625rem; }
  .site-header__actions { gap: 0.625rem; }
  .logo { gap: 0.5rem; }
  .logo__mark { width: 34px; height: 34px; }
  .logo__word { height: 12px; }
}

/* --- Druck ------------------------------------------------------------- */
@media print {
  .contact-rail, .contact-fab, .contact-panel, .contact-backdrop,
  .site-menu, .menu-toggle, .skip-link, .site-header__cta { display: none !important; }
  body { background: #fff; }
  .section--navy, .site-footer { background: #fff !important; color: #000 !important; }
}

/* --- Fehlerseite ------------------------------------------------------- */
.notfound { padding-block: clamp(4rem, 12vw, 9rem); }
.notfound__inner { max-width: 780px; }
.notfound__title {
  font-family: var(--font-display);
  font-size: var(--size-h2);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.022em;
}
.notfound__text {
  margin-top: 1.5rem;
  max-width: 52ch;
  font-size: var(--size-lead);
  line-height: 1.55;
  color: var(--ink-muted);
}
.notfound__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.5rem; }
