/* ==========================================================================
   FusaruVeloce Logistik GmbH – main stylesheet
   Plain CSS, mobile-first. Sections:
     1. Font          6. Buttons & links     11. Audiences
     2. Tokens        7. Section scaffolding 12. Why us
     3. Reset/base    8. Hero & placeholders 13. About
     4. Layout        9. Services            14. Contact & form
     5. Header/menu  10. Coverage            15. Footer
                                             16. Utilities, TODO marker, motion
   Breakpoints: 40em (640px) · 48em (768px) · 64em (1024px) · 70em (1120px, desktop nav)
   ========================================================================== */

/* 1. Font – self-hosted Inter (variable, Latin subset, weights 400–800) ---- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

/* Metric-matched fallback so the swap to Inter causes (almost) no layout shift. */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 107.12%;
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0%;
}

/* 2. Design tokens – colours sampled from logo.png ------------------------- */
:root {
  /* Brand */
  --c-navy: #011c50;          /* logo navy – text, headings, primary buttons */
  --c-navy-hover: #0b2e70;
  --c-orange: #f95c00;        /* logo orange – accents only (3.2:1 on white) */
  --c-orange-hover: #ff7a1f;
  --c-orange-text: #c24800;   /* AA-safe orange for small text on white */

  /* Neutrals */
  --c-text: var(--c-navy);
  --c-text-muted: #34496f;
  --c-line: #d9dee7;
  --c-input-border: #6b7892;  /* 4.4:1 on white – meets 3:1 for UI components */
  --c-bg: #ffffff;
  --c-bg-alt: #f4f6f9;

  /* States */
  --c-error: #b3261e;
  --c-error-bg: #fdecea;
  --c-success: #1e6b3a;
  --c-success-bg: #e8f3ec;
  --c-todo-bg: #fff3c4;
  --c-todo-text: #5c4400;

  /* Typography */
  --font-sans: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.875rem;
  --fs-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --fs-lead: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-h2: clamp(1.75rem, 1.2rem + 2.4vw, 3rem);
  --fs-h1: clamp(2.25rem, 1.2rem + 4.5vw, 4.5rem);
  --fs-num: clamp(2.5rem, 2rem + 2vw, 3.5rem);

  /* Spacing & shape */
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-space: clamp(4rem, 3rem + 6vw, 8rem);
  --radius: 6px;
  --radius-lg: 8px;
  --shadow: 0 1px 2px rgba(1, 28, 80, 0.06), 0 8px 24px rgba(1, 28, 80, 0.06);
  --container: 80rem;

  /* Header height (changes when compact; content offset uses the max) */
  --header-h: 4.5rem;
  --header-h-max: 4.5rem;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 70em) {
  :root {
    --header-h: 5.5rem;
    --header-h-max: 5.5rem;
  }
}

/* 3. Reset & base ---------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
fieldset {
  margin: 0;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
  padding: 0;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

input,
select,
textarea,
button {
  font: inherit;
  color: inherit;
}

address {
  font-style: normal;
}

/* Headings: German compound words must wrap gracefully. */
h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
  hyphens: auto;
  hyphenate-limit-chars: 10 4 4;
  overflow-wrap: break-word;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}

a:hover {
  color: var(--c-orange-text);
}

/* Visible focus for keyboard users everywhere (orange ≥ 3:1 on white & navy). */
:focus-visible {
  outline: 3px solid var(--c-orange);
  outline-offset: 3px;
  border-radius: 2px;
}

main:focus {
  outline: none;
}

::selection {
  background: var(--c-navy);
  color: #fff;
}

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

main {
  display: block;
  padding-top: var(--header-h-max);
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--c-navy);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius);
  transform: translateY(-200%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: none;
  color: #fff;
}

/* 5. Header & navigation --------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: var(--c-bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-header.is-compact {
  --header-h: 3.75rem;
  border-bottom-color: var(--c-line);
  box-shadow: 0 2px 16px rgba(1, 28, 80, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: var(--header-h);
  transition: height 0.25s var(--ease);
}

.brand {
  display: block;
  flex: none;
}

.brand__logo {
  width: 176px;
  transition: width 0.25s var(--ease);
}

.is-compact .brand__logo {
  width: 150px;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  margin-left: auto;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-bg);
  font-weight: 600;
  font-size: var(--fs-sm);
  cursor: pointer;
}

.menu-toggle .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.menu-toggle__icon--close,
.menu-toggle[aria-expanded="true"] .menu-toggle__icon--open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon--close {
  display: inline;
}

/* Mobile menu panel (only collapsible when JS is available). */
.js .site-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1.5rem var(--gutter) 2.5rem;
  background: var(--c-bg);
  border-top: 1px solid var(--c-line);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-0.5rem);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.2s;
}

