@charset "UTF-8";
/* Roboto, self-hosted (files copied from @fontsource/roboto by eleventy.config.js). Latin covers DE/FR/IT. */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/roboto-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/roboto-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/roboto-latin-700-normal.woff2") format("woff2");
}
/*
  Design tokens: the single source of truth for visual decisions.
  Values come from the Phase 1 audit of the old site (design-tokens.md, now in git history), duplicates resolved:
  one navy (#144094; the logo's own #1f3c90 is baked into the image), one cyan, one body grey.
  Breakpoints can't be custom properties in media queries; used literally: 576 / 768 / 992 / 1200 / 1400 px.
*/
:root {
  /* colour */
  --color-primary: #144094;
  --color-primary-dark: #0d2c6b;
  --color-accent: #00aff3; /* decorative only (underlines, borders; focus ring only on dark backgrounds): ~2.5:1 on white, too low for text or focus rings */
  --color-text: #4d4d4d;
  --color-text-muted: #6b6b6b;
  --color-heading: var(--color-primary);
  --color-on-dark: #ffffff;
  --color-bg: #ffffff;
  --color-bg-alt: #f3f5fa;
  --color-border: #dfe3ec;
  --color-overlay: rgba(20, 64, 148, 0.6);
  --color-footer-bg: #07103b;
  --color-footer-link: #4f79e8;
  --color-focus: var(--color-primary); /* focus ring; cyan on dark areas, two-tone on photos (_base.scss) */
  --color-focus-halo: transparent; /* outer band of the two-tone ring on photo backgrounds */
  /* typography */
  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --text-sm: 0.875rem; /* 14 */
  --text-base: 1rem; /* 16 */
  --text-md: 1.125rem; /* 18 */
  --text-lg: 1.25rem; /* 20 */
  --text-xl: 1.5rem; /* 24 */
  --text-2xl: 2.25rem; /* 36 */
  --text-3xl: 3.25rem; /* 52 */
  --leading-tight: 1.2;
  --leading-body: 1.6;
  /* spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --section-y: clamp(var(--space-7), 6vw, var(--space-9));
  /* layout */
  --container-max: 1320px;
  --gutter: var(--space-4);
  --grid-gap: var(--space-5);
  --header-h: 5.5rem;
  /* shape, depth, motion */
  --radius-btn: 4px;
  --radius-card: 0;
  --radius-round: 50%;
  --shadow-header: 0 2px 8px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 2px 10px rgba(0, 0, 0, 0.1);
  --transition: 0.2s ease;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  color: var(--color-text);
  background: var(--color-bg);
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

img {
  display: block;
}

/* Typography scale: unified across all pages. Use the right heading LEVEL for structure; the look follows the level. */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 var(--space-4);
  color: var(--color-heading);
  font-weight: 400;
  line-height: var(--leading-tight);
}

h1 {
  font-size: clamp(var(--text-2xl), 4vw + 1rem, var(--text-3xl));
}

h2 {
  font-size: clamp(var(--text-xl), 2vw + 1rem, var(--text-2xl));
}

h3 {
  font-size: var(--text-xl);
}

h4 {
  font-size: var(--text-lg);
}

h5 {
  font-size: var(--text-md);
}

h6 {
  font-size: var(--text-base);
  font-weight: 700;
}

p,
ul,
ol,
dl,
figure,
table {
  margin: 0 0 var(--space-4);
}

small,
.text-sm {
  font-size: var(--text-sm);
}

.text-lead {
  font-size: var(--text-md);
  color: var(--color-text-muted);
}

.text-muted {
  color: var(--color-text-muted);
}

