/* =========================================================
   Self-hosted fonts
   Space Grotesk and Archivo are served from /public/fonts/
   rather than Google's CDN — loading Google Fonts live transmits
   visitor IPs to Google at request time without consent, which
   German courts (e.g. LG München, Jan 2022) have held violates
   GDPR Art. 6. Both are variable fonts, so one file per family
   covers every weight actually used on the site via the wght
   range below (no separate file per weight needed).
   ========================================================= */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/public/fonts/archivo-variable.woff2') format('woff2-variations'),
       url('/public/fonts/archivo-variable.woff2') format('woff2');
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('/public/fonts/space-grotesk-variable.woff2') format('woff2-variations'),
       url('/public/fonts/space-grotesk-variable.woff2') format('woff2');
}

/* =========================================================
   ANFLAY — design tokens
   ========================================================= */
:root {
  --navy: #1B3A5B;
  --navy-deep: #152E49;
  --teal: #288088;
  --teal-light: #6FB8BD;
  --paper: #F5F7F7;
  --white: #FFFFFF;

  --border-light: rgba(27, 58, 91, 0.12);
  --border-dark: rgba(255, 255, 255, 0.14);

  --font-display: 'Space Grotesk', 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Archivo', 'Helvetica Neue', Arial, sans-serif;

  --radius: 4px;
  --content-max: 1360px;
  --pad-x: 56px;

  --hero-gradient: linear-gradient(135deg, #2A8A8E 0%, #245E78 45%, #1B3A5B 100%);
  --dark-gradient: linear-gradient(135deg, #1B3A5B 0%, #152E49 100%);
}

@media (max-width: 640px) {
  :root {
    --pad-x: 24px;
  }
}

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

html {
  scroll-behavior: smooth;
}

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

/* =========================================================
   Scroll-triggered reveal
   The hidden pre-reveal state lives entirely inside
   prefers-reduced-motion: no-preference, not behind a JS check —
   so a reduced-motion visitor sees full content immediately even
   if js/animations.js never runs (blocked script, slow network,
   ad-blocker). See js/animations.js for the IntersectionObserver
   that adds .is-visible once per element, then stops observing it.
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  [data-animate] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: calc(var(--stagger, 0) * 70ms);
  }

  [data-animate].is-visible {
    opacity: 1;
    transform: none;
  }

  [data-animate="icon-draw"] path {
    stroke-dasharray: 140;
    stroke-dashoffset: 140;
    transition: stroke-dashoffset 0.7s ease;
    transition-delay: calc(var(--stagger, 0) * 70ms);
  }

  [data-animate="icon-draw"].is-visible path {
    stroke-dashoffset: 0;
  }

  [data-animate="icon-draw"] circle:last-child {
    transform: scale(0);
    transform-box: fill-box;
    transform-origin: center;
    transition: transform 0.3s ease;
    transition-delay: calc(var(--stagger, 0) * 70ms + 0.5s);
  }

  [data-animate="icon-draw"].is-visible circle:last-child {
    transform: scale(1);
  }

  [data-animate="line-draw"] .people__dot,
  [data-animate="line-draw"] .dot {
    transform: scale(0);
    transform-origin: center;
    transition: transform 0.3s ease;
    transition-delay: calc(var(--stagger, 0) * 70ms);
  }

  [data-animate="line-draw"].is-visible .people__dot,
  [data-animate="line-draw"].is-visible .dot {
    transform: scale(1);
  }

  [data-animate="line-draw"] .people__line {
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.4s ease;
    transition-delay: calc(var(--stagger, 0) * 70ms + 0.15s);
  }

  [data-animate="line-draw"].is-visible .people__line {
    transform: scaleX(1);
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0;
  line-height: 1.15;
}

p {
  margin: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

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

svg {
  display: block;
}

/* =========================================================
   Utility
   ========================================================= */
.container {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.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;
}

.skip-link {
  position: absolute;
  left: 0;
  top: -100%;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  z-index: 1000;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0;
}

/* Focus visibility across the site */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot--teal {
  background: var(--teal);
}

/* =========================================================
   Buttons & links
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--teal);
  color: var(--white);
}

.btn--primary:hover {
  background: #226b72;
}

.btn--light {
  background: var(--white);
  color: var(--navy);
}

.btn--light:hover {
  background: #e8ecec;
}

.link {
  font-weight: 600;
  text-underline-offset: 3px;
}

.link--light {
  color: var(--white);
  text-decoration: underline;
}

.link--light:hover {
  color: var(--teal-light);
}

/* =========================================================
   Nav
   ========================================================= */
.nav {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
}

.nav__logo-img {
  height: 42px;
  width: auto;
  display: block;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
}

.nav__toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  margin-inline: auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.nav__links a:hover {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

.nav__lang {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 3px;
}

.nav__lang a {
  padding: 5px 9px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: rgba(27, 58, 91, 0.55);
  border-radius: 2px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav__lang a:hover {
  color: var(--navy);
}

.nav__lang a[aria-current="page"] {
  background: var(--navy);
  color: var(--white);
}

@media (max-width: 900px) {
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--pad-x) 24px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  }

  .nav__menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .nav__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .nav__links a {
    display: block;
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
  }

  .nav__lang {
    align-self: flex-start;
    margin-top: 16px;
  }

  .nav__cta {
    margin-top: 16px;
    width: 100%;
  }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  background: var(--hero-gradient);
  padding-block: 64px;
  position: relative;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  top: -220px;
  right: -220px;
  width: 820px;
  height: 820px;
  background: radial-gradient(circle, rgba(111, 184, 189, 0.22) 0%, transparent 62%);
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.hero__heading {
  font-size: 40px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -0.5px;
  max-width: 14ch;
}

.hero__lede {
  margin-top: 24px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 50ch;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* ---- Puzzle: 3 service pillars + the ANFLAY differentiator ---- */
.hero__graphic {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.hero__puzzle {
  display: grid;
  grid-template-columns: repeat(2, 220px);
  gap: 12px;
}

.hero__piece {
  position: relative;
  width: 220px;
  min-width: 0;
  height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 26px;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(6, 20, 36, 0.3);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero__piece:hover,
.hero__piece:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px rgba(6, 20, 36, 0.4);
}

.hero__piece:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

.hero__piece--tl,
.hero__piece--bl,
.hero__piece--br {
  background: var(--white);
  color: #12304d;
}

.hero__piece--tl {
  z-index: 3;
}

.hero__piece--bl {
  z-index: 2;
}

.hero__piece--br {
  z-index: 1;
}

.hero__piece--key {
  background: var(--teal-light);
  color: #0f2a44;
  z-index: 4;
}

.hero__piece-label {
  position: absolute;
  top: 22px;
  left: 26px;
  right: 26px;
  overflow-wrap: break-word;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.hero__piece--tl .hero__piece-label,
.hero__piece--bl .hero__piece-label,
.hero__piece--br .hero__piece-label {
  color: var(--teal);
}

.hero__piece--key .hero__piece-label {
  color: #0f2a44;
}

.hero__piece-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.15;
  margin: 0;
  color: inherit;
  overflow-wrap: break-word;
}

.hero__piece-line {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
}

.hero__piece--tl .hero__piece-line,
.hero__piece--bl .hero__piece-line,
.hero__piece--br .hero__piece-line {
  color: #3e5670;
}

.hero__piece--key .hero__piece-line {
  color: #123a55;
}

.hero__piece-knob {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: inherit;
}

.hero__piece-knob--bottom {
  bottom: -23px;
  left: 50%;
  transform: translateX(-17px);
}

.hero__piece-knob--right {
  right: -23px;
  top: 50%;
  transform: translateY(-17px);
}

.hero__piece-knob--left {
  left: -23px;
  top: 50%;
  transform: translateY(-17px);
}

@media (prefers-reduced-motion: no-preference) {
  .hero__piece--tl,
  .hero__piece--bl,
  .hero__piece--br {
    animation: hero-piece-rise 0.6s ease backwards;
  }

  .hero__piece--tl {
    animation-delay: 0.1s;
  }

  .hero__piece--bl {
    animation-delay: 0.25s;
  }

  .hero__piece--br {
    animation-delay: 0.4s;
  }

  .hero__piece--key {
    animation:
      hero-piece-snap 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 1s backwards,
      hero-piece-halo 2.6s ease-in-out 2.2s infinite;
  }

  @keyframes hero-piece-rise {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  @keyframes hero-piece-snap {
    0% {
      opacity: 0;
      transform: translate(90px, -70px) rotate(6deg);
    }
    70% {
      opacity: 1;
      transform: translate(-3px, 2px) rotate(0);
    }
    100% {
      opacity: 1;
      transform: none;
    }
  }

  @keyframes hero-piece-halo {
    0%, 100% {
      box-shadow: 0 18px 40px rgba(6, 20, 36, 0.3), 0 0 0 0 rgba(111, 184, 189, 0);
    }
    50% {
      box-shadow: 0 18px 40px rgba(6, 20, 36, 0.3), 0 0 0 10px rgba(111, 184, 189, 0.18);
    }
  }
}

@media (max-width: 1023px) {
  .hero__inner {
    justify-items: start;
  }
  .hero__puzzle {
    margin-inline: auto;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding-block: 84px;
    --pad-x: 104px;
  }
  .hero__inner {
    grid-template-columns: 1fr 512px;
    gap: 64px;
  }
  .hero__copy {
    max-width: 600px;
  }
  .hero__heading {
    font-size: 60px;
    max-width: none;
  }
  .hero__graphic {
    margin-top: 0;
    justify-content: flex-end;
  }
  .hero__puzzle {
    grid-template-columns: repeat(2, 250px);
  }
  .hero__piece {
    width: 250px;
    height: 250px;
  }
}

@media (max-width: 599px) {
  .hero__puzzle {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero__piece {
    width: auto;
    min-width: 0;
    height: auto;
    aspect-ratio: 1;
    padding: 18px;
  }
  .hero__piece-title {
    font-size: 18px;
  }
  .hero__piece-line {
    display: none;
  }
}

@media (max-width: 399px) {
  .hero__piece-knob {
    display: none;
  }
}

/* =========================================================
   Ambient dot-network field — decorative background motion
   for the Hero and Story sections. Each node reuses the
   pillar-icon shape (currentColor so the wrapper sets the
   tint), positioned/scaled/rotated via inline custom
   properties set per-instance in the HTML. Rotation is kept
   to multiples of 90deg so drifting copies still read as the
   brand's right-angle connector, never diagonal.
   ========================================================= */
.ambient-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.ambient-field__node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 72px;
  color: var(--white);
  opacity: var(--o);
  transform: translate(-50%, -50%) scale(var(--s)) rotate(var(--rot));
}

.ambient-field--story .ambient-field__node {
  color: var(--navy);
  width: 56px;
}

.ambient-field__node svg {
  width: 100%;
  height: auto;
  display: block;
}

@media (prefers-reduced-motion: no-preference) {
  .ambient-field__node {
    animation: ambient-drift var(--dur) ease-in-out var(--delay) infinite;
  }

  @keyframes ambient-drift {
    0%, 100% {
      translate: 0 0;
    }
    50% {
      translate: 14px -10px;
    }
  }
}

/* =========================================================
   Story / Approach
   ========================================================= */
.story {
  background: var(--paper);
  padding-block: 96px;
  position: relative;
  overflow: hidden;
}

.story__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.story__copy h2 {
  font-size: 36px;
}

.story__copy p {
  margin-top: 20px;
  font-size: 16.5px;
  color: rgba(27, 58, 91, 0.78);
  line-height: 1.7;
  max-width: 46ch;
}

.story__visual {
  position: relative;
}

.story__watermark {
  position: absolute;
  top: -30px;
  right: -20px;
  width: 220px;
  height: 220px;
  opacity: 0.06;
  z-index: 0;
  pointer-events: none;
}

.story__watermark svg {
  width: 100%;
  height: 100%;
}

.story__card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.story__panel-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
  margin-bottom: 12px;
}

.tangle {
  width: 100%;
  height: 100px;
}

.tangle line {
  stroke: var(--navy);
  stroke-opacity: 0.25;
  stroke-width: 1.5;
}

.tangle circle {
  fill: var(--navy);
  fill-opacity: 0.35;
}

.story__arrow {
  display: flex;
  justify-content: center;
}

.story__after-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.story__after-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
}

@media (max-width: 900px) {
  .story__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .story__watermark {
    display: none;
  }
}

/* =========================================================
   Value pillars
   ========================================================= */
.pillars {
  background: var(--paper);
  padding-bottom: 96px;
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.pillar__icon {
  width: 64px;
  height: 40px;
  margin-bottom: 20px;
}

.pillar h3 {
  font-size: 19px;
}

.pillar p {
  margin-top: 12px;
  font-size: 15px;
  color: rgba(27, 58, 91, 0.75);
  line-height: 1.65;
}

.pillar:hover .pillar__icon path {
  stroke-width: 4;
  transition: stroke-width 0.2s ease;
}

.pillar:hover .pillar__icon circle:last-child {
  transform: scale(1.18);
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.25s ease;
}

@media (max-width: 900px) {
  .pillars__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* =========================================================
   About
   ========================================================= */
.about {
  background: var(--white);
  border-top: 1px solid var(--border-light);
  padding-block: 96px;
}

.about__intro h2 {
  font-size: 34px;
  max-width: 20ch;
}

.about__intro p {
  margin-top: 20px;
  font-size: 16.5px;
  color: rgba(27, 58, 91, 0.78);
  line-height: 1.7;
  max-width: 60ch;
}

.about__grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.about__item {
  border-top: 2px solid var(--teal);
  padding-top: 18px;
}

.about__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--paper);
  margin-bottom: 16px;
}

.about__icon svg {
  width: 22px;
  height: 22px;
}

.about__item h3 {
  font-size: 16.5px;
}

.about__item p {
  margin-top: 10px;
  font-size: 14.5px;
  color: rgba(27, 58, 91, 0.72);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .about__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .about__grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Who we are (People)
   ========================================================= */
.people {
  background: var(--paper);
  padding-block: 96px;
}

.people__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.people__copy h2 {
  font-size: 36px;
}

.people__copy p {
  margin-top: 20px;
  font-size: 16.5px;
  color: rgba(27, 58, 91, 0.78);
  line-height: 1.7;
  max-width: 46ch;
}

.people__disciplines {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.people__spine {
  position: absolute;
  top: 10px;
  bottom: 14px;
  left: 6.5px;
  width: 2px;
  background: var(--border-light);
  z-index: 0;
}

.people__row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}

.people__dot-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  flex-shrink: 0;
  background: var(--paper);
}

.people__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

.people__dot--large {
  width: 14px;
  height: 14px;
  background: var(--navy);
}

.people__line {
  width: 32px;
  height: 1px;
  background: rgba(27, 58, 91, 0.25);
  flex-shrink: 0;
}

.people__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16.5px;
  color: var(--navy);
}

.people__divider {
  border-top: 1px solid var(--border-light);
  margin: 6px 0 2px;
}

.people__row--final .people__label {
  font-weight: 700;
  font-size: 18px;
}

.people__row:hover .people__line {
  width: 44px;
  background: var(--teal);
  transition: width 0.2s ease, background-color 0.2s ease;
}

.people__row:hover .people__dot {
  transform: scale(1.3);
  transition: transform 0.2s ease;
}

@media (max-width: 900px) {
  .people__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* =========================================================
   Services (ledger)
   ========================================================= */
.services {
  background: var(--paper);
  padding-block: 96px;
}

.services h2 {
  font-size: 36px;
  margin-bottom: 48px;
}

.ledger__row {
  display: grid;
  grid-template-columns: 48px 1fr 1fr;
  align-items: center;
  gap: 32px;
  padding: 26px 20px;
  border-top: 1px solid var(--border-light);
  transition: background-color 0.15s ease;
}

.ledger__row:last-child {
  border-bottom: 1px solid var(--border-light);
}

.ledger__row:hover {
  background: rgba(40, 128, 136, 0.06);
}

.ledger__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border-light);
  flex-shrink: 0;
  transition: border-color 0.15s ease;
}

.ledger__icon svg {
  width: 22px;
  height: 22px;
}

.ledger__row:hover .ledger__icon {
  border-color: var(--teal);
}

.ledger__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--navy);
}

