@charset "utf-8";

:root {
  font-size: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  color: #333;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.3;
  background: #fff url(../images/hintergrund.jpg) no-repeat top center;
  background-size: cover;
  font-weight: 400;
}

img {
  max-width: 100%;
  height: auto;
}

#wrapper {
  position: relative;
  max-width: 50rem;
  margin: 1rem auto;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.2);
}

:is(a:link, a:visited, a:hover, a:active) {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

h1 {
  font-size: 1.7rem;
  margin: 1rem 0;
}

h2 {
  font-size: 1.25rem;
  color:#e10e03;
  margin: 2rem 0 .625rem;
}

a.link {
    text-decoration: underline;
    font-weight: 700;
}
a.link:hover {
    text-decoration: none;
    color: #e10e03;
}

a.web {
  color: #e10e03;
}
a.web:hover {
  text-decoration: underline;
}

p {
  margin: 0 0 1rem;
}

span {
  white-space: nowrap;
}

ul {
  margin: 1rem 0 1rem 1rem;
}

ul li::marker {
  color: #e10e03;
}

article {
  padding: 2rem 3rem;
}

footer {
  padding: 0 3rem 2rem;
}

.button {
    display: flex;
    margin: 3rem 0 2rem;

}
a.apply {
    border: 1px solid #e10e03;
    background-color: #e10e03;
    padding: 0.75rem 3.5rem;
    font-weight: 700;
    color: #fff;
}
a.apply:hover {
    background-color: #fff;
    color: #e10e03;
}

@media only screen and (max-width: 49.937rem) {
  #wrapper {
    border: none;
    margin: 0 auto;
}

  p,
  ul {
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
  }

  h1 {
    font-size: 1.5rem;
  }

  article {
    padding: 1rem;
  }

  footer {
    padding: 0 1rem 1rem;
  }
}