a {
  color: var(--color-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color var(--transition);
}
a:hover {
  color: var(--color-primary-dark);
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
  box-shadow: 0 0 0 8px var(--color-focus-halo);
}

/* Focus ring contrast (WCAG 1.4.11, >= 3:1 against what is behind it). The ring colour is inherited from the
   area it sits in: navy on light backgrounds (9.6:1 on white), cyan on plain dark areas (3.9:1 on navy, 7.4:1
   on the footer), and on photos a white ring with a navy band around it, because a photo can be light or dark
   under the ring and one of the two colours always contrasts. */
.topbar,
.site-footer,
.section--dark {
  --color-focus: var(--color-accent);
}

.hero,
.page-banner,
.section--photo,
.tile {
  --color-focus: var(--color-on-dark);
  --color-focus-halo: var(--color-primary);
}

hr {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: var(--space-6) 0;
}

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

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -4rem;
  z-index: 100;
  padding: var(--space-2) var(--space-4);
  background: var(--color-primary);
  color: var(--color-on-dark);
}
.skip-link:focus {
  top: var(--space-2);
}

.icon {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  flex: none;
  vertical-align: -0.2em;
}
.icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* <address> is contact information, not a quotation: no browser-default italics */
address {
  font-style: normal;
}

/* Container + section wrapper: <section class="section"><div class="container">…</div></section> */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}
.section--alt {
  background: var(--color-bg-alt);
}
.section--dark {
  background: var(--color-primary);
  color: var(--color-on-dark);
}
.section--dark :is(h1, h2, h3, h4, h5, h6) {
  color: var(--color-on-dark);
}
.section--dark a:not(.btn) {
  color: var(--color-on-dark);
}
.section {
  /* centered band: heading, short text, button (solutions overview "learn more" / "interested?") */
}
.section--center {
  padding-block: 50px;
  text-align: center;
}
.section--center .section__heading {
  font-size: var(--text-xl);
  font-weight: 400;
}
.section {
  /* image tiles right under a page banner */
}
.section--tiles {
  padding-block: 50px 70px;
}
.section--tight {
  padding-block: var(--space-6);
}
.section > .container > :last-child {
  margin-bottom: 0;
}