.ledger__desc {
  font-size: 15.5px;
  color: rgba(27, 58, 91, 0.75);
  line-height: 1.65;
  max-width: 46ch;
}

@media (max-width: 700px) {
  .ledger__row {
    grid-template-columns: 40px 1fr;
    grid-template-areas:
      "icon title"
      "desc desc";
    gap: 6px 14px;
  }

  .ledger__icon {
    width: 40px;
    height: 40px;
    grid-area: icon;
  }

  .ledger__icon svg {
    width: 18px;
    height: 18px;
  }

  .ledger__title {
    grid-area: title;
    align-self: center;
  }

  .ledger__desc {
    grid-area: desc;
    max-width: none;
  }
}

/* =========================================================
   Process
   ========================================================= */
.process {
  background: var(--white);
  border-top: 1px solid var(--border-light);
  padding-block: 96px;
}

.process h2 {
  font-size: 36px;
  margin-bottom: 48px;
}

.process__timeline {
  position: relative;
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.process__step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 0;
}

.process__step::after {
  content: '';
  position: absolute;
  top: 55px;
  left: calc(50% + 20px);
  width: calc(100% - 16px);
  height: 2px;
  background: var(--border-light);
  z-index: 0;
}

.process__step:last-child::after {
  display: none;
}

.process__icon {
  width: 24px;
  height: 24px;
  margin-bottom: 12px;
}