.js .site-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  /* visibility switches instantly on open, so focus can move into the menu */
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.js.menu-open {
  overflow: hidden;
}

.main-nav__list {
  list-style: none;
  padding: 0;
}

.main-nav__link {
  display: block;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--c-line);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-decoration: none;
  hyphens: auto;
  overflow-wrap: break-word;
}

.site-menu__cta {
  align-self: flex-start;
}

/* Language switcher (DE · FR · IT · EN). */
.lang-switch__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-inline: -0.375rem; /* optically align first label with the text edge */
  list-style: none;
  padding: 0;
}

.lang-switch__list li + li::before {
  content: "·";
  content: "·" / "";
  color: var(--c-text-muted);
  padding-inline: 0.125rem;
}

.lang-switch__link {
  display: inline-block;
  padding: 0.5rem 0.375rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-text-muted);
  text-decoration: none;
}

.lang-switch__link[aria-current="true"] {
  color: var(--c-navy);
  text-decoration: underline;
  text-decoration-color: var(--c-orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}

/* Without JS: no fixed header, menu shown as a simple wrapped row. */
html:not(.js) .site-header {
  position: static;
}

html:not(.js) main {
  padding-top: 0;
}

html:not(.js) .site-header__inner {
  flex-wrap: wrap;
  height: auto;
  padding-block: 0.75rem;
}

html:not(.js) .menu-toggle {
  display: none;
}

html:not(.js) .site-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  width: 100%;
}

html:not(.js) .main-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
}

html:not(.js) .main-nav__link {
  font-size: 1rem;
  border: 0;
}

/* Desktop navigation */
@media (min-width: 70em) {
  .brand__logo {
    width: 200px;
  }

  .is-compact .brand__logo {
    width: 170px;
  }

  .menu-toggle {
    display: none;
  }

  .site-menu,
  .js .site-menu {
    position: static;
    height: auto;
    overflow: visible;
    flex-direction: row;
    align-items: center;
    gap: 1.75rem;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .main-nav__list {
    display: flex;
    gap: 1.75rem;
  }

  .main-nav__link {
    position: relative;
    padding: 0.5rem 0;
    border: 0;
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0;
  }

  .main-nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.25rem;
    height: 2px;
    background: var(--c-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease);
  }

  .main-nav__link:hover {
    color: var(--c-navy);
  }

  .main-nav__link:hover::after {
    transform: scaleX(1);
  }

  .site-menu__cta {
    align-self: center;
  }

  .js.menu-open {
    overflow: visible;
  }
}

/* 6. Buttons & links ------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 3rem;
  max-width: 100%;
  padding: 0.75rem 1.375rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
  text-decoration: none;
  hyphens: auto;
  overflow-wrap: break-word;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn .icon {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.2s var(--ease);
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--c-navy);
  color: #fff;
}

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

/* Orange buttons use navy text: white on orange would fail WCAG AA. */
.btn--accent {
  background: var(--c-orange);
  color: var(--c-navy);
}

.btn--accent:hover {
  background: var(--c-orange-hover);
  color: var(--c-navy);
}

.btn--ghost {
  border-color: var(--c-navy);
  color: var(--c-navy);
}

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

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  text-decoration: none;
}

.link-arrow .icon {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.2s var(--ease);
}

.link-arrow:hover .icon {
  transform: translateX(3px);
}

/* 7. Section scaffolding --------------------------------------------------- */
.section {
  padding-block: var(--section-space);
}

.section--alt {
  background: var(--c-bg-alt);
}

.section--dark {
  --c-text-muted: rgba(255, 255, 255, 0.78);
  background: var(--c-navy);
  color: #fff;
}

.section-head {
  max-width: 50rem;
  margin-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem);
}

.section-title {
  font-size: var(--fs-h2);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

.eyebrow .speedlines {
  flex: none;
  width: 1.75rem;
  height: auto;
  color: var(--c-orange);
}

.lead {
  margin-top: 1.25rem;
  max-width: 40rem;
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--c-text-muted);
}

.note {
  margin-top: 0.75rem;
  font-size: var(--fs-sm);
}

.check-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.75rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 0.75rem;
}

.check-list .icon {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.2em;
  color: var(--c-orange);
}