/* Grid: .grid + .grid-2 / .grid-3 / .grid-4 / .grid-5. 1 column on phones, then steps up. */
.grid {
  display: grid;
  gap: var(--grid-gap);
  grid-template-columns: 1fr;
}
@media (min-width: 576px) {
  .grid-2, .grid-3, .grid-4, .grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .grid-5 {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Split: text next to an image, stacked on small screens. .split--reverse swaps sides. */
.split {
  display: grid;
  gap: var(--space-6);
  align-items: center;
}
@media (min-width: 768px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
  .split--reverse > :first-child {
    order: 2;
  }
  .split {
    /* text next to tall content (course and product pages): align to the top instead of centering */
  }
  .split--top {
    align-items: start;
  }
}

/* Vertical rhythm helpers */
.stack > * + * {
  margin-top: var(--space-4);
}
.stack--loose > * + * {
  margin-top: var(--space-8);
}

.text-center {
  text-align: center;
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}
.cluster--center {
  justify-content: center;
}

/* ---------- Button: .btn (+ --secondary | --ghost | --light, --lg) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.6em 1.4em;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-btn);
  background: var(--color-primary);
  color: var(--color-on-dark);
  font: inherit;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}
.btn:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-on-dark);
}
.btn--secondary {
  background: transparent;
  color: var(--color-primary);
}
.btn--secondary:hover {
  background: var(--color-primary);
  color: var(--color-on-dark);
}
.btn--ghost {
  background: transparent;
  border-color: transparent;
  color: var(--color-primary);
  padding-inline: 0.4em;
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}
.btn--ghost:hover {
  background: transparent;
  border-color: transparent;
  color: var(--color-primary-dark);
}
.btn--light {
  background: var(--color-on-dark);
  border-color: var(--color-on-dark);
  color: var(--color-primary);
}
.btn--light:hover {
  background: transparent;
  color: var(--color-on-dark);
  border-color: var(--color-on-dark);
}
.btn {
  /* dark navy button on the blue .section--dark band */
}
.btn--dark {
  background: var(--color-footer-bg);
  border-color: var(--color-footer-bg);
}
.btn--dark:hover {
  background: var(--color-on-dark);
  border-color: var(--color-on-dark);
  color: var(--color-primary);
}
.btn--lg {
  font-size: var(--text-md);
  padding: 0.7em 1.8em;
}

/* ---------- Card: .card (+ --news | --feature | --reference) ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--color-bg);
  border-radius: var(--radius-card);
}
.card__media {
  display: block;
  margin-bottom: var(--space-4);
  overflow: hidden;
}
.card__media img {
  width: 100%;
  aspect-ratio: 2/1;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card:hover .card__media img {
  transform: scale(1.03);
}
.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card__title {
  margin: 0 0 var(--space-2);
  font-size: var(--text-xl);
}
.card__title a {
  color: inherit;
  text-decoration: none;
  /* whole card is clickable */
}
.card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.card:hover .card__title {
  color: var(--color-primary-dark);
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}
.card {
  /* social post links on news cards: above the whole-card link overlay so they stay clickable */
}
.card__social {
  position: relative;
  z-index: 1;
  display: flex;
  gap: var(--space-3);
  margin: auto 0 0;
  padding: var(--space-3) 0 0;
  list-style: none;
}
.card__social li + li {
  margin-top: 0;
}
.card__social a {
  color: var(--color-primary);
}
.card__social a:hover {
  color: var(--color-primary-dark);
}
.card__social .icon {
  width: 1.125rem;
  height: 1.125rem;
}
.card__meta {
  margin: 0 0 var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.card__text {
  margin: 0 0 var(--space-3);
  color: var(--color-text-muted);
}
.card {
  /* short accent line right under the text, with breathing room below (feature tiles) */
}
.card__rule {
  display: block;
  width: 40%;
  margin: var(--space-1) 0 var(--space-6);
  border-top: 2px solid var(--color-accent);
}
.card--feature {
  margin: var(--space-4);
}
.card--feature .card__media {
  margin-bottom: var(--space-3);
}
.card--feature .card__media img {
  width: auto;
  max-height: 1.5rem;
  aspect-ratio: auto;
  object-fit: contain;
}
.card--reference {
  box-shadow: var(--shadow-card);
}
.card--reference .card__media {
  margin-bottom: 0;
}
.card--reference .card__body {
  padding: var(--space-4) var(--space-5) var(--space-5);
}

/* ---------- Pagination: .pagination (news lists; numbered pages + prev/next chevrons) ---------- */
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-7);
}
.pagination__page, .pagination__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0 var(--space-3);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-btn);
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: none;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.pagination__page:hover, .pagination__step:hover {
  border-color: var(--color-primary);
}
.pagination__page.is-current {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-on-dark);
}

/* ---------- Tile: .tile — photo with navy overlay, caret title + subtitle, whole tile clickable ---------- */
.tile {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 190px;
  padding: var(--space-6) 35px;
  background-size: cover;
  background-position: 50% 50%;
  color: var(--color-on-dark);
}
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 11, 107, 0.51);
  transition: background-color var(--transition);
}
.tile:hover::before {
  background: rgba(0, 11, 107, 0.7);
}
.tile__title {
  margin: 0 0 var(--space-4);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-on-dark);
}
.tile__title a {
  color: inherit;
  text-decoration: none;
}
.tile__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.tile__title a:focus-visible {
  outline: none;
}
.tile__title a:focus-visible::after {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
  box-shadow: 0 0 0 8px var(--color-focus-halo);
}
.tile {
  /* right-pointing triangle (Font Awesome caret-right on the live site) */
}
.tile__caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-right: 0.3em;
  vertical-align: 0.12em;
  border-block: 0.35em solid transparent;
  border-left: 0.4em solid currentColor;
}
.tile__text {
  margin: 0;
  font-size: var(--text-md);
  line-height: 1.2;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(18rem, 40vw, 28rem);
  padding: var(--space-7) var(--gutter);
  color: var(--color-on-dark);
  text-align: center;
  isolation: isolate;
  background: var(--color-primary);
}
.hero__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--color-overlay);
}
.hero__inner {
  max-width: 48rem;
}
.hero h1 {
  color: var(--color-on-dark);
}
.hero__subtitle {
  font-size: var(--text-lg);
  margin-bottom: var(--space-5);
}
.hero {
  /* the "Wir suchen dich" job-ad badge is a real image (circle + text baked in), not CSS text */
}
.hero__badge {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  z-index: 1;
  width: 9rem;
  height: 9rem;
}
.hero__badge img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transition: transform var(--transition);
}
.hero__badge:hover img {
  transform: scale(1.04);
}
@media (max-width: 575.98px) {
  .hero__badge {
    display: none;
  }
}