.process__badge {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--teal);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 16px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.process__step h3 {
  font-size: 17px;
}

.process__step p {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(27, 58, 91, 0.72);
  line-height: 1.6;
}

.process__step:hover .process__badge {
  border-color: var(--navy);
  transform: scale(1.06);
}

@media (max-width: 900px) {
  .process__grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 36px;
  }

  .process__step::after {
    content: none;
  }
}

@media (max-width: 480px) {
  .process__grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   News (homepage section)
   ========================================================= */
.news {
  background: var(--white);
  border-top: 1px solid var(--border-light);
  padding-block: 96px;
}

.news h2 {
  font-size: 36px;
}

.news__intro {
  margin-top: 16px;
  font-size: 16px;
  color: rgba(27, 58, 91, 0.72);
  max-width: 60ch;
}

.news__grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news__card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease;
}

.news__card:hover,
.news__card:focus-visible {
  border-color: var(--teal);
}

.news__card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.news__card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 24px 28px 28px;
}

.news__card-kicker {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
}

.news__card h3 {
  margin-top: 14px;
  font-size: 19px;
  line-height: 1.3;
}

.news__card p {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(27, 58, 91, 0.72);
  flex-grow: 1;
}

.news__card-link {
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--teal);
}

@media (max-width: 900px) {
  .news__grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Article pages (News detail)
   ========================================================= */
.article-header {
  background: var(--paper);
  border-bottom: 1px solid var(--border-light);
  padding-block: 56px 40px;
}

.article-header__kicker {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
}

.article-header h1 {
  margin-top: 12px;
  font-size: 34px;
  line-height: 1.25;
  max-width: 22ch;
}

.article-header__excerpt {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(27, 58, 91, 0.75);
  max-width: 60ch;
}

.article-header__cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  margin-top: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}

