.contact-header {
  padding: 120px 0;
  text-align: center;
  font-family: var(--font-title);

  --bubble-offset-x: -110px;
  --bubble-offset-y: -90px;
}
@media (max-width: 960px) {
  .contact-header {
    --bubble-offset-x: -75px;
    --bubble-offset-y: -70px;
  }
}
@media (max-width: 767px) {
  .contact-header {
    padding-bottom: 40px;
    --bubble-offset-x: -70px;
    --bubble-offset-y: -60px;
  }
}
@media (max-width: 579px) {
  .contact-header {
    --bubble-offset-x: -50px;
    --bubble-offset-y: -40px;
  }
}
@media (max-width: 479px) {
  .contact-header {
    --bubble-offset-x: -35px;
    --bubble-offset-y: -30px;
  }
}
@media (max-width: 399px) {
  .contact-header {
    --bubble-offset-x: -20px;
    --bubble-offset-y: -20px;
  }
}
.contact-header .content-wrapper {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
}
.contact-header h1 {
  position: relative;
  padding-bottom: 1.5em;
}

.contact-header h1 span {
  display: block;
}
.contact-header h1 .bubble {
  content: '';
  display: block;
  width: min(220px, 20vw);
  aspect-ratio: 1;
  border-radius: 100%;
  position: absolute;
  left: var(--bubble-offset-x);
  top: var(--bubble-offset-y);
  background: linear-gradient(146deg, rgb(var(--color-blue)), rgb(var(--color-mint))) 0 0 no-repeat;
  white-space: nowrap;
  overflow: hidden;
}
.contact-header h1 .bubble-text {
  transform: translate(calc(-1 * var(--bubble-offset-x)), calc(-1 * var(--bubble-offset-y)));
  color: #fff;
}
.contact-header p {
  font-size: min(26px, 4vw);
}
@media (min-width: 768px) {
  .contact-header {
    padding: 0;
  }
  .contact-header .content-wrapper {
    padding: 240px 0 80px;
  }
}

.content-section.--categories {
  padding: 0;
}
.contact-categories {
}
.contact-category {
  padding: 32px 60px;
}
.contact-category .__title {
  font-family: var(--font-title);
  font-size: 35px;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 28px;
}
.contact-category .__title::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 14px;
  width: 80px;
  height: 2px;
  border-radius: 2px;
  background: #000;
}
.contact-category p {
  font-size: 13px;
  color: #000;
}
.contact-category .__button {
  display: block;
  margin-top: 24px;
  width: fit-content;
  padding: 8px 10px;
  padding-left: 36px;
  font-family: var(--font-title);
  font-size: 14px;
  border-radius: 4px;
  background: #fff;
  color: rgb(var(--color-blue));
  position: relative;
}
.contact-category .__button.--email::before,
.contact-category .__button.--web::before {
  content: '';
  display: block;
  height: 100%;
  aspect-ratio: 1;
  background: transparent no-repeat 50% 50%;
  background-size: 26px auto;
  position: absolute;
  left: 2px;
  top: 0;
}
.contact-category .__button.--email::before {
  background-image: url('../images/social/icon-mail.svg');
}
.contact-category .__button.--web::before {
  background-image: url('../images/social/icon-globe.svg');
}