/* Compact inner-page title banner (photo background, left-aligned, short accent underline) --
   used by all inner-page layouts instead of the full-bleed centered .hero used on the home page.
   Title and subtitle use the full container width, like the old site. */
.page-banner {
  background-size: cover;
  background-position: 50% 50%;
  color: var(--color-on-dark);
  padding-block: var(--space-6);
}
.page-banner h1 {
  margin-bottom: var(--space-4);
  font-size: var(--text-2xl);
  color: var(--color-on-dark);
}
.page-banner__divider {
  width: 70px;
  height: 3px;
  margin-bottom: var(--space-3);
  background: var(--color-accent);
}
.page-banner__subtitle {
  font-size: var(--text-base);
  margin: 0;
}

/* section with a photo background (like the hero, but for a content section further down the page) */
.section--photo {
  position: relative;
  isolation: isolate;
  background-size: cover;
  background-position: 50% 50%;
  color: var(--color-on-dark);
}
.section--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}
.section--photo :is(h1, h2, h3, h4, h5, h6) {
  color: var(--color-on-dark);
}
.section--photo .split img {
  border: 4px solid rgba(255, 255, 255, 0.15);
}

/* ---------- Header: utility bar + logo + navigation (desktop dropdown / mobile menu) ---------- */
.site-header {
  --topbar-h: 2.5rem;
  position: sticky;
  top: calc(-1 * var(--topbar-h));
  z-index: 50;
  background: var(--color-bg);
  box-shadow: var(--shadow-header);
}

.topbar {
  height: var(--topbar-h);
  background: var(--color-primary);
  color: var(--color-on-dark);
  font-size: var(--text-sm);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-4);
}
.topbar a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.topbar a:hover {
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.lang-switch,
.topbar__contact {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.lang-switch a[aria-current=true] {
  font-weight: 700;
}

.header__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: calc(var(--header-h) - var(--topbar-h));
  gap: var(--space-4);
  padding-block: var(--space-2);
}

.site-logo img {
  height: 2.5rem;
  width: auto;
}

.nav-toggle {
  display: none;
  padding: var(--space-2);
  border: 0;
  background: none;
  color: var(--color-primary);
  cursor: pointer;
}
.nav-toggle .icon {
  width: 2rem;
  height: 2rem;
}
.nav-toggle .icon--close, .nav-toggle[aria-expanded=true] .icon--open {
  display: none;
}
.nav-toggle[aria-expanded=true] .icon--close {
  display: inline-block;
}

:where(.main-nav) ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--color-primary);
  text-decoration: none;
}
.main-nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}
.main-nav__list > li {
  position: relative;
  display: flex;
  align-items: center;
}
.main-nav__list > li > a {
  padding: var(--space-3) 0;
  font-size: var(--text-md);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 2px solid transparent;
}
.main-nav__list > li > a:hover, .main-nav__list > li.is-current > a {
  border-bottom-color: var(--color-accent);
  color: var(--color-primary);
}

.submenu-toggle {
  display: inline-flex;
  padding: var(--space-1);
  border: 0;
  background: none;
  color: var(--color-primary);
  cursor: pointer;
}
.submenu-toggle .icon {
  transition: transform var(--transition);
}
.submenu-toggle[aria-expanded=true] .icon {
  transform: rotate(180deg);
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 16rem;
  padding: var(--space-2) 0;
  background: var(--color-bg);
  box-shadow: var(--shadow-card);
  border-top: 2px solid var(--color-accent);
}
.submenu a {
  display: block;
  padding: var(--space-2) var(--space-5);
}
.submenu a:hover {
  background: var(--color-bg-alt);
}

