* {
  font-family: var(--font-bosch-sans);
}

.field--image-credits {
  text-align: right;
  margin-top: 2px;
}

a {
  color: var(--trust);
  text-decoration: underline;
  text-decoration-color: var(--trust);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s ease;
}

a:hover {
  text-decoration-color: var(--grey-25, #bbb);
}

/* Bare links (no class) on trust-colored backgrounds */
.surface--trust a:not([class]),
.footer a:not([class]),
.accordion--trust a:not([class]),
.hero-section--content_dark a:not([class]),
.teaser-card-content--trust a:not([class]),
.partner-box--dark a:not([class]),
.about-person--dark a:not([class]),
.expert-card--dark a:not([class]) {
  color: var(--ambience, #ebe6e1);
  text-decoration-color: var(--ambience, #ebe6e1);
}

.surface--trust a:not([class]):hover,
.footer a:not([class]):hover,
.accordion--trust a:not([class]):hover,
.hero-section--content_dark a:not([class]):hover,
.teaser-card-content--trust a:not([class]):hover,
.partner-box--dark a:not([class]):hover,
.about-person--dark a:not([class]):hover,
.expert-card--dark a:not([class]):hover {
  color: var(--attitude, #ffa0fa);
  text-decoration-color: var(--attitude, #ffa0fa);
}

mark.bosch-highlight {
  background-color: var(--attitude, #ffa0fa);
  border-radius: 2px;
  padding: 0 2px;
  color: inherit;
}

:root {
  interpolate-size: allow-keywords; /* allows animation between numeric values and keywords, for example height:0 and height: auto - see: https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/interpolate-size - browser-support is limited tough */
}

/* Smooth scrolling */
@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}
