/* ================================================
   Lokale Schriften
   ================================================ */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/raleway.woff2') format('woff2');
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/roboto.woff2') format('woff2');
}

@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/roboto-condensed.woff2') format('woff2');
}

/* ================================================
   Reset & Global
   ================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
.row:before, .row:after { content: ""; display: table; }
.row:after { clear: both; }

body {
  background-color: #f9f9f9;
  color: rgba(0, 0, 0, 0.6);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

p { margin: 32px 0; padding: 16px 0; }
p:empty { display: none; }

img { height: auto; max-width: 100%; }

/* ================================================
   Links
   ================================================ */
a, a:link, a:visited {
  color: #00cc99;
  text-decoration: underline;
  word-wrap: break-word;
}
a:hover, a:focus, a:active { color: #006666; }

/* ================================================
   Headings
   ================================================ */
h1, h2, h3, h4, h5, h6 {
  color: #000;
  line-height: 1.1;
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 500;
  margin: 24px 0;
  padding: 0;
}
h1 { font-size: 3rem; letter-spacing: -.1rem; }
h2 { font-size: 2.4rem; letter-spacing: -.08rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.6rem; }

/* ================================================
   Header
   ================================================ */
#header {
  display: flex;
  align-items: center;
  flex-direction: column;
  background-color: #111;
  line-height: 0;
  margin: 0;
  position: relative;
  z-index: 9;
}

/* Titel über dem Bild */
#header-info {
  position: absolute;
  top: 48px;
  z-index: 10;
  text-align: center;
}

.site-info {
  display: block;
  text-align: center;
  padding: 24px 18px;
}

.site-title {
  display: block;
  font-family: 'Raleway', Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 10px;
  margin: 0;
  padding: 0;
}

.site-title a,
.site-title a:link,
.site-title a:visited {
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
}

.site-title a:hover { text-decoration: underline; }

/* Header-Bild */
#custom-header {
  display: block;
  position: relative;
  width: 100%;
  height: 640px;
  background-image: url('../images/header.jpg');
  background-position: center 40%;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

/* Diagonaler Schnitt */
#custom-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 25%;
  margin-bottom: -1px;
  background-color: #f9f9f9;
  -webkit-clip-path: polygon(100% 0, 0% 100%, 100% 100%);
  clip-path: polygon(100% 0, 0% 100%, 100% 100%);
  z-index: 7;
}


/* ================================================
   Content
   ================================================ */
#wrapper, .container { margin: 0; padding: 0; }

.content {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 48px;
  box-sizing: border-box;
}

/* Listen */
ul, ol {
  margin: 6px 0;
  padding: 0 0 0 12px;
}
ul li {
  list-style: inside;
  list-style-type: square;
  margin: 12px 0;
  padding: 0 0 0 12px;
}
ul li p {
  display: inline;
}
ol li {
  list-style: inside;
  list-style-type: decimal;
  margin: 6px 0;
  padding: 0 0 0 12px;
}

/* ================================================
   Footer
   ================================================ */
.footer {
  background: #f4f4f4;
  margin: 0 auto;
  padding: 0;
}

.footer-information {
  padding: 24px 48px;
  text-align: center;
  font-size: 85%;
  opacity: 0.9;
}

.footer-information p {
  margin: 4px 0;
  padding: 0;
  color: rgba(0, 0, 0, 0.6);
}

.footer-information a,
.footer-information a:link,
.footer-information a:visited {
  color: rgba(0, 0, 0, 0.6);
  text-decoration: underline;
}

.footer-information a:hover { color: #000; }

/* ================================================
   Tablet (max 1024px)
   ================================================ */
@media screen and (max-width: 1024px) {
  #header-info {
    top: 0;
    width: 100%;
  }
  .site-info {
    float: left;
    max-width: 80%;
    text-align: left;
  }
  .site-title {
    font-size: 1.6rem;
    letter-spacing: 6px;
    text-align: left;
  }
  #custom-header {
    min-height: 360px;
    height: 360px;
  }
  .footer-information {
    text-align: center;
    padding: 20px;
  }
}

/* ================================================
   Phone (max 767px)
   ================================================ */
@media screen and (max-width: 767px) {
  h1 { font-size: 2rem; letter-spacing: -.06rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.6rem; }

  body, p { font-size: 1.05rem; line-height: 1.6; }

  #custom-header {
    min-height: 260px;
    height: 260px;
  }
  .site-info {
    max-width: 100%;
    padding: 18px;
  }
  .site-title {
    font-size: 1.2rem;
    letter-spacing: 4px;
  }
  .content { padding: 36px 20px; }
}