@media (max-width: 700px) {
  .article-header__cover {
    margin-top: 24px;
  }
}

.article {
  padding-block: 56px 96px;
}

.article__prose {
  max-width: 720px;
}

.article__prose h2 {
  font-size: 24px;
  margin-top: 44px;
}

.article__prose > h2:first-child {
  margin-top: 0;
}

.article__prose h3 {
  font-size: 17px;
  margin-top: 28px;
}

.article__prose p {
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.75;
  color: rgba(27, 58, 91, 0.85);
}

.article__prose ul {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article__prose li {
  position: relative;
  padding-left: 18px;
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(27, 58, 91, 0.85);
}

.article__prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

.article__prose a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article__disclaimer {
  margin-top: 28px;
  font-size: 13.5px;
  font-style: italic;
  color: rgba(27, 58, 91, 0.55);
}

/* Key-figures callout */
.callout {
  margin-top: 28px;
  background: var(--paper);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  padding: 22px 26px;
}

.callout__label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
}

.callout ul {
  margin-top: 14px !important;
}

.callout li {
  color: var(--navy) !important;
}

.callout strong {
  color: var(--navy);
  font-weight: 700;
}

.callout__source {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  font-style: italic;
  color: rgba(27, 58, 91, 0.55);
}

/* Tables */
.article__table-wrap {
  margin-top: 20px;
  overflow-x: auto;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
}