.has-children:hover > .submenu,
.has-children:focus-within > .submenu,
.has-children.is-open > .submenu {
  display: block;
}

@media (max-width: 991.98px) {
  .site-header {
    --topbar-h: 2.5rem;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .js .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    background: var(--color-bg);
    box-shadow: var(--shadow-header);
    border-top: 1px solid var(--color-border);
  }
  .js .main-nav.is-open {
    display: block;
  }
  .main-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-2) var(--gutter);
  }
  .main-nav__list > li {
    flex-wrap: wrap;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-border);
  }
  .main-nav__list > li > a {
    flex: 1;
    border-bottom: 0;
    padding: var(--space-3) 0;
  }
  .submenu {
    position: static;
    display: none;
    flex-basis: 100%;
    min-width: 0;
    box-shadow: none;
    border-top: 0;
    padding: 0 0 var(--space-3) var(--space-4);
  }
  .submenu a {
    padding: var(--space-2) 0;
  }
  .has-children:hover > .submenu,
  .has-children:focus-within > .submenu {
    display: none;
  }
  /* tap toggles instead */
  .has-children.is-open > .submenu,
  html:not(.js) .submenu {
    display: block;
  }
  .topbar__contact .topbar__label {
    display: none;
  }
}
/* ---------- Footer ---------- */
/* the one-line quote strip between the page content and the footer */
.tagline {
  margin: 0;
  padding: var(--space-6) var(--gutter);
  background: var(--color-bg-alt);
  color: var(--color-primary);
  text-align: center;
  font-size: var(--text-md);
  font-style: italic;
}

.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-on-dark);
  padding-block: var(--space-7) var(--space-5);
}
.site-footer a {
  color: var(--color-footer-link);
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 2px;
}
.site-footer h2 {
  font-size: var(--text-md);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--color-accent);
}
.site-footer h2 {
  color: var(--color-on-dark);
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer li + li {
  margin-top: var(--space-2);
}
.site-footer address {
  font-style: normal;
}
.site-footer__grid {
  display: grid;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}
@media (min-width: 576px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .site-footer__grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
.site-footer__legal {
  margin: 0;
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
}

.social {
  display: flex;
  gap: var(--space-4);
}
.social li + li {
  margin-top: 0;
}
.social .icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-on-dark);
}

/* ---------- Video embed (16:9) ---------- */
.video-embed {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Map (Leaflet) ---------- */
.map {
  height: 24rem;
  background: var(--color-bg-alt);
  z-index: 0;
  /* muted greyscale tiles like the old site's map, so the blue marker stands out */
}
.map .leaflet-tile-pane {
  filter: grayscale(1) contrast(0.9) brightness(1.05);
}

/* Without JS the submenu toggles do nothing, so hide them */
html:not(.js) .submenu-toggle,
html:not(.js) .nav-toggle {
  display: none;
}

/* ---------- Logo grid (customer/partner logos) ---------- */
.logo-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
  padding: var(--space-7) var(--space-5);
  color: inherit;
  text-decoration: none;
}
.logo-caption:hover, .logo-caption:hover .text-sm {
  color: inherit;
  text-decoration: none;
  border-color: var(--color-accent);
}
.logo-caption img {
  max-height: 3.5rem;
  width: auto;
}
.logo-caption .text-sm {
  color: var(--color-text-muted);
}

.logo-standalone img {
  max-height: 4rem;
  width: auto;
}

/* Short text-only feature row (icon+heading+paragraph on the source site; no generic icon here, but
   the centered layout + underline matches it) */
.text-feature {
  text-align: center;
}
.text-feature > .icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto var(--space-3);
  color: var(--color-primary);
}
.text-feature::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2px;
  margin: var(--space-3) auto var(--space-6);
  background: var(--color-accent);
}

/* ---------- Section heading inside a page (h2 below the banner): .content-heading, and every <h2> in a content row ({% row %}) ---------- */
.content-heading,
.content-row h2 {
  font-size: var(--text-xl);
  font-weight: 400;
}

