:root {
  --font-family: Calibri, sans-serif;
  --font-size-default: 1rem;
  --primary-color: #306baa;
  --secondary-color: #77b1dc;
  --background-color: #ffffff;
  --interrupt-color: #f0f0f2;
  --text-color: #183655;
  --base-spacing: 1rem;
}

::selection {
  color: var(--interrupt-color);
  background-color: var(--primary-color);
}
::-moz-selection {
  color: var(--interrupt-color);
  background-color: var(--primary-color);
}
::-webkit-selection {
  color: var(--interrupt-color);
  background-color: var(--primary-color);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  margin: 0;
  overflow-y: scroll;
  overflow-x: hidden;
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  margin: 0;
}

p {
  margin: 0;
}

a {
  text-decoration: none;
  cursor: pointer;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.mb-0 {
  margin-bottom: 0;
}
.mb-1 {
  margin-bottom: 16px;
}
.mb-2 {
  margin-bottom: 24px;
}
.mb-3 {
  margin-bottom: 32px;
}
.mb-4 {
  margin-bottom: 48px;
}
.mb-5 {
  margin-bottom: 64px;
}
.mb-6 {
  margin-bottom: 80px;
}
.mb-7 {
  margin-bottom: 120px;
}

.sm-mb-0 {
  @media (max-width: 959px) {
    margin-bottom: 0;
  }
}
.sm-mb-1 {
  @media (max-width: 959px) {
    margin-bottom: 16px;
  }
}
.sm-mb-2 {
  @media (max-width: 959px) {
    margin-bottom: 24px;
  }
}
.sm-mb-3 {
  @media (max-width: 959px) {
    margin-bottom: 32px;
  }
}
.sm-mb-4 {
  @media (max-width: 959px) {
    margin-bottom: 48px;
  }
}
.sm-mb-5 {
  @media (max-width: 959px) {
    margin-bottom: 64px;
  }
}
.sm-mb-6 {
  @media (max-width: 959px) {
    margin-bottom: 80px;
  }
}
.sm-mb-7 {
  @media (max-width: 959px) {
    margin-bottom: 120px;
  }
}

@media (max-width: 959px) {
  .none-mobile {
    display: none !important;
    overflow: hidden !important;
  }
}

@media (min-width: 960px) {
  .none-desktop {
    display: none !important;
    overflow: hidden !important;
  }
}

.section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.section--hero {
  background-attachment: scroll;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100%;
  background-image: url("../images/concrete_background.png");
}

.section--top {
  padding-top: 80px;
}

.section--logos {
  padding-bottom: 80px;
}

.section--logos img {
  opacity: 0.5;
}

.logos-container {
  padding: 0rem 0.5rem 0rem 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.logos-container div {
  flex: 1;
  text-align: center;
  min-width: 120px;
}

.logos-container img {
  opacity: 0.7;
}

@media (min-width: 960px) {
  .section {
    padding-top: 120px;
    padding-bottom: 120px;
  }

  .section--hero {
    padding-top: calc(120px + 85px); /* 85 = navigation height */
    padding-bottom: 120px;
  }

  .section--top {
    padding-top: 120px;
  }

  .no-margin-left {
    margin-left: calc(100% - 50vw);
  }

  .logos-container {
    margin-top: 12rem;
  }
}

@media (max-width: 959px) {
  .logos-container {
    margin-top: 4rem;
  }

  .logos-container div {
    max-width: 120px;
  }

  .section--hero {
    padding-top: 120px;
    padding-bottom: 80px;
  }

  .section--half {
    padding-bottom: 80px;
  }

  .content {
    padding: 0 24px;
  }
}

.bg--gray {
  background-color: var(--interrupt-color);
}

.bg--blue {
  background-attachment: scroll;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  position: relative;
  background-image: url("../images/blue.png");
}

.bg--blue::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  opacity: 0.8;
  z-index: 1;
}

.bg--blue * {
  color: var(--background-color);
}

.bg--blue .button {
  color: var(--primary-color);
  background-color: var(--background-color);
}

.bg--blue .button:active,
.bg--blue .button:hover,
.bg--blue .button:focus {
  background-color: var(--interrupt-color);
}

.title {
  font-size: 2.5rem;
  line-height: 1.2;
}

.headline {
  font-size: 2rem;
  line-height: 1.2;
}

.headline-small {
  font-size: 2rem;
  line-height: 1.2;
}

.body-text {
  font-style: normal;
  line-height: 1.5;
}

.prefix {
  color: var(--primary-color);
  font-size: 1.125rem;
}

.button {
  color: var(--background-color);
  background-color: var(--primary-color);
  font-size: var(--font-size-default);
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
  padding: 14px 42px;
  transition: 0.3s all ease;
}

.button:active,
.button:hover,
.button:focus {
  background-color: var(--text-color);
}

.name {
  color: var(--primary-color);
}

.icon {
  border-radius: 100%;
}

@media (min-width: 960px) {
  .hero .body-text {
    max-width: 85%;
  }

  .title {
    font-size: 3rem;
  }

  .headline {
    font-size: 2.5rem;
  }

  .text--right {
    margin-left: 80px;
  }

  .text--left {
    margin-right: 80px;
    background: rgba(255, 255, 255, 0.2); /* Halbtransparentes Weiß */
    padding: 20px;
    border-radius: 8px;
  }

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

@media (max-width: 959px) {
  .icon {
    width: 100px;
  }

  .admeritia-logo {
    width: 50%;
  }

  .row-spacing {
    margin-bottom: 48px;
  }
}

/* Navigation
----------------------------------------------------------------------------------------------------------------------*/
.navigation {
  color: var(--primary-color);
  background-color: var(--background-color);
  width: 100%;
  position: fixed;
  z-index: 10;
  transition: 0.1s all ease;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 959px) {
  .nav {
    padding: 12px 16px;
  }
}

@media (min-width: 960px) and (max-width: 1599px) {
  .nav {
    padding: 16px 24px;
  }
}

@media (min-width: 1600px) {
  .nav {
    padding: 16px 0;
  }
}

.nav--logo {
  z-index: 10;
}

@media (max-width: 959px) {
  .nav--logo {
    line-height: 28px;
  }
}

.nav--logo img {
  width: 130px;
  height: auto;
}

/* Hamburger menu
----------------------------------------------------------------------------------------------------------------------*/
.nav--icon {
  width: 28px;
  height: 28px;
  z-index: 10;
}

@media (min-width: 1200px) {
  .nav--icon {
    display: none;
    visibility: hidden;
  }
}

.nav--icon.is-active .nav--line {
  background-color: var(--primary-color);
  transform: rotate(45deg) translateZ(0);
}

.nav--icon.is-active .nav--line:last-child {
  transform: rotate(-45deg) translateZ(0);
}

.nav--icon .nav--line {
  width: inherit;
  height: 2px;
  background-color: var(--primary-color);
  top: 50%;
  position: absolute;
  transform: translateY(-3.75px) translateZ(0);
  transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1),
    background-color 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav--icon .nav--line:last-child {
  transform: translateY(3.75px) translateZ(0);
}

/* Fullscreen overlay navigation
----------------------------------------------------------------------------------------------------------------------*/
@keyframes fadeInTop {
  0% {
    opacity: 0;
    bottom: 20%;
  }
  100% {
    opacity: 1;
    bottom: 0;
  }
}

body.no-scroll {
  overflow: hidden;
}

@media (max-width: 1199px) {
  .nav--overlay {
    position: fixed;
    background-color: #fafafa;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    visibility: hidden;
    transition: visibility 0.5s, height 0.5s;
    overflow: hidden;
    z-index: 8;
  }
}

.nav--overlay.open {
  opacity: 1;
  visibility: visible;
  height: 100%;
}

.nav--overlay.open .nav--menu {
  animation: fadeInTop 0.3s ease forwards;
  animation-delay: 0.3s;
}

ul.nav--menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 1199px) {
  ul.nav--menu {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 200px;
    opacity: 0;
  }
}

@media (min-width: 1200px) {
  ul.nav--menu li {
    display: inline-block;
    margin-left: 48px;
  }
}

.nav--menu--link {
  color: var(--primary-color);
  text-transform: uppercase;
  font-weight: 600;
  display: block;
}

@media (max-width: 1199px) {
  .nav--menu--link {
    font-size: var(--font-size-default);
    padding: 12px 0;
  }
}

@media (min-width: 1200px) {
  .nav--menu--link {
    color: var(--primary-color);
    border-bottom: 1px solid transparent;
  }

  .nav--menu--link:active,
  .nav--menu--link:hover,
  .nav--menu--link:focus {
    color: var(--text-color);
  }
}

/* Accordion
----------------------------------------------------------------------------------------------------------------------*/
.accordion .accordion-item {
  border-bottom: 1px solid var(--text-color);
}

.accordion button {
  color: var(--text-color);
  position: relative;
  display: block;
  font-size: var(--font-size-default);
  text-align: left;
  width: 100%;
  padding: 16px 24px 16px 0;
  border: none;
  background: none;
  outline: none;
}

.accordion button:hover,
.accordion button:active {
  cursor: pointer;
  color: var(--secondary-color);
}

.accordion button:hover::after,
.accordion button:active::after {
  cursor: pointer;
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
}

.accordion button .accordion-title {
  font-family: var(--font-family);
  font-weight: 600;
}

.accordion button .icon {
  display: inline-block;
  position: absolute;
  top: 18px;
  right: 0;
  width: 24px;
  height: 24px;
}

.accordion button .icon::before,
.accordion button .icon::after {
  display: block;
  position: absolute;
  content: "";
  background: currentColor;
}

.accordion button .icon::before {
  top: 9px;
  left: 4px;
  width: 12px;
  height: 2px;
}

.accordion button .icon::after {
  top: 4px;
  left: 9px;
  width: 2px;
  height: 12px;
}

.accordion button[aria-expanded="true"] .icon::after {
  width: 0;
}

.accordion button[aria-expanded="true"] + .accordion-content {
  opacity: 1;
  max-height: 15em;
  transition: all 200ms linear;
  will-change: opacity, max-height;
}

.accordion .accordion-content {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 200ms linear, max-height 200ms linear;
  will-change: opacity, max-height;
}

.accordion .accordion-content .body-text {
  padding: 0 24px 48px 0;
}

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

.nav a.active {text-decoration: underline; color: #306baa;}
.sprache-button {font-weight: 600; color: #4a4a4a;}
 


/* Footer
----------------------------------------------------------------------------------------------------------------------*/
.footer {
  color: var(--secondary-color);
  background-color: #0d1e2e;
  padding: 32px 0;
}

.footer a {
  color: var(--secondary-color);
}

.footer a:first-child {
  margin-right: 24px;
}

.footer--row {
  @media (max-width: 959px) {
    margin-bottom: 16px;
  }
}

.footer--end {
  @media (min-width: 960px) {
    text-align: right;
  }
}