.article__prose table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.article__prose th,
.article__prose td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  color: rgba(27, 58, 91, 0.85);
}

.article__prose th {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
}

.article__prose tr:last-child td {
  border-bottom: none;
}

/* Related + sources */
.article__related,
.article__sources {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}

.article__related h2,
.article__sources h2 {
  font-size: 18px;
  margin-top: 0;
}

.article__sources li {
  word-break: break-word;
}

/* =========================================================
   Products
   ========================================================= */
.products {
  background: var(--dark-gradient);
  color: var(--white);
  padding-block: 96px;
}

.products__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.products__label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.products__copy h2 {
  font-size: 32px;
  color: var(--white);
  line-height: 1.2;
}

.products__copy p {
  margin-top: 20px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  max-width: 50ch;
}

.products__copy .link {
  display: inline-block;
  margin-top: 24px;
}

.products__card {
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  padding: 32px;
}

.products__card-logo-link {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 10px 16px;
  transition: border-color 0.15s ease;
}

.products__card-logo-link:hover {
  border-color: var(--teal);
}

.products__card-logo {
  height: 28px;
  width: auto;
  display: block;
}

.products__card-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--teal-light);
  margin-top: 16px;
  margin-bottom: 20px;
}

.products__steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.products__steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--white);
}

