@font-face {
  font-display: swap;
  font-family: 'Gentium Book Plus';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/gentium-book-plus-v1-latin-regular.eot');
  src: url('../fonts/gentium-book-plus-v1-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/gentium-book-plus-v1-latin-regular.woff2') format('woff2'), url('../fonts/gentium-book-plus-v1-latin-regular.woff') format('woff'), url('../fonts/gentium-book-plus-v1-latin-regular.ttf') format('truetype'), url('../fonts/gentium-book-plus-v1-latin-regular.svg#GentiumBookPlus') format('svg');
}

@font-face {
  font-display: swap;
  font-family: 'Gentium Book Plus';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/gentium-book-plus-v1-latin-700.eot');
  src: url('../fonts/gentium-book-plus-v1-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/gentium-book-plus-v1-latin-700.woff2') format('woff2'), url('../fonts/gentium-book-plus-v1-latin-700.woff') format('woff'), url('../fonts/gentium-book-plus-v1-latin-700.ttf') format('truetype'), url('../fonts/gentium-book-plus-v1-latin-700.svg#GentiumBookPlus') format('svg');
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  font-size: 16px;
}

body {
  color: #fff;
  font-family: 'Gentium Book Plus', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.3em;
  font-weight: 400;
}

#wrapper {
  max-width: 440px;
  margin: 1rem auto;
  border: 1px solid #CBCBCB;
  padding: 0 1rem 1.625rem;
  background: #ed1c24 url(../images/linien.jpg) no-repeat;
  position: relative;
}

header {
  display: flex;
  justify-content: flex-end;
}

.background {
  position: absolute;
  top: 10.5rem;
  right: 0;
  width: 216px;
  height: 89px;
  background: url(../images/background.png) no-repeat;
  color: #000;
  text-align: center;
  padding: 0.625rem 0.875rem 0.375rem 1.75rem;
  line-height: 1;
  font-size: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.background span {
  transform: rotate(-6deg);
  display: inline-block;
  font-weight: 700;
}

.background strong {
  display: block;
}

article p img {
  margin: 0 0.625rem;
  position: relative;
  top: -0.25rem;
}

footer {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 0 0.5rem 0 1rem;
}

footer p {
  flex: 1 1 0;
}

.qrcode {
  position: relative;
}

.qrcode>img {
  position: absolute;
  right: 128%;
  bottom: -0.375rem;
}

strong {
  font-weight: 700;
}

h1 {
  margin: 6.25rem 0 2rem;
  font-weight: 700;
  font-size: 1.9375rem;
  line-height: 2.1875rem;
  padding-left: 1.875rem;
}

h1 small {
  display: block;
}

h1 :is(small, span) {
  font-weight: 400;
  font-size: 1.1875rem;
  line-height: 1.5rem;
}

h1:before {
  content: url(../images/ankommen.png);
  float: left;
  font-size: 1.5rem;
  text-indent: -1.875rem;
}

h2 {
  font-weight: 700;
  font-size: 3.3125rem;
  line-height: 3.4375rem;
  margin: -3.125rem 0 0;
}

h2 span {
  display: block;
  text-align: center;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

:is(a:link, a:visited, a:hover, a:active) {
  color: #000;
  text-decoration: none;
}

@media all and (max-width: 440px) {
  #wrapper {
    margin: 0;
    border: none;
  }

  footer {
    padding: 0;
  }

  p {
    hyphens: auto;
    text-wrap: pretty;
  }

  :is(a, span) {
    white-space: nowrap;
  }

  br:not(.background br) {
    display: none;
  }
}

@media all and (max-width: 424px) {
  header {
    justify-content: center;
  }

  .background {
    top: 14.375rem;
  }

  footer {
    flex-direction: column;
    align-items: center;
  }

  .qrcode>img {
    transform: rotate(45deg);
    top: 1rem;
    bottom: auto;
    right: 110%;
  }

  h2 {
    margin: 0;
    text-align: center;
  }
}