/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

@font-face {
  font-family: 'MaisonNeueDemi';
  src: url('webfonts/MaisonNeueWEB-Demi.woff') format('woff');
}

:root {
  --section-padding: 124px;

  --color-alabaster: #ebf5eb;
  --color-granite-gray: #646464;
  --color-cyber-grape: #504682;
}

body {
  font: normal 16px/1.25 'MaisonNeueDemi', 'Helvetica Neue', Arial, sans-serif;
  color: var(--color-granite-gray);
  letter-spacing: -0.05rem;
  background: var(--color-alabaster);
  -webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: antialiased;
	font-smoothing: antialiased;
}

h1 {
  margin: 0 0 5.5rem auto;
  font-size: 5.25rem;
  font-weight: normal;
  line-height: 1.125;
  letter-spacing: -0.1rem;
  color: var(--color-cyber-grape);
}

h2 {
  margin: 0;
  font-size: 2rem;
  font-weight: normal;
  line-height: 1.125;
  letter-spacing: -0.1rem;
  color: var(--color-cyber-grape);
}

p,
li {
  margin: 0;
  font-size: 1.875rem;
}

#imprint-popup h1 {
  margin-bottom: 3.5rem;
}

#imprint-popup h2 {
  font-size: 1.5rem;
}

#imprint-popup p {
  font-size: 1.25rem;
}

h2 + p {
  margin-top: 2.275rem;
}

#imprint-popup p + h2 {
  margin-top: 2rem;
}

.centered h2 + p.small-text,
#imprint-popup h2 + p {
  margin-top: 0;
}

.margin-top,
ul + h2 {
  margin-top: 4.5rem;
}

ul.small-text li,
.small-text {
  font-size: 1.6125rem;
  line-height: 1.2;
}

ul.small-text li {
  margin-bottom: 1.5rem;
}

.large-text {
  display: block;
  font-size: 3.25rem;
  line-height: 1.1;
  letter-spacing: -0.1rem;
  color: var(--color-cyber-grape);
}

.large-text a[href^=mailto] {
  display: block;
}

p.large-text:not(:last-child) {
  margin-bottom: 2rem;
}

a {
  text-decoration: none;
  color: var(--color-cyber-grape);
}

a[href^=mailto] {
  word-wrap: anywhere;
}

.btn-linkedin {
  white-space: nowrap;
}

.btn-linkedin:after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 28px;
  margin-left: 1rem;
  background: url(../img/LinkedIn_icon.svg);
  background-size: 100%;
}

strong {
  font-weight: normal;
  color: var(--color-cyber-grape);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

ul:not(.lang-nav) {
  margin-top: 2.275rem;
}

blockquote {
  margin: 0;
  font-size: 3.5rem;
  line-height: 1.125;
  letter-spacing: -0.1rem;
  color: var(--color-cyber-grape);
}

blockquote footer {
  display: inline;
  font-size: 1.625rem;
}

section {
  position: relative;
}

section.white {
  box-shadow: 0px 0px 15px 3px rgba(0,0,0,0.2);
  background: #fff;
}

header,
.page > footer,
article {
  box-sizing: border-box;
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 4.375rem var(--section-padding) 4rem;
}

header,
.page > footer,
.wide article {
  max-width: 1600px;
}

header {
  padding: 2.5rem 105px 0 var(--section-padding);
}

header ul.lang-nav {
  position: absolute;
  top: 40px;
  right: var(--section-padding);
}

header ul.lang-nav li a {
  font-size: 1.5rem;
}

.logo {
  width: 559px;
  max-width: 100%;
  height: 154px;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  background: transparent url('../img/GNM_Wortmarke.svg') 0 0 no-repeat;
}

article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}

article .centered {
  width: 840px;
  max-width: 100%;
  margin: 0 auto;
}

article .img-text {
  display: flex;
  flex-direction: row;
  gap: 7.75rem;
  margin-top: 4.5rem;
  margin-left: calc(-1 * var(--section-padding));
  width: calc(100% + var(--section-padding));
}

article .img-text div:first-child {
  flex: 1 0 316px;
}

article .img-text div:first-child img {
  max-width: 100%;
}

.columns article {
  flex-direction: row;
  gap: 2.5rem;
}

.columns article > div {
  flex: 1 1 50%;
}

.columns.white article > div:last-child {
  padding-top: 4.5rem;
}

.columns:not(.white) article > div:first-child {
  padding-top: 4.5rem;
}

.page > footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
}

.page > footer .logo + p {
  margin: -18px 0 0 98px;
}

.page > footer nav ul {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  padding-bottom: 3px;
}

.page > footer nav ul li {
  font-size: 1.3rem;
}

.page > footer nav ul li .btn-linkedin:after {
  width: 32px;
  height: 32px;
}

.tobii__slide .tobii-html {
  max-width: none;
  padding: 0;
}

#imprint-popup {
  position: relative;
  background: #fff;
  padding: 53px 160px 48px;
  width: 940px;
  max-width: 100vw;
}

#imprint-popup h3 {
  margin-top: 2em;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (max-width: 1080px) {
  :root {
    --section-padding: 68px;
  }

  header {
    padding: 4rem var(--section-padding) 0;
  }

  #imprint-popup {
    padding-left: var(--section-padding);
    padding-right: var(--section-padding);
  }
}

@media only screen and (max-width: 990px) {
  .large-text a[href^="mailto"] {
    display: inline;
  }
}

@media only screen and (max-width: 960px) {
  article .img-text {
    gap: 4.25rem;
  }

  .page > footer {
    flex-direction: column;
    padding-bottom: 2rem;
  }

  .page > footer > div {
    align-self: flex-start;
    width: 100%;
  }

  .page > footer nav ul {
    gap: 0.75rem;
  }
}

@media only screen and (max-width: 900px) {
  :root {
    --section-padding: 48px;
  }
}

@media only screen and (max-width: 800px) {
  h1 {
    font-size: 4.438rem;
    line-height: 1.05;
  }

  .large-text,
  blockquote {
    font-size: 2.688rem;
    line-height: 1.0697;
  }

  .margin-top {
    margin-top: 2.25rem;
  }

  article .img-text {
    flex-direction: column;
  }

  article .img-text .large-text {
    padding-left: var(--section-padding);
  }

  .columns article {
    flex-direction: column;
    gap: 0;
  }

  .columns.white article > div:last-child,
  .columns:not(.white) article > div:first-child {
    padding-top: 0;
  }

  .columns h2 {
    margin-top: 4.5rem;
  }

  .columns li:last-child {
    margin-bottom: 0;
  }

  .columns article > div:first-child h2:first-child {
    margin-top: 0;
  }

  .columns article {
    flex-direction: column;
  }
}

@media only screen and (max-width: 660px) {
  .logo {
    width: auto;
    height: 0;
    padding-top: 32%;
  }

  .page > footer .logo + p {
    margin: 0;
  }
}

@media only screen and (max-width: 600px) {
  :root {
    --section-padding: 36px;
  }

  header ul.lang-nav {
    top: 1rem;
  }
}

@media only screen and (max-width: 480px) {
  :root {
    --section-padding: 24px;
  }
}


/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}