@media (max-width: 767px) {
  .contact-category .__footer {
    overflow: hidden;
    height: 0;
    transition: height 0.3s ease-in-out;
  }
  .contact-category .__footer p {
    display: none;
  }
  .contact-category.--active {
    background: linear-gradient(180deg, rgb(var(--color-blue)), rgb(var(--color-mint)));
    color: #fff;
  }
  .contact-category.--active .__title::before {
    content: '>';
    position: absolute;
    left: -30px;
  }
  .contact-category.--active .__footer {
    height: 64px;
  }
}
@media (min-width: 768px) {
  .contact-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1280px;
    margin: 0 auto;
  }
  .contact-category {
    text-align: center;
    display: flex;
    flex-flow: column;
    padding: 0;
    overflow: hidden;
  }
  .contact-category .__content {
    padding: 80px 40px 32px;
    background: #fff;
    position: relative;
    z-index: 3;
    flex: 1 0 auto;
    background: linear-gradient(180deg, #fff, #fff 50%, rgb(var(--color-blue)) 50%, rgb(var(--color-mint))) 0 0
      no-repeat;
    background-size: 100% 200%;
    background-position: 0 0;
    transition: background-position 0.3s;
  }
  .contact-category .__footer {
    background: #000;
    padding: 32px 40px;
    z-index: 2;
    position: relative;
    transform: translate(0, -110%);
    transition: transform 0.3s;
    margin: 0;
    color: #fff;
  }
  .contact-category .__title {
    padding-bottom: 48px;
  }
  .contact-category .__title::after {
    left: 50%;
    transform: translate(-50%, 0);
    bottom: 22px;
    height: 3px;
  }
  .contact-category p {
    font-size: 18px;
    max-width: 220px;
    margin: 0 auto;
    letter-spacing: 0.04em;
    color: inherit;
  }
  .contact-category .__button {
    margin: 12px auto 0;
    font-size: 18px;
  }
  .contact-category:hover .__content,
  .contact-category:focus .__content {
    /*background: linear-gradient(180deg, rgb(var(--color-blue)), rgb(var(--color-mint))) 0 0 no-repeat;*/
    background-position: 0 100%;
  }
  .contact-category:hover .__title,
  .contact-category:focus .__title {
    color: #fff;
  }
  .contact-category:hover .__footer,
  .contact-category:focus .__footer {
    transform: translate(0, 0);
  }
  .contact-category.--show-footer .__footer {
    transform: translate(0, 0);
  }
}

.fullwidth-image img {
  width: 100%;
}

.ftm-people {
  text-align: center;
}
.ftm-people h3 {
  padding-bottom: 1em;
}
.ftm-people > .content-wrapper > p {
  max-width: 600px;
  margin: 0 auto;
}

.profiles {
  display: grid;
  grid-gap: 40px;
  padding: 48px 0;
  text-align: left;
}
.profile {
}
.profile .__image {
  background: linear-gradient(146deg, #ff6f61 0%, #ffd166 100%) 0% 0% no-repeat;
  background-size: 100% 100%;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 24px;
  aspect-ratio: 1;
  max-width: 400px;
}
.profile .__name {
  position: relative;
  color: rgb(var(--color-blue));
  font-family: var(--font-title);
  letter-spacing: 0.04em;
  padding-bottom: 32px;
}
.profile .__name::after {
  content: '';
  position: absolute;
  display: block;
  left: 0;
  bottom: 15px;
  height: 3px;
  background: #000;
  border-radius: 2px;
  width: 100px;
}
.profile .__title {
  font-weight: 300;
  letter-spacing: 0.04em;
  font-size: 20px;
}
.profile .__social {
  padding-top: 12px;
}
.profile .__social a:not(:hover) img {
  filter: saturate(0) contrast(0) brightness(0);
}

@media (max-width: 679px) {
  .profile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 20px;
    font-size: 18px;
    align-items: center;
  }
  .profile .__title {
    font-size: 18px;
  }
  .profile:nth-child(2n) .__content {
    order: 1;
  }
  .profile:nth-child(2n) .__image {
    order: 2;
  }
}
@media (min-width: 680px) {
  .profiles {
    grid-template-columns: repeat(2, 1fr);
    max-width: 640px;
    margin: 0 auto;
    grid-column-gap: 80px;
  }
  .profile {
    max-width: 260px;
  }
  .profile .__content {
    padding-left: 40px;
  }
}

@media (min-width: 1024px) {
  .profiles {
    grid-template-columns: repeat(6, 1fr);
    max-width: 960px;
  }
  .profile {
    grid-column-end: span 2;
  }
  .profile:nth-child(4):nth-last-child(2) {
    grid-column-start: 2;
  }
}

.content-section.--imprint {
  background: #000;
  color: #fff;
}
.content-section.--imprint h2 {
  text-align: center;
}
.content-section.--imprint span {
  position: relative;
}
.content-section.--imprint h2 span::after {
  content: '';
  display: block;
  width: 0.22em;
  height: 0.22em;
  background: transparent linear-gradient(146deg, rgb(var(--color-blue)), rgb(var(--color-mint))) 0% 0% no-repeat;
  position: absolute;
  right: -0.3em;
  bottom: 24%;
  border-radius: 20px;
}
.imprint-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 0;
  text-align: center;
}
.imprint-content p {
  margin-bottom: 1em;
}
@media (min-width: 600px) {
  .imprint-content {
    text-align: left;
    columns: 2;
    column-gap: 20px;
  }
}
