@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-v30-latin-regular.eot');
  src: url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v30-latin-regular.woff') format('woff'), url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v30-latin-regular.svg#Roboto') format('svg');
}

@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/roboto-v30-latin-700.eot');
  src: url('../fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), url('../fonts/roboto-v30-latin-700.woff') format('woff'), url('../fonts/roboto-v30-latin-700.ttf') format('truetype'), url('../fonts/roboto-v30-latin-700.svg#Roboto') format('svg');
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  font-size: 16px;
}

body {
  color: #080046;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5em;
  font-weight: 400;
}

#wrapper {
  max-width: 410px;
  margin: 16px auto;
  border: 1px solid #000;
  background-color: #fff;
  position: relative;
}

header {
  padding: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 16px;
  background: #f59c00;
}

article {
  padding: 16px 16px 0;
}

article p {
  text-align: justify;
  hyphens: auto;
  font-size: 20px;
  margin: 0 0 16px;
}

.mitarbeiter {
  margin: 0 0 0 -16px;
  position: relative;
}

footer {
  padding: 16px;
  margin: 0 16px 16px;
  background: #080046;
}

.mail {
  display: flex;
  justify-content: center;
  position: relative;
  margin: 16px 0 10px;
}

.mail strong {
  text-align: center;
  font-size: 18px;
  background: #f99d1c;
  padding: 22px;
  border-radius: 32px;
}

.mail:before {
  content: url(../images/pfeil.png);
  position: absolute;
  top: -18px;
}

footer p {
  text-align: center;
  color: #fff;
}

footer p a {
  color: #fff !important;
}

p:not(:last-of-type) {
  margin: 0 0 6px;
}

strong {
  font-weight: 700;
}

h1 {
  font-weight: 700;
  font-size: 25px;
  line-height: 1.2;
  position: absolute;
  top: 2%;
  right: 0;
  left: 16px;
  text-align: center;
}

h2 {
  font-weight: 400;
  font-size: 25px;
  line-height: 30px;
  text-align: center;
}

h3 {
  margin: 0 0 16px;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
}

h4 {
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  text-align: center;
  color: #fff;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

:is(a:link, a:visited, a:hover, a:active) {
  color: #080046;
  text-decoration: none;
}

@media all and (max-width: 410px) {
  #wrapper {
    margin: 0;
    border: none;
  }

  article p {
    text-align: center;
  }

  .mail a {
    white-space: normal !important;
    word-break: break-all;
  }

  :is(p, ul) {
    hyphens: auto;
    text-wrap: pretty;
  }

  h1 {
    font-size: 6vw;
  }

  :is(a, span) {
    white-space: nowrap;
  }

  br:not(footer br) {
    display: none;
  }
}

@media all and (max-width: 767px) {
  .flex {
    display: block;
  }

  .flex section {
    width: 100%;
  }
}