/* 8. Hero & image placeholders --------------------------------------------- */
.hero {
  padding-block: clamp(2.5rem, 1.5rem + 5vw, 6rem) clamp(3.5rem, 2rem + 6vw, 7rem);
  border-bottom: 1px solid var(--c-line);
}

.hero__grid {
  display: grid;
  gap: 1.5rem;
}

.hero__eyebrow {
  margin-bottom: 0;
}

.hero__title {
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 18ch;
}

.hero__body .lead {
  margin-top: 0;
  margin-bottom: 2rem;
}

.hero__media {
  display: block;
  margin-top: 1rem;
}

.hero__img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--c-bg-alt); /* shown while the photo loads */
}

@media (min-width: 64em) {
  .hero__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 2rem;
    row-gap: 2rem;
  }

  .hero__eyebrow,
  .hero__title {
    grid-column: 1 / -1;
  }

  .hero__body {
    grid-column: 1 / span 5;
    align-self: end;
  }

  .hero__media {
    grid-column: 7 / -1;
    margin-top: 0;
  }
}

/* Neutral placeholder boxes with fixed aspect ratios (no layout shift once
   real photos with width/height are inserted). */
.placeholder {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  border-radius: var(--radius-lg);
  background-color: var(--c-bg-alt);
  background-image: repeating-linear-gradient(135deg, transparent 0 11px, rgba(1, 28, 80, 0.05) 11px 12px);
  border: 1px solid var(--c-line);
  color: var(--c-text-muted);
  overflow: hidden;
}

.placeholder--16x10 {
  aspect-ratio: 16 / 10;
}

.placeholder--4x5 {
  aspect-ratio: 4 / 5;
}

.placeholder__inner {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  font-size: var(--fs-sm);
}

.placeholder__inner .icon {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--c-navy);
}

.placeholder__label {
  font-weight: 600;
  color: var(--c-navy);
}

/* 9. Services -------------------------------------------------------------- */
.service-grid {
  display: grid;
  gap: 2.5rem 2rem;
}

@media (min-width: 40em) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64em) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3.5rem 2.5rem;
  }
}

.service-card {
  position: relative;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-line);
  hyphens: auto;
  hyphenate-limit-chars: 10 4 4;
}

/* Orange line grows along the top edge on hover. */
.service-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 3rem;
  height: 2px;
  background: var(--c-orange);
  transition: width 0.4s var(--ease);
}

.service-card:hover::before {
  width: 100%;
}

.service-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.service-card__num {
  font-size: var(--fs-num);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--c-orange);
}

.service-card__icon .icon {
  width: 2.25rem;
  height: 2.25rem;
}

.service-card__title {
  margin-bottom: 0.75rem;
  font-size: var(--fs-h3);
}

.service-card p {
  color: var(--c-text-muted);
}

.service-card--cta {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--c-navy);
  color: #fff;
}

.service-card--cta::before {
  display: none;
}

.service-card--cta p {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.82);
}

.service-card--cta .link-arrow {
  margin-top: auto;
  color: #fff;
}

.service-card--cta .link-arrow .icon {
  color: var(--c-orange);
}

.service-card--cta .link-arrow:hover {
  color: #fff;
  text-decoration: underline;
}

/* 10. Coverage ------------------------------------------------------------- */
.coverage {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 64em) {
  .coverage {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 4rem;
  }
}

.coverage .check-list li {
  font-weight: 500;
}

.coverage__visual {
  padding: clamp(0.75rem, 2vw, 1.5rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
}

.route {
  width: 100%;
  height: auto;
  overflow: visible;
}

.route__dot {
  fill: rgba(255, 255, 255, 0.16);
}

.route__line {
  fill: none;
  stroke: var(--c-orange);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.route__line--branch {
  stroke-width: 2;
  stroke-opacity: 0.75;
}

.route__nodes circle {
  fill: var(--c-navy);
  stroke: #fff;
  stroke-width: 2;
}

.route__hub {
  fill: var(--c-orange);
}

.route__hub-ring {
  fill: none;
  stroke: var(--c-orange);
  stroke-width: 1.5;
  stroke-opacity: 0.5;
  transform-box: fill-box;
  transform-origin: center;
}

.route__label {
  fill: #fff;
  font-size: 28px; /* SVG units – the graphic scales down on phones */
  font-weight: 600;
  letter-spacing: 0.02em;
}

@media (min-width: 48em) {
  .route__label {
    font-size: 17px;
  }
}

/* 11. Audiences ------------------------------------------------------------ */
.audience-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 48em) {
  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }
}

.audience-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  hyphens: auto;
  hyphenate-limit-chars: 10 4 4;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.audience-card:hover {
  border-color: var(--c-navy);
  box-shadow: var(--shadow);
}