/* apprentice course summary: icon, level, name, short text, then a "Details..." link or a plain accent line */
.course-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  text-align: center;
}
.course-track > .icon {
  width: 4rem;
  height: 4rem;
  color: var(--color-primary);
}
.course-track__level {
  margin: var(--space-3) 0 0;
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-text);
}
.course-track__name {
  margin: 0;
  font-size: var(--text-md);
  color: var(--color-text);
}
.course-track__text {
  margin: 0;
  font-size: var(--text-sm);
}
.course-track__details {
  margin-top: auto;
  padding: var(--space-4) 0 var(--space-3);
  font-size: var(--text-lg);
  text-decoration: none;
  border-bottom: 2px solid var(--color-accent);
  margin-bottom: var(--space-3);
}
.course-track__rule {
  width: 2.5rem;
  margin-top: var(--space-4);
  border-top: 2px solid var(--color-accent);
}

/* ---------- Training videos (layouts/training-videos.liquid): centered group heading, 4-up grid, title above video ---------- */
.video-group__header {
  margin-bottom: var(--space-5);
  text-align: center;
}
.video-group__title {
  margin: 0;
  font-size: var(--text-xl);
  font-weight: 400;
}
.video-group__sub {
  margin: var(--space-1) 0 0;
  font-size: var(--text-sm);
  color: var(--color-text);
}

/* titles can wrap to two lines: let the title grow so the videos in a row stay aligned */
.video-item {
  display: flex;
  flex-direction: column;
}

.video-item__title {
  flex: 1;
  margin: 0 0 var(--space-2);
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--color-primary);
}

/* ---------- Download section: PDF brochure link (icon, title, short accent line) ---------- */
.download-file {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-align: center;
  color: var(--color-text);
  text-decoration: none;
}
.download-file > .icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--color-primary);
}
.download-file__title {
  font-size: var(--text-xl);
}
.download-file::after {
  content: "";
  width: 1rem;
  border-top: 2px solid var(--color-primary);
}
.download-file:hover .download-file__title {
  color: var(--color-primary);
}

/* ---------- News article (layouts/news-article.liquid) ---------- */
.content-video {
  width: 100%;
  background: #000;
}

/* partner columns: heading (or empty spacer to keep names aligned), name + role, logo */
.partner {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  /* heading and the empty spacer (columns continuing a group) share one height so names line up */
}
.partner > .content-heading, .partner__spacer {
  margin: 0;
  min-height: calc(var(--text-xl) * 1.2);
  line-height: 1.2;
}
.partner__spacer {
  display: none;
}
@media (min-width: 992px) {
  .partner__spacer {
    display: block;
  }
}
.partner__name {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-text);
}
.partner__logo {
  max-height: 6rem;
  width: auto;
}

/* grey image band under an article; images keep their natural aspect ratio */
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--transition);
}

.gallery a:hover img {
  opacity: 0.9;
}

/* ---------- Readable running text (legal pages, careers, support): text width, line height, heading rhythm ---------- */
.prose {
  max-width: 46rem; /* ~80 characters per line for long running text (legal pages) */
  line-height: 1.7;
  /* full container width, text pages (layouts/text.liquid: careers, support) */
}
.prose--full {
  max-width: none;
}
.prose {
  /* land below the sticky header when jumping to a section */
}
.prose :is(h2, h3) {
  scroll-margin-top: 6rem;
}
.prose h2 {
  margin: var(--space-7) 0 var(--space-3);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-xl);
  font-weight: 400;
}
.prose h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.prose h3 {
  margin: var(--space-5) 0 var(--space-2);
  font-size: var(--text-md);
  font-weight: 500;
}
.prose p,
.prose ul {
  margin: 0 0 var(--space-4);
}
.prose li + li {
  margin-top: var(--space-1);
}

