/* ==========================================================================
   Automir Germany — stylesheet
   Plain CSS, no framework. Custom properties at the top are the design tokens;
   change those first before touching anything below.
   ========================================================================== */

:root {
  /* Brand — sampled from the logo */
  --blue:        #2d89c4;
  --blue-600:    #237ab2;
  --blue-700:    #1b6494;
  --blue-100:    #e7f1f9;
  --blue-050:    #f3f8fc;

  /* #2d89c4 is the logo blue, but white on it is only 3.83:1 — fine for large
     text and icons, short of the 4.5:1 AA needs for button labels. Solid
     surfaces carrying white text use --blue-solid instead. */
  --blue-solid:  var(--blue-600);

  /* Neutrals */
  --navy:        #0d1f2d;
  --navy-700:    #14324a;
  --navy-500:    #24475f;
  --ink:         #16232e;
  --ink-muted:   #55697a;
  --line:        #dfe6ec;      /* decorative rules and card edges */
  --line-strong: #7f91a1;      /* form-field borders: 3.25:1 on white, per 1.4.11 */
  --surface:     #ffffff;
  --surface-alt: #f5f8fa;

  /* Type */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;

  /* Scale */
  --wrap:        1180px;
  --wrap-narrow: 760px;
  --gutter:      clamp(1.25rem, 4vw, 2.5rem);
  --radius:      14px;
  --radius-sm:   9px;

  --shadow-sm: 0 1px 2px rgba(13, 31, 45, .05), 0 2px 8px rgba(13, 31, 45, .04);
  --shadow-md: 0 6px 14px rgba(13, 31, 45, .07), 0 18px 40px rgba(13, 31, 45, .07);

  --header-h: 70px;
}

/* --------------------------------------------------------------------------
   Reset / base
   -------------------------------------------------------------------------- */

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
figure, blockquote, dl, dd { margin: 0; }

h1, h2, h3 {
  margin: 0;
  line-height: 1.18;
  letter-spacing: -.02em;
  font-weight: 700;
  color: var(--navy);
  text-wrap: balance;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-700); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--blue); }