@media (max-width: 900px) {
  .products__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* =========================================================
   Contact
   ========================================================= */
.contact-teaser {
  background: var(--paper);
  padding-block: 64px;
}

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

.contact-teaser__inner h2 {
  font-size: 28px;
}

.contact-teaser__inner p {
  margin-top: 12px;
  color: rgba(27, 58, 91, 0.75);
}

.contact-teaser__inner .btn {
  margin-top: 20px;
}

.contact {
  background: var(--paper);
  padding-block: 96px;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact__copy h2 {
  font-size: 34px;
}

.contact__copy p {
  margin-top: 18px;
  font-size: 16px;
  color: rgba(27, 58, 91, 0.75);
  line-height: 1.65;
  max-width: 42ch;
}

.contact__details {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__details dt {
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
}

.contact__details dd {
  margin: 4px 0 0;
  font-size: 16px;
  font-weight: 500;
}

.contact__details a:hover {
  color: var(--teal);
}

.contact__notice {
  padding: 14px 18px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(40, 128, 136, 0.3);
  background: rgba(40, 128, 136, 0.08);
  color: var(--navy);
  font-size: 14.5px;
  font-weight: 500;
}

.contact__notice--error {
  border-color: rgba(188, 48, 48, 0.3);
  background: rgba(188, 48, 48, 0.08);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Honeypot: off-screen (not display:none/visibility:hidden) so bots that
   check computed visibility to dodge honeypots still fill it in; tabindex
   -1 and aria-hidden keep it invisible to keyboard and screen-reader users. */
.contact__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.field input,
.field textarea {
  border: none;
  border-bottom: 1px solid rgba(27, 58, 91, 0.3);
  background: transparent;
  padding: 10px 2px;
  font-size: 15.5px;
  color: var(--navy);
  border-radius: 0;
  resize: vertical;
  transition: border-color 0.15s ease;
}

.field input:focus,
.field textarea:focus {
  border-bottom-color: var(--teal);
  outline: none;
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.contact__form .btn {
  align-self: flex-start;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* =========================================================
   Legal pages (privacy / Datenschutz / Impressum)
   ========================================================= */
.legal-header {
  background: var(--paper);
  border-bottom: 1px solid var(--border-light);
  padding-block: 56px 40px;
}

.legal-header h1 {
  font-size: 34px;
}

.legal-header__updated {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(27, 58, 91, 0.6);
}

.legal {
  padding-block: 64px 96px;
}

.legal__prose {
  max-width: 720px;
}

.legal__prose section + section {
  margin-top: 44px;
}

.legal__prose h2 {
  font-size: 21px;
}

.legal__prose h3 {
  font-size: 16px;
  margin-top: 20px;
}

.legal__prose p {
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(27, 58, 91, 0.82);
}

.legal__prose ul {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal__prose li {
  position: relative;
  padding-left: 18px;
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(27, 58, 91, 0.82);
}

.legal__prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

.legal__prose a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal__prose address {
  margin-top: 14px;
  font-style: normal;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(27, 58, 91, 0.82);
}

.legal__placeholder {
  color: var(--teal);
  font-weight: 600;
}

/* =========================================================
   Cookie consent banner
   ========================================================= */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  max-width: 560px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: none;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(27, 58, 91, 0.8);
}

.cookie-banner a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.cookie-banner__actions .btn {
  padding: 10px 18px;
  font-size: 14px;
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--border-light);
}

.btn--outline:hover {
  background: rgba(27, 58, 91, 0.05);
}

.cookie-settings-link {
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  color: inherit;
}

@media (max-width: 480px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 20px;
  }
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.6);
  padding-block: 28px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
}

.footer__brand {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__logo {
  height: 22px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.footer__copy a {
  margin-left: 6px;
  text-decoration: underline;
}

.footer__copy a:hover {
  color: var(--white);
}