/* ---------- Legal pages (layouts/legal.liquid): table of contents + readable text column ---------- */
.legal {
  display: grid;
  gap: var(--space-7);
}
@media (min-width: 992px) {
  .legal--toc {
    grid-template-columns: minmax(14rem, 20rem) minmax(0, 1fr);
    align-items: start;
  }
}
.legal__toc {
  padding: var(--space-5);
  background: var(--color-bg-alt);
  border-left: 3px solid var(--color-accent);
  font-size: var(--text-sm);
  /* stays in view while reading; scrolls on its own if taller than the window */
}
@media (min-width: 992px) {
  .legal__toc {
    position: sticky;
    top: 6rem;
    max-height: calc(100vh - 8rem);
    overflow-y: auto;
  }
}
.legal__toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.legal__toc li {
  margin-top: var(--space-2);
}
.legal__toc ul ul {
  padding-left: var(--space-4);
}
.legal__toc ul ul li {
  margin-top: var(--space-1);
}
.legal__toc a {
  color: var(--color-text);
  text-decoration: none;
}
.legal__toc a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}
.legal__toc-title {
  margin: 0 0 var(--space-3);
  font-size: var(--text-md);
  font-weight: 500;
}
.legal__address {
  margin-bottom: var(--space-5);
  font-style: normal;
}
.legal {
  /* label / value pairs (imprint) */
}
.legal__facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: var(--space-2) var(--space-5);
  margin: 0;
}
.legal__facts dt {
  font-weight: 500;
}
.legal__facts dd {
  margin: 0;
}
@media (max-width: 575.98px) {
  .legal__facts {
    grid-template-columns: 1fr;
    row-gap: 0;
  }
  .legal__facts dd {
    margin-bottom: var(--space-3);
  }
}

/* ---------- Contact page: "interested?" box next to the opening hours ---------- */
.contact-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-5);
  text-align: center;
}
.contact-box p {
  margin: 0;
}

/* ---------- Team pages (layouts/team.liquid): photo, name, role, e-mail icon, short accent line ---------- */
.person {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.person__photo {
  width: 7.5rem;
  aspect-ratio: 3/4;
  object-fit: cover;
  margin-bottom: var(--space-3);
}
.person__name {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
}
.person__role {
  margin: 0 0 var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.person__mail {
  color: var(--color-primary);
}
.person__mail .icon {
  width: 1.125rem;
  height: 1.125rem;
}
.person::after {
  content: "";
  width: 2.5rem;
  margin-top: var(--space-2);
  border-top: 2px solid var(--color-accent);
}

/* ---------- Company page: membership / partner logos with linked captions ---------- */
.memberships__heading {
  margin: 0;
  text-align: center;
  color: var(--color-text);
  font-size: var(--text-xl);
  font-weight: 400;
}

.membership {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-align: center;
  text-decoration: none;
}
.membership img {
  height: 4rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.membership span {
  color: var(--color-primary);
}
.membership:hover span {
  text-decoration: underline;
}

/* ---------- Simple text page (layouts/text.liquid): careers, support ---------- */
.text-page__image {
  width: 100%;
  height: auto;
}

/* ---------- Logo carousel (customer logos, auto-advancing with dot pagination) ---------- */
.logo-carousel {
  position: relative;
}
.logo-carousel__track {
  display: flex;
  gap: var(--space-6);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-block: var(--space-2);
}
.logo-carousel__track::-webkit-scrollbar {
  display: none;
}
.logo-carousel__slide {
  flex: 0 0 calc((100% - 5 * var(--space-6)) / 6);
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 991.98px) {
  .logo-carousel__slide {
    flex-basis: calc((100% - 2 * var(--space-6)) / 3);
  }
}
@media (max-width: 575.98px) {
  .logo-carousel__slide {
    flex-basis: calc((100% - var(--space-6)) / 2);
  }
}
.logo-carousel__slide img,
.logo-carousel__slide a {
  display: block;
  max-height: 6rem;
  width: auto;
}
.logo-carousel__slide img {
  opacity: 1;
  transition: filter var(--transition), opacity var(--transition);
}
.logo-carousel__slide a:hover img {
  opacity: 0.7;
}
.logo-carousel__dots {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
}
.logo-carousel__dots button {
  width: 0.6rem;
  height: 0.6rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--color-border);
  cursor: pointer;
}
.logo-carousel__dots button[aria-current=true] {
  background: var(--color-primary);
}