:root {
  --blue-dark: #015587;
  --blue: #009dde;
  --link: #80ceef;
  --white: #ffffff;
  --header-h: 98px;
  --content: 1160px;
  --gutter: 3.2%;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--blue-dark);
  color: var(--white);
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  display: block;
}

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

a:hover {
  color: var(--blue);
}

h1,
h2,
h3,
h4 {
  font-weight: 400;
  line-height: 1.4;
  margin: 0 0 0.55em;
}

h1 {
  font-size: 2.5em;
  text-transform: uppercase;
  margin-bottom: 22px;
  overflow-wrap: break-word;
}

h2 {
  font-size: 2em;
  text-transform: uppercase;
}

h2::after {
  content: "";
  display: block;
  width: 115px;
  border-bottom: 1px solid #fff;
  margin-top: 0.775em;
  margin-bottom: 0.9em;
}

h3 {
  font-size: 1.6em;
}

h4 {
  font-size: 1.2em;
  margin-bottom: 0.35em;
}

p {
  margin: 0 0 1.15em;
}

ul {
  margin: 0 0 1.15em;
  padding-left: 1.2em;
}

strong {
  font-weight: 700;
}

.wrap {
  width: var(--content);
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--blue);
  height: var(--header-h);
}

.header-inner {
  width: var(--content);
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: block;
  width: 280px;
  max-width: 80%;
  flex-shrink: 0;
}

.logo img {
  width: 100%;
  height: auto;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
  margin-left: auto;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  position: relative;
  transition: 0.2s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -7px;
}

.menu-toggle span::after {
  top: 7px;
}

body.nav-open .menu-toggle span {
  background: transparent;
}

body.nav-open .menu-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

body.nav-open .menu-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

body.nav-open::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 99;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.2em;
}

.site-nav a {
  display: block;
  color: #fff;
  text-transform: uppercase;
  padding: 2.05em 0.6em;
  letter-spacing: 0.02em;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--blue-dark);
}

.menu-close {
  display: none;
}

main {
  padding-top: var(--header-h);
}

section[id] {
  scroll-margin-top: var(--header-h);
}

/* Sliders */
.slider {
  position: relative;
  overflow: hidden;
  background: #013e63;
}

.slider-track {
  position: relative;
  width: 100%;
}

.slider.hero .slider-track,
.slider.team-slider .slider-track {
  aspect-ratio: 1600 / 620;
  min-height: 280px;
  max-height: 620px;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.slide.is-active {
  opacity: 1;
  z-index: 1;
}

.slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.slider-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.slider-dots button.is-active {
  background: #fff;
}

.hero-mobile {
  display: none;
}

.hero-mobile img {
  width: 100%;
}

/* Sections */
.section {
  padding: 48px 0 20px;
}

.section-tight {
  padding: 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
}

.zeiten {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5em;
}

.zeiten td {
  padding: 2px 20px 2px 0;
  vertical-align: top;
}

.photo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
}

.photo-row img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.portrait-text {
  max-width: 75%;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 38px;
  padding-top: 8px;
  padding-bottom: 40px;
}

.person {
  min-width: 0;
}

.person a {
  color: inherit;
}

.person a:hover .person-name {
  color: var(--link);
}

.person-photo {
  margin: 0 0 14px;
  overflow: hidden;
}

.person-photo img {
  width: 100%;
  aspect-ratio: 362 / 241;
  object-fit: cover;
}

.person-name {
  font-size: 1.3em;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.person-role {
  margin: 0;
  line-height: 1.5;
}

/* Map */
.map {
  width: 100%;
  height: 520px;
  border: 0;
  display: block;
  filter: saturate(0.85) hue-rotate(8deg);
}

/* Footer */
.site-footer {
  background: var(--blue);
  color: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
  padding: 3.8em 20px 2.3em;
}

.site-footer a {
  color: var(--blue-dark);
}

.site-footer a:hover {
  color: #fff;
}

.page-content {
  padding: 48px 0 70px;
}

.page-content .narrow {
  max-width: 100%;
}

.legal p {
  margin-bottom: 1.15em;
}

.back-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 90;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.back-top:hover {
  color: #fff;
  background: var(--blue-dark);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

@media (max-width: 1200px) {
  .menu-toggle {
    display: block;
  }

  .menu-close {
    display: block;
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 101;
    width: min(320px, 86vw);
    height: 100vh;
    background: var(--blue);
    padding: 70px 24px 24px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    box-shadow: none;
  }

  body.nav-open .site-nav {
    transform: translateX(0);
    box-shadow: -12px 0 30px rgba(0, 0, 0, 0.2);
  }

  .site-nav ul {
    flex-direction: column;
  }

  .site-nav a {
    padding: 0.85em 0;
    color: #fff;
  }

  .site-nav a:hover,
  .site-nav a.is-active {
    color: var(--blue-dark);
  }
}

@media (max-width: 900px) {
  .split,
  .photo-row,
  .team-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .portrait-text {
    max-width: 100%;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  h1 {
    font-size: 2em;
  }

  h2 {
    font-size: 1.6em;
  }

  .map {
    height: 360px;
  }
}

@media (max-width: 680px) {
  .hero-desktop {
    display: none;
  }

  .hero-mobile {
    display: block;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .logo {
    width: 220px;
  }

  .section {
    padding: 32px 0 12px;
  }

  .zeiten td {
    padding-right: 12px;
  }
}