ul { margin: 0; padding: 0; }
li { list-style: none; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 3px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skiplink {
  position: absolute; left: 50%; top: 0; z-index: 200;
  transform: translate(-50%, -120%);
  background: var(--navy); color: #fff;
  padding: .7rem 1.2rem; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none; font-weight: 600;
}
.skiplink:focus { transform: translate(-50%, 0); color: #fff; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.icon { width: 1.5rem; height: 1.5rem; flex: none; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 16px rgba(13, 31, 45, .06);
}

.header__inner {
  min-height: var(--header-h);
  display: flex; align-items: center; gap: 1.25rem;
}

.header__brand {
  flex: none;
  display: flex; align-items: center;
  min-height: 44px;
  line-height: 0;
}
.header__logo { width: auto; height: 50px; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: .35rem; }

.nav__link {
  display: block;
  padding: .5rem .8rem;
  border-radius: var(--radius-sm);
  font-size: .975rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color .15s ease, background-color .15s ease;
}
.nav__link:hover { color: var(--navy); background: var(--surface-alt); }
.nav__link.is-current { color: var(--blue-700); background: var(--blue-050); }

/* The dealer portal leaves the site, so it reads as a separate action. */
.nav__portal { margin-left: .4rem; }
.nav__link--portal {
  display: flex; align-items: center; gap: .4rem;
  color: var(--blue-700);
  box-shadow: inset 0 0 0 1px var(--blue-100);
  white-space: nowrap;
}
.nav__link--portal:hover { color: var(--blue-700); background: var(--blue-050); box-shadow: inset 0 0 0 1px var(--blue); }
.icon--external { width: 1rem; height: 1rem; }

.header__side { display: flex; align-items: center; gap: .75rem; flex: none; }

.langbar {
  display: flex; align-items: center; gap: 2px;
  padding: 3px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.langbar__link {
  display: flex; align-items: center; justify-content: center;
  min-width: 38px; min-height: 30px;
  padding: .25rem .6rem;
  border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  color: var(--ink-muted); text-decoration: none;
  transition: color .15s ease, background-color .15s ease;
}
.langbar__link:hover { color: var(--navy); background: #fff; }
.langbar__link.is-current { color: #fff; background: var(--blue); }

.burger {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  align-items: center; justify-content: center;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--navy);
}
.burger__box { position: relative; display: block; width: 18px; height: 12px; }
.burger__bar, .burger__box::before, .burger__box::after {
  position: absolute; left: 0; right: 0; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.burger__box::before { content: ""; top: 0; }
.burger__bar { top: 5px; }
.burger__box::after { content: ""; bottom: 0; }

.burger[aria-expanded="true"] .burger__box::before { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bar { opacity: 0; }
.burger[aria-expanded="true"] .burger__box::after { transform: translateY(-5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero, .pagehead {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.hero__bg, .pagehead__bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(120% 130% at 82% -10%, rgba(45, 137, 196, .55) 0%, transparent 58%),
    radial-gradient(90% 120% at 0% 100%, rgba(45, 137, 196, .22) 0%, transparent 60%),
    linear-gradient(160deg, #0d1f2d 0%, #10293b 55%, #0d1f2d 100%);
}
.hero__bg::after, .pagehead__bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 70% at 50% 35%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 35%, #000 0%, transparent 100%);
}

.hero__globe {
  position: absolute; z-index: -1;
  right: -6%; top: 50%;
  width: min(640px, 62vw);
  transform: translateY(-50%);
  color: rgba(160, 205, 235, .26);
  animation: float 14s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(-50%); }
  50%      { transform: translateY(-54%); }
}

.hero__inner {
  position: relative;
  padding-block: clamp(3.75rem, 9vw, 6.5rem);
  max-width: calc(var(--wrap) + 0px);
}

.eyebrow {
  margin: 0 0 .9rem;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-700);
}
.eyebrow--light { color: #a8d5f2; }

.hero__title {
  max-width: 17ch;
  font-size: clamp(2.4rem, 6.2vw, 4rem);
  color: #fff;
}
.hero__lead {
  margin-top: 1.4rem;
  max-width: 60ch;
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  color: rgba(233, 242, 248, .84);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.2rem; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .8rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit; font-size: 1rem; font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease,
              border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--blue-solid); color: #fff;
  box-shadow: 0 6px 18px rgba(45, 137, 196, .3);
}
.btn--primary:hover { background: var(--blue-700); color: #fff; }

.btn--ghost {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, .13);
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
}

.btn--outline {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--navy);
}
.btn--outline:hover { border-color: var(--blue); color: var(--blue-700); }

.btn__icon { width: 1.05rem; height: 1.05rem; transition: transform .18s ease; }
.btn:hover .btn__icon { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Page head (inner pages)
   -------------------------------------------------------------------------- */

.pagehead__inner { padding-block: clamp(2.75rem, 6vw, 4.25rem); }
.pagehead__title {
  max-width: 20ch;
  font-size: clamp(2rem, 4.6vw, 3rem);
  color: #fff;
}
.pagehead__lead {
  margin-top: 1.15rem;
  max-width: 66ch;
  font-size: 1.08rem;
  color: rgba(233, 242, 248, .82);
}

/* --------------------------------------------------------------------------
   Facts strip
   -------------------------------------------------------------------------- */

.facts {
  background: var(--navy-700);
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: #fff;
}
.facts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .1);
  border-inline: 1px solid rgba(255, 255, 255, .1);
}
.fact { background: var(--navy-700); padding: 1.5rem 1.4rem; }
.fact__title { font-size: 1.02rem; color: #fff; }
.fact__text {
  margin: .45rem 0 0;
  font-size: .93rem; line-height: 1.55;
  color: rgba(226, 238, 246, .68);
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding-block: clamp(2.75rem, 5.5vw, 4.25rem); }
.section--alt { background: var(--surface-alt); }

.section__head { max-width: 62ch; margin: 0 auto clamp(1.6rem, 3vw, 2.25rem); text-align: center; }
.section__head--left { margin-inline: 0; text-align: left; }
.section__title { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
.section__lead { margin: .9rem 0 0; font-size: 1.06rem; color: var(--ink-muted); }

.prose { font-size: 1.08rem; color: var(--ink-muted); }
.prose p { margin-bottom: 1.25em; }

.notice {
  margin: 0 0 2rem;
  padding: .85rem 1.1rem;
  background: var(--blue-050);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .93rem;
  color: var(--ink-muted);
}

/* Cards */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}
.cards--single { max-width: 560px; margin-inline: auto; }
/* Counts divisible by three read better as 3-up than as 4 + remainder. */
.cards--tri { max-width: 1000px; margin-inline: auto; }

.card {
  padding: 1.5rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: #c9dcea;
  box-shadow: var(--shadow-md);
}
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  margin-bottom: .85rem;
  background: var(--blue-100);
  border-radius: 12px;
  color: var(--blue-700);
}
.card__title { font-size: 1.1rem; }
.card__text { margin: .55rem 0 0; font-size: .97rem; color: var(--ink-muted); }

/* Brand groups */

.brandgroup { padding-block: clamp(1.5rem, 3vw, 2.1rem); }
.brandgroup:first-child { padding-top: 0; }
.brandgroup:last-child { padding-bottom: 0; }
.brandgroup + .brandgroup { border-top: 1px solid var(--line); }

.brandgroup__head { display: flex; gap: 1.1rem; align-items: flex-start; }
.brandgroup__icon {
  display: inline-flex; align-items: center; justify-content: center;
  flex: none;
  width: 48px; height: 48px;
  background: var(--blue-100);
  border-radius: 12px;
  color: var(--blue-700);
}
.brandgroup__title { font-size: clamp(1.25rem, 2.4vw, 1.55rem); }
.brandgroup__text { margin: .45rem 0 0; color: var(--ink-muted); }

.chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.5rem; }
.chip {
  padding: .42rem .95rem;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .93rem; font-weight: 600;
  color: var(--navy-500);
}
.brandgroup__note { margin: 1rem 0 0; font-size: .93rem; color: var(--ink-muted); }

/* Team */

.members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.25rem;
}
.member {
  padding: 2.1rem 1.5rem;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.member:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.member__avatar {
  display: flex; align-items: center; justify-content: center;
  width: 82px; height: 82px;
  margin: 0 auto 1.15rem;
  background: linear-gradient(145deg, var(--blue) 0%, var(--navy-700) 100%);
  border-radius: 50%;
  font-size: 1.6rem; font-weight: 700; letter-spacing: .02em;
  color: #fff;
}
.member__name { font-size: 1.12rem; }
.member__role { margin: .35rem 0 0; font-size: .95rem; color: var(--ink-muted); }

/* Quote */

.quote { padding-block: clamp(2.5rem, 5vw, 3.5rem); background: var(--blue-050); }
.quote__body { margin: 0; text-align: center; }
.quote__body p {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  line-height: 1.5; font-weight: 500;
  letter-spacing: -.01em;
  color: var(--navy);
  text-wrap: balance;
}
.quote__cite {
  margin-top: 1.5rem;
  font-size: .92rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue-700);
}

/* CTA band */

.ctaband {
  padding-block: clamp(2.25rem, 4.5vw, 3.25rem);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%);
  color: #fff;
}
.ctaband__inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1.75rem;
}
.ctaband__title { font-size: clamp(1.4rem, 2.8vw, 1.9rem); color: #fff; max-width: 22ch; }
.ctaband__text { margin: .6rem 0 0; max-width: 58ch; color: rgba(226, 238, 246, .74); }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

/* The email address is the way in, so it gets the most prominent spot. */
.mailcard {
  padding: clamp(1.6rem, 4vw, 2.4rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.mailcard__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3.25rem; height: 3.25rem;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  background: var(--blue-050);
  color: var(--blue);
}
.mailcard__title { font-size: clamp(1.45rem, 3vw, 1.85rem); }
.mailcard__lead { margin: .7rem 0 0; max-width: 46ch; color: var(--ink-muted); }
.mailcard__address {
  display: inline-block;
  margin-top: 1.4rem;
  font-size: clamp(1rem, 4.9vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.25;
  color: var(--blue-700);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.mailcard__address:hover { text-decoration: underline; text-underline-offset: .18em; }
.mailcard__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.mailcard__copy[hidden] { display: none; }

/* Beside the taller address column, the card stays in view while scrolling. */
@media (min-width: 961px) {
  .contact__main { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

.contact__aside { display: grid; gap: 1.25rem; }

.panel {
  padding: 1.6rem;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.panel__title {
  margin-bottom: 1rem;
  font-size: .8rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-700);
}
.panel__lead { margin: -.4rem 0 1.25rem; font-size: .93rem; color: var(--ink-muted); }
.panel__value {
  display: flex; gap: .8rem; align-items: flex-start;
  margin: 0 0 .75rem;
  font-size: .97rem;
}
.panel__value:last-child { margin-bottom: 0; }
.panel__value .icon { color: var(--blue); margin-top: .1rem; }

.office + .office { margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.office__city {
  margin-bottom: .75rem;
  font-size: 1.05rem;
}
.office__list { display: grid; gap: .65rem; }
.office__row { display: flex; gap: .8rem; align-items: flex-start; font-size: .96rem; }
.office__row .icon { color: var(--blue); margin-top: .1rem; }
.office__label {
  display: block;
  font-size: .76rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-muted);
}

.contact__closing {
  margin: 0;
  font-size: 1.05rem; font-weight: 600;
  color: var(--blue-700);
}

/* --------------------------------------------------------------------------
   Legal pages
   -------------------------------------------------------------------------- */

.legal { font-size: 1rem; color: var(--ink-muted); }
.legal h2 {
  margin: 2.5rem 0 .9rem;
  font-size: 1.25rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.legal h2:first-child { margin-top: 0; }
.legal h3 { margin: 1.8rem 0 .7rem; font-size: 1.05rem; }
.legal p { margin-bottom: 1.1em; }
.legal ul { margin: 0 0 1.3em; padding-left: 1.3rem; }
.legal li { list-style: disc; margin-bottom: .4em; }

.legal__dl {
  display: grid;
  grid-template-columns: minmax(11rem, auto) 1fr;
  gap: .55rem 1.5rem;
  margin: 0 0 1.5em;
}
.legal__dl dt { font-weight: 600; color: var(--navy); }
.legal__dl dd { margin: 0; }

.legal__address {
  padding: 1.4rem 1.6rem;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-style: normal;
  line-height: 1.7;
}
.legal__address strong { color: var(--navy); }

.legal__links { display: flex; flex-wrap: wrap; gap: .6rem; }
.legal__links li { list-style: none; margin: 0; }
.legal__links a {
  display: inline-block;
  padding: .45rem 1rem;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .93rem; font-weight: 600;
  text-decoration: none;
}
.legal__links a:hover { border-color: var(--blue); background: var(--blue-050); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer { background: var(--navy); color: rgba(226, 238, 246, .7); }

.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding-block: clamp(2.25rem, 4.5vw, 3.25rem);
}

.footer__logo { width: auto; height: 52px; margin-bottom: 1.15rem; }
.footer__blurb { max-width: 38ch; font-size: .95rem; line-height: 1.6; }

.footer__heading {
  margin-bottom: 1rem;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  color: #fff;
}
.footer__list { display: grid; gap: .15rem; font-size: .95rem; }
.footer__list a {
  display: inline-block;
  padding-block: .45rem;
  color: rgba(226, 238, 246, .72);
  text-decoration: none;
}
.footer__list a:hover { color: #fff; text-decoration: underline; }
.footer__list .footer__portal { display: inline-flex; align-items: center; gap: .4rem; }
.footer__list--plain { line-height: 1.55; gap: .5rem; }

.footer__bar {
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
  padding-block: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .87rem;
}
.footer__bar p { margin: 0; }
.footer__top {
  display: inline-flex; align-items: center; gap: .4rem;
  color: rgba(226, 238, 246, .72);
  text-decoration: none; font-weight: 600;
}
.footer__top:hover { color: #fff; }
.footer__topicon { width: 1rem; height: 1rem; transform: rotate(-90deg); }

/* --------------------------------------------------------------------------
   Language picker (site root)
   -------------------------------------------------------------------------- */

.picker {
  display: grid; place-items: center;
  min-height: 100vh; min-height: 100dvh;
  padding: 2rem var(--gutter);
  background:
    radial-gradient(110% 90% at 50% 0%, rgba(45, 137, 196, .16) 0%, transparent 60%),
    var(--surface-alt);
}
.pick { text-align: center; }
.pick__logo { width: auto; height: 74px; margin: 0 auto 1.75rem; }
.pick__hint { font-size: .95rem; color: var(--ink-muted); }
.pick__list { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 1.5rem; }
.pick__list a {
  display: flex; flex-direction: column; gap: .2rem; align-items: center;
  min-width: 120px;
  padding: 1rem 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.pick__list a:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}
.pick__code { font-size: 1.15rem; font-weight: 700; color: var(--blue-700); }
.pick__name { font-size: .9rem; color: var(--ink-muted); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

/* Between the menu button and a roomy desktop, six nav items need tighter spacing. */
@media (min-width: 1025px) and (max-width: 1180px) {
  .header__inner { gap: .9rem; }
  .nav__list { gap: .1rem; }
  .nav__link { padding-inline: .55rem; font-size: .92rem; }
  .nav__portal { margin-left: .25rem; }
  .nav__link--portal { padding-inline: .7rem; }
}

@media (max-width: 960px) {
  .contact { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* The nav collapses behind the menu button earlier than the rest of the layout
   changes: six items, in three languages, need about 1000px to sit in one row. */
@media (max-width: 1024px) {
  .burger { display: inline-flex; }
  /* The nav leaves the flow here, so the side controls push right themselves. */
  .header__side { margin-left: auto; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    margin: 0;
    padding: .75rem var(--gutter) 1.25rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { padding: .85rem .25rem; font-size: 1.05rem; border-radius: 0; }
  .nav__list li + li .nav__link { border-top: 1px solid var(--line); }
  .nav__link.is-current { background: transparent; }
  .nav__portal { margin-left: 0; }
  .nav__link--portal { box-shadow: none; }
  .nav__link--portal:hover { box-shadow: none; background: transparent; }
}

@media (max-width: 820px) {
  .hero__globe { right: -25%; opacity: .6; }
  .ctaband__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  :root { --header-h: 66px; }
  .header__logo { height: 40px; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .legal__dl { grid-template-columns: 1fr; gap: .2rem 0; }
  .legal__dl dd { margin-bottom: .8rem; }
  .btn { width: 100%; justify-content: center; }
  .hero__actions { width: 100%; }
}

/* --------------------------------------------------------------------------
   Motion & print
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

@media print {
  .header, .footer, .ctaband, .hero__globe, .skiplink, .mailcard__actions { display: none; }
  body { color: #000; font-size: 11pt; }
  .hero, .pagehead { background: none; color: #000; }
  .hero__title, .pagehead__title, .hero__lead, .pagehead__lead { color: #000; }
  a { color: #000; }
}

/* ==========================================================================
   Photography
   ========================================================================== */

/* Hero photograph, sitting under the navy gradient rather than beside it. */
.hero__photo {
  position: absolute; inset: 0; z-index: -3;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .55;
  filter: saturate(70%) contrast(104%);
}

/* Fades the hero into the strip below it so the seam is not a hard line. */
.hero__scrim {
  position: absolute; left: 0; right: 0; bottom: 0; height: 40%;
  z-index: -1;
  background: linear-gradient(to bottom, transparent 0%, rgba(13, 31, 45, .75) 100%);
  pointer-events: none;
}

.hero__bg { z-index: -2; }
.hero__bg { background:
    radial-gradient(120% 130% at 82% -10%, rgba(45, 137, 196, .34) 0%, transparent 58%),
    radial-gradient(105% 125% at 12% 55%, rgba(9, 24, 36, .93) 0%, rgba(9, 24, 36, .45) 55%, transparent 78%),
    linear-gradient(160deg, rgba(13, 31, 45, .78) 0%, rgba(16, 41, 59, .62) 55%, rgba(13, 31, 45, .84) 100%); }

/* Text + image side by side. */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
}
.split--flip .split__media { order: -1; }

.split__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  max-width: 100%;
}
.split__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .6, .2, 1);
}
.split__media:hover img { transform: scale(1.04); }

/* Small brand-blue frame line, echoing the card borders. */
.split__media::after {
  content: "";
  position: absolute; inset: 0;
  border: 1px solid rgba(13, 31, 45, .1);
  border-radius: var(--radius);
  pointer-events: none;
}

.split__title { font-size: clamp(1.5rem, 3vw, 2.05rem); }
.split__text { margin: .9rem 0 0; color: var(--ink-muted); }

.split__list { display: grid; gap: .7rem; margin-top: 1.4rem; }
.split__item { display: flex; gap: .7rem; align-items: flex-start; font-size: .98rem; }
.split__item .icon { width: 1.2rem; height: 1.2rem; margin-top: .25rem; color: var(--blue); }

/* Team portraits replace the initial monograms. */
.member__photo {
  display: block;
  width: 112px; height: 112px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--blue-100);
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line);
  transition: box-shadow .2s ease;
}
.member:hover .member__photo { box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--blue); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Brand marquee — the supplier list, moving
   ========================================================================== */

.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 1.1rem;
  border-block: 1px solid var(--line);
  background: var(--surface);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  animation: marquee 46s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-size: 1.02rem; font-weight: 700;
  letter-spacing: .01em;
  color: var(--navy-500);
  opacity: .68;
  white-space: nowrap;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==========================================================================
   Scroll reveals
   Elements start hidden ONLY once JS has confirmed it can reveal them again
   (html.js), so the page is fully readable with JS off or motion reduced.
   ========================================================================== */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s cubic-bezier(.2, .6, .2, 1),
              transform .55s cubic-bezier(.2, .6, .2, 1);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

.js [data-reveal-delay="1"] { transition-delay: .07s; }
.js [data-reveal-delay="2"] { transition-delay: .14s; }
.js [data-reveal-delay="3"] { transition-delay: .21s; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
}

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
}

/* On narrow screens the headline sits over more of the photograph, so the
   overlay has to work harder to keep white text above 4.5:1. */
@media (max-width: 820px) {
  .hero__photo { opacity: .4; }
  .hero__bg {
    background:
      radial-gradient(120% 90% at 85% 0%, rgba(45, 137, 196, .3) 0%, transparent 60%),
      linear-gradient(175deg, rgba(9, 24, 36, .9) 0%, rgba(11, 28, 41, .88) 60%,
                              rgba(13, 31, 45, .93) 100%);
  }
}

/* ==========================================================================
   Touch ergonomics
   Pointer-coarse devices get 44px targets (Apple HIG / WCAG 2.5.5), which is
   larger than the 24px WCAG 2.5.8 AA floor the desktop sizes already meet.
   ========================================================================== */

@media (pointer: coarse) {
  .langbar { padding: 2px; }
  .langbar__link { min-height: 44px; min-width: 44px; font-size: .84rem; }

  .footer__list a { padding-block: .75rem; }
  .legal__links a { padding: .8rem 1.1rem; }
  .nav__link { padding-block: 1rem; }

  /* Phone numbers and email addresses are the point of the contact page on a
     phone, so they get real targets rather than bare 18px text. */
  .panel__value a,
  .office__row a {
    display: inline-block;
    padding-block: .7rem;
  }
  .mailcard__address { margin-top: .65rem; padding-block: .75rem; }

  .footer__top { padding-block: .7rem; }
}
