/* Basics */
* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  font-size: 0.9375rem;
  line-height: 1.5;
  font-weight: 300;
  color: #555;
}

@media screen and (min-width: 768px) {
    body {
        font-size: 1rem;
    }
}


h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  margin: 0;
  margin-bottom: 1em;
  font-weight: 400;
}

h1,
.h1 {
  font-size: 3rem;
  line-height: 1.5;
}

h2,
.h2 {
  font-size: 1.75rem;
  line-height: 1.2;
}

h3,
.h3 {
  font-size: 1.5rem;
  line-height: 1.3;
}

h4,
.h4 {
  font-size: 1.25rem;
  line-height: 1.4;
}

h5,
h6,
.h5,
.h6 {
  font-size: 1rem;
  font-weight: 600;
}

@media screen and (min-width: 768px) {
  h1,
  .h1 {
    font-size: 2.75rem;
  }

  h2,
  .h2 {
    font-size: 2.25rem;
  }

  h3,
  .h3 {
    font-size: 1.75rem;
  }

  h4,
  .h4 {
    font-size: 1.25rem;
  }
}

p {
  margin: 0 0 1rem;
    line-height: 1.5rem;
}

img {
  width: 100%;
  height: auto;
  display: inline-block;
}

a {
  text-decoration: none;
    color:#e60073;
}
a:hover,
a:focus {
  text-decoration: underline;
}

/* Helfer- und Objektklassen */
.container {
  padding: 1rem 0.75rem;
  max-width: 1400px;
  margin: 0 auto;
}

.max600 {
  max-width: 600px;
  margin: 0 auto;
}

.max800 {
  max-width: 800px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

/* Komponenten */

/* Logo / Header */
.logo {
  margin: 2rem 0;
  text-align: center;
}

.logo img {
  width: 10rem;
}

@media screen and (min-width: 768px) {
  .logo {
    margin: 2rem 0;
  }

  .logo img {
    width: 12rem;
  }
}

.intro-text {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.intro-text h1 {
  font-size: 1.25rem;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .intro-text h1 {
    font-size: 2rem;
  }
}

/* Verlinkungen */

/*ul*/
.page-links {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-flow: wrap;
      flex-flow: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

/*li*/
.page-link {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  width: 100%;
  margin: 0 0 1rem;
  position: relative;
  padding: 0 0.75rem;
  padding-bottom: 11rem;
}

@media screen and (min-width: 768px) {
  /*ul*/
  .page-links {
    margin: 3rem 0;
  }

  /*li*/
  .page-link {
    width: 48%;
    padding: 0 1.5rem;
    padding-bottom: 16rem;
  }
}

.page-link--ruf {
  background-color: #efedfb;
}

.page-link--offaehrte {
  background-color: #e3ecfc;
}

.page-link a {
    display: block;
    width: 100%;
    height: 100%;   
}

.page-link a,
.page-link a:hover,
.page-link a:focus {
  text-transform: none;
  text-decoration: none;
  color: #333;
}

.page-link__logo {
  text-align: center;
  margin-bottom: 1.5rem;
  height: 4.5rem;
}

.page-link__logo img {
  height: 100%;
  width: auto;
}

.page-link--offaehrte .page-link__logo img {
  height: calc(100% - 1rem);
  margin-top: 1rem;
}

@media screen and (min-width: 768px) {
  .page-link__logo {
    height: 5.5rem;
    margin-bottom: 2rem;
  }
}

/* Das Bild absolut im unteren Padding platzieren */
.page-link__image {
  height: 10rem;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background-position: top center;
  background-size: cover;
}

@media screen and (min-width: 768px) {
  .page-link__image {
    height: 15rem;
  }
}

/* Button ebenfalls absolut, unten rechts */
.page-link__button {
  text-align: right;
  background: #e6007e;
  color: #fafafa;
  padding: 1em 1.5em;
  line-height: 1;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  font-weight: 600;
  font-size: 0.875em;
  position: absolute;
  z-index: 1;
  bottom: 1rem;
  right: 1rem;
  cursor: pointer;
  -webkit-box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.1);
          box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.1);
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
}

.page-link__button:hover,
.page-link__button:focus {
  background: #cc0171;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
}

@media screen and (min-width: 768px) {
  .page-link__button {
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

/* Footer */
footer {
  text-align: center;
}

footer a {
  font-size: 95%;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: inherit;
  text-decoration: none;
}

footer a:hover,
footer a:focus {
  color: inherit;
  text-decoration: underline;
}