.audience-card__title {
  margin-bottom: 1rem;
  font-size: var(--fs-h3);
}

.audience-card > p:not(.tag) {
  color: var(--c-text-muted);
}

.audience-card .check-list {
  margin-bottom: 2rem;
}

.audience-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-orange-text);
}

.tag .icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--c-navy);
}

/* 12. Why us --------------------------------------------------------------- */
.why-grid {
  display: grid;
  gap: 2.5rem 2rem;
  padding: 0;
  list-style: none;
}

@media (min-width: 40em) {
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64em) {
  .why-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.why-item {
  position: relative;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-line);
  hyphens: auto;
  hyphenate-limit-chars: 10 4 4;
}

.why-item::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 3rem;
  height: 2px;
  background: var(--c-orange);
}

.why-item__icon .icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: 1.25rem;
}

.why-item__title {
  margin-bottom: 0.625rem;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

.why-item p {
  color: var(--c-text-muted);
}

/* 13. About ---------------------------------------------------------------- */
.about {
  display: grid;
  gap: 3rem;
}

@media (min-width: 64em) {
  .about {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 5rem;
    align-items: start;
  }
}

.about__story {
  margin-top: 2.5rem;
  padding-left: 1.25rem;
  border-left: 2px solid var(--c-orange);
}

.about__story-title {
  margin-bottom: 0.625rem;
  font-size: 1.125rem;
}

.about__director {
  margin-top: 1rem;
  font-size: var(--fs-sm);
}

.about__media {
  max-width: 28rem;
}

/* 14. Contact & form ------------------------------------------------------- */
.contact {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 64em) {
  .contact {
    grid-template-columns: minmax(0, 1fr) minmax(0, 22rem);
    gap: 3rem;
  }
}

.contact-form {
  position: relative;
  padding: clamp(1.25rem, 0.75rem + 2.5vw, 3rem);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: var(--c-bg);
}

.contact-form__fields {
  display: grid;
  gap: 1.25rem 1.5rem;
  padding: 0;
  border: 0;
  min-width: 0;
}

@media (min-width: 40em) {
  .contact-form__fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field--full {
    grid-column: 1 / -1;
  }
}

.field {
  display: grid;
  gap: 0.375rem;
  align-content: start;
  min-width: 0;
}

.field__label,
.field--check label {
  font-size: var(--fs-sm);
  font-weight: 600;
  hyphens: auto;
  overflow-wrap: break-word;
}

.req {
  color: var(--c-orange-text);
}

.opt {
  font-weight: 400;
  color: var(--c-text-muted);
}

.field__input {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--c-input-border);
  border-radius: var(--radius);
  background: var(--c-bg);
  font-size: 1rem; /* ≥16px prevents zoom on iOS */
  line-height: 1.4;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field__input:hover {
  border-color: var(--c-navy);
}

.field__input:focus-visible {
  outline-offset: 1px;
  border-color: var(--c-navy);
}

textarea.field__input {
  min-height: 9rem;
  resize: vertical;
}

.field__input[aria-invalid="true"] {
  border-color: var(--c-error);
  box-shadow: inset 0 0 0 1px var(--c-error);
}

.field__hint {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
}

.field__error {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-error);
}

.field__error[hidden] {
  display: none;
}

/* Custom select arrow */
.select {
  position: relative;
}

.select select {
  appearance: none;
  padding-right: 2.75rem;
  cursor: pointer;
}

.select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.1rem;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 1.5px solid var(--c-navy);
  border-bottom: 1.5px solid var(--c-navy);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

/* Consent checkbox */
.field--check {
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.75rem;
  align-items: start;
}

.field--check label {
  font-weight: 400;
  line-height: 1.5;
}

.field--check .field__error {
  grid-column: 2;
}

.check {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.125rem 0 0;
  accent-color: var(--c-navy);
  cursor: pointer;
}

.check[aria-invalid="true"] {
  outline: 2px solid var(--c-error);
  outline-offset: 2px;
}

/* Honeypot – off-screen, not display:none (some bots skip hidden fields). */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
}

.contact-form__note {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
}

/* Submit button loading state */
.btn__spinner {
  display: none;
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.is-loading .btn__spinner {
  display: inline-block;
}

.is-loading .btn .icon {
  display: none;
}

.btn[disabled] {
  cursor: progress;
  opacity: 0.8;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Status messages */
.form-status {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--c-navy);
  border-radius: var(--radius);
  background: var(--c-bg-alt);
  font-weight: 500;
}

.form-status[hidden] {
  display: none;
}

/* Kept in the DOM while empty so screen readers announce new messages. */
.form-status:empty {
  margin: 0;
  padding: 0;
  border: 0;
}

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

.form-status--error {
  border-color: var(--c-error);
  background: var(--c-error-bg);
  color: var(--c-error);
}

.form-status--success {
  border-color: var(--c-success);
  background: var(--c-success-bg);
  color: var(--c-success);
}

/* No-JS thank-you message: only visible when targeted by #danke / #thanks. */
.form-thanks {
  display: none;
}

.form-thanks:target {
  display: flex;
}

/* Direct contact card */
.contact-card {
  padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  border-radius: var(--radius-lg);
  background: var(--c-navy);
  color: #fff;
}

.contact-card__title {
  margin-bottom: 1.25rem;
  font-size: var(--fs-h3);
}

.contact-card__list > div {
  padding-block: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-card dt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.contact-card dt .icon {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--c-orange);
}

.contact-card dd {
  font-weight: 500;
  overflow-wrap: anywhere;
}

.contact-card a {
  color: #fff;
}

.contact-card a:hover {
  color: var(--c-orange-hover);
}

/* 15. Footer --------------------------------------------------------------- */
.site-footer {
  padding-top: clamp(3rem, 2rem + 4vw, 5rem);
  background: var(--c-bg);
  border-top: 1px solid var(--c-line);
  font-size: var(--fs-sm);
}

.site-footer__grid {
  display: grid;
  gap: 2.5rem 2rem;
  padding-bottom: 3rem;
}

@media (min-width: 40em) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64em) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  }
}

.site-footer__brand p {
  max-width: 24rem;
  margin-top: 1.25rem;
  color: var(--c-text-muted);
}

.site-footer__brand .brand__logo {
  width: 200px;
}

.site-footer__title {
  margin-bottom: 1rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

.contact-list,
.link-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  gap: 0.625rem;
  overflow-wrap: anywhere;
}

.contact-list .icon {
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.15em;
  color: var(--c-orange);
}

.lang-switch__list--footer {
  display: grid;
  gap: 0.25rem;
}

.lang-switch__list--footer li + li::before {
  content: none;
}

.lang-switch__list--footer .lang-switch__link {
  padding: 0.25rem 0;
  font-size: var(--fs-sm);
  letter-spacing: 0;
}

.site-footer__bottom {
  padding-block: 1.5rem;
  border-top: 1px solid var(--c-line);
  color: var(--c-text-muted);
  font-size: var(--fs-xs);
}

/* 16. Utilities, TODO marker & motion -------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

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

/* Placeholder text that still needs client input – deliberately loud. */
.todo {
  padding: 0.05em 0.35em;
  border-radius: 3px;
  outline: 1px dashed #b58900;
  background: var(--c-todo-bg);
  color: var(--c-todo-text);
  font-size: 0.875em;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Scroll reveal – only armed once main.js has set up the observer. */
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Route line draws itself when the coverage section scrolls into view. */
.reveal-ready .route__line {
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 2.2s var(--ease);
}

.reveal-ready .route__line--branch {
  transition-delay: 0.9s;
  transition-duration: 1.4s;
}

.reveal-ready .route__nodes circle,
.reveal-ready .route__label {
  opacity: 0;
  transition: opacity 0.6s var(--ease) 1.2s;
}

.reveal-ready .route.is-drawn .route__line {
  stroke-dashoffset: 0;
}

.reveal-ready .route.is-drawn .route__nodes circle,
.reveal-ready .route.is-drawn .route__label {
  opacity: 1;
}

.route.is-drawn .route__hub-ring {
  animation: pulse 2.8s var(--ease) 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.6);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* Respect the user's motion preference: everything visible, nothing moves. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    /* "none" (not a tiny duration) so inherited visibility switches instantly */
    transition: none !important;
  }

  .reveal-ready .reveal {
    opacity: 1;
    transform: none;
  }

  .reveal-ready .route__line {
    stroke-dashoffset: 0;
  }

  .reveal-ready .route__nodes circle,
  .reveal-ready .route__label {
    opacity: 1;
  }

  .route.is-drawn .route__hub-ring {
    animation: none;
  }
}

/* Print: drop navigation and decoration. */
@media print {
  .site-header,
  .skip-link,
  .contact-form,
  .coverage__visual {
    display: none !important;
  }

  main {
    padding-top: 0;
  }

  .section--dark,
  .contact-card {
    background: none;
    color: #000;
  }
}
