/* ----- 	Reset  ----- */

* {
    margin: 0;
    padding: 0;
}

.invisible {
    display: none;
}

sub, sup {
    font-size: 0.7em;
    line-height: 0.5;
}

img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin-top: 0.7rem;
  margin-bottom: 2rem;
}


/* ----- 	Layout  ----- */

header, #container, #footer .inside, .navi.main,
.mod_article, .kasten p {
  margin-left: auto;
  margin-right: auto;
}

header, #container, #footer .inside {
  max-width: 1600px;
  position: relative;
}

.mod_article {
  max-width: 1200px;
  overflow: hidden;
}

.mod_article.overflow-initial {
  overflow: initial;
}

.mod_article.clear-both {
  clear: both;
  padding-top: 2rem;
}

#container, .navi.main {
  width: 90%;
}


/* ----- 	Image Replacement  ----- */

#navitoggle, #naviclose {
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}


/* ----- 	Content  ----- */

video {
  width: 100%;
  height: auto;
}

.teaser .mod_newslist h2 {
  font-size: 1rem;
  margin-top: 0.625rem;
}

.teaser .mod_newslist > h2 {
  font-size: 1.6rem;
  margin-top: 0.4rem;
  margin-left: -0.03em;
  padding-bottom: 0.15rem;
}

.teaser .ce_hyperlink + .mod_newslist {
  padding-top: 1.6rem;
}

.teaser .mod_newslist p.more {
  display: none;
}

.mod_newslist.newslist-news .layout_full {
  position: relative;
}

.mod_newslist.newslist-news .ce_text.aside h2 a:after {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  content: "";
}

.mod_newslist.newslist-news .ce_text:not(.aside) {
  position: relative;
  z-index: 10;
}

.mod_newslist.shrink .layout_full {
  position: relative;
  max-height: 60vh;
  transition: max-height 2s cubic-bezier(.03,.81,.06,.98)
  ;
}

.mod_newslist.shrink .layout_full.open {
  max-height: 10000px;
  transition: max-height 1s cubic-bezier(.77,.01,.98,.34);
}

.mod_newslist.shrink .layout_full:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 100%;
  min-height: 60vh;

  background-image:
    url("css-img/chevron-down_000-15proz.svg"),
    linear-gradient(0deg,
      rgba(255, 255, 255, 1) 0rem,
      5rem,
      rgba(255, 255, 255, 0) 7rem
      );
  background-repeat: no-repeat;
  background-position: 50% 98%;
  background-size: 1.5rem, 100%;

  cursor: pointer;
}

.mod_newslist.shrink .layout_full.open:after {
  height: 0;
  min-height: 0;
  background-image: none;
}

#container::after {
  content: "";
  display: block;
  clear: both;
}

.mod_newslist .layout_full {
  clear: both;
  overflow: hidden;
  padding-top: 0.5rem;
}

.aside {
  margin-bottom: 1.25rem;
}

@media (min-width: 801px) {
  .aside,
  #auch-ich .widget.welche-anstalt {
    float: left;
    width: 25.8%;
    clear: both;
    margin-right: 3.33%;
  }

  .aside,
  #auch-ich textarea.welche-anstalt {
    text-align: right;
  }

  aside {
    margin-top: -0.05rem;
  }

  .aside h2, h2.aside {
    margin-top: 0.55rem;
  }

  .ce_text:not(.aside):not(.kasten),
  .teaser .mod_newslist,
  #auch-ich .widget.statement,
  .newslist-statements p.back, .newslist-news p.back,
  .ce_hyperlink,
  .ce_form.newsletterabo,
  .navi.statement-kategorien,
  .ce_downloads, .ce_download,
  .ce_player
   {
    float: right;
    width: 70.83%;
  }

  h1.ce_headline, h2.ce_headline:not(.aside), .mod_newslist h1, .mod_newsreader h1,
  .mod_newslist p.info, .mod_newsreader p.info,
  #auch-ich textarea.ueberschrift {
    text-align: center;
  }
}

@media (max-width: 800px) {
  .ce_text:not(.aside) + .ce_text.aside,
  .ce_text:not(.aside) + .ce_headline.aside {
      margin-top: 1.15rem;
  }
  .ce_form.newsletterabo {
    width: 100%;
  }
}

.newslist-statements h1:before, .newslist-statements p:last-child:after {
  font-family: SourceSerifPro;
  font-weight: bold;
  font-size: 2.3rem;
  line-height: 0.3;
  opacity: 0.15;
}

.newslist-statements h1:before {
  content: '„';
}

.newslist-statements .ce_text:not(.aside) p:last-child:after {
  position: absolute;
  content: '“';
  margin-left: 0.03rem;
  margin-top: 0.6rem;
}

.mod_newslist p.info {
  margin-top: -0.4rem;
}

.mod_newsreader p.info {
  margin-top: -1rem;
}



.kasten {
  clear: both;
  display: inline-block;
  margin-top: 1.8rem;
  margin-bottom: 1.1rem;
  padding-top: 0.1rem;
  padding-bottom: 0.6rem;
}

@media (min-width: 800px) {
  .kasten p {
    width: 75%;
    text-align: center;
  }
}

.pagination {
  clear: both;
  padding-top: 3.5rem;
  text-align: center;
}

.pagination li {
  display: inline-block;
  margin-left: 2.5%;
  margin-right: 2.5%;
  padding-top: 0.7rem;
}

/* .pagination ul li:not(:first-child) {
  margin-left: 5%;
} */

.pagination li.first a, .pagination li.last a,
.pagination li.previous a, .pagination li.next a {
  font-size: 0;
}

.pagination li.first a:before, .pagination li.last a:before,
.pagination li.previous a:before, .pagination li.next a:before {
  font-size: 1rem;
  letter-spacing: -0.05em;
}

.pagination li.first a:before {
  content: "<<"
}

.pagination li.last a:before {
  content: ">>"
}

.pagination li.previous a:before {
  content: "<"
}

.pagination li.next a:before {
  content: ">"
}

.pagination li a {
  display: inline-block;
  padding: 0.2rem 0;
  border-width: 1px;
  text-align: center;
}

.pagination li a, .pagination li strong.active {
  width: 1.7rem;
}

/* .pagination li a.previous, .pagination li a.next {
  width: 8em;
} */


/* ----- 	Formular  ----- */

.ce_form, .erklaerung-vertraulich {
  clear: both;
  display: inline-block;
}

.ce_form {
  margin-top: 3rem;
  transform: scale(1.05);
}

.ce_form form, .mod_login form {
  padding-top: 1%;
  padding-bottom: 2%;
  transform: scale(0.952);
}

.ce_form form#newsletterabo {
  padding-top: 1.4rem;
  padding-bottom: 1.5rem;
}

.ce_form textarea, .ce_form input:not(.checkbox),
.mod_login input {
  padding: 12px 20px;
  margin: 2px;
}

.ce_form textarea, .ce_form input:not(.checkbox):not(.captcha):not(.submit),
.mod_login input {
  width: 99%;
  width: calc(100% - 46px);
  margin-bottom: 2rem;
}

.ce_form.newsletterabo input#ctrl_10,
.ce_form.newsletterabo input#ctrl_40 {
  margin-bottom: 0;
}

.ce_form .widget-captcha {
  margin-top: 2rem;
}

.ce_form .widget-captcha label {
  display: none;
}

.ce_form input.captcha {
  width: 2em;
  text-align: center;
}

.ce_form .erklaerung-vertraulich {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.ce_form .widget, .mod_login .widget {
  position: relative;
}

.ce_form label, .mod_login label {
  position: absolute;
  top: -0.84em;
  left: 0.07em;
  padding-right: 0.2em;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
}

.ce_form label span.mandatory {
  display: none;
}

.ce_form label.mandatory:after {
  content: "*";
  position: absolute;
  top: 0;
  right: -0.3em;
}

.ce_form fieldset label {
  position: static;
}

.ce_form textarea, .ce_form input, .mod_login input {
  border-width: 1px;
}

.ce_form fieldset {
  border-width: 0;
}

.ce_form fieldset span {
  display: block;
}

.ce_form fieldset label {
  font-size: 1rem;
}

.ce_form input.checkbox {
  height: 0.79rem;
  margin-right: 0.3rem;
}

.ce_form button.submit, .mod_login button.submit,
.ce_form input.submit {
  margin-top: 2.5rem;
}


/* ----- 	Navi  ----- */

.navi.main ul, .navi.sub ul {
  padding-top: 1rem;
  text-align: right;
}

.navi.main li, .navi.sub li {
  display: inline-block;
}

.navi.main li:not(:first-child) {
  margin-left: 2.4%;        /* 4.5% */
}

.navi.sub li:not(:first-child) {
  margin-left: 4%;
}

.navi.main a.auch-ich, .navi.main strong.auch-ich,
.ce_form button.submit, .mod_login button.submit,
.ce_form input.submit {
  display: inline-block;
  min-width: 12em;
  padding: 0.2rem 0;
  border-width: 0.5px;
  text-align: center;
}

.navi.sub {
  position: absolute;
  top: 50%;
  right: 5%;
  width: 70%;
  margin-top: -1.5em;
  padding-bottom: 0.5rem;
}

/* ----- 	Mobilnavi  ----- */

#header {
  z-index: 5;
}

.custom {
  position: relative;
  z-index: 10;
}

#navitoggle, #naviclose {
  display: none;
  position: absolute;
  top: 0.7rem;
  right: 4%;
  width: 1.6rem;
  height: 1.8rem;
}

#navitoggle {
    background-image: url("css-img/Burger.svg");
}

#naviclose {
    background-image: url("css-img/Closer.svg");
    z-index: 10;
}

@media (min-width: 1001px) {
  #mobilnavi {
    display: none;
  }
}

@media (max-width: 1000px) {
  .navi.main, .navi.sub {
    display: none;
  }

  #navitoggle {
    display: block;
    position: fixed;
  }

  #mobilnavi, #naviclose {
    -webkit-transform: scaleY(0);
    transform: scaleY(0);
    opacity: 0;
    -webkit-transition: transform 0s 0.5s, opacity 0.5s;
    transition: transform 0s 0.5s, opacity 0.5s;
  }

  #mobilnavi {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    font-size: 1.2rem;
    text-align: center;
  }

  body.active {
    position: fixed;
  }

  body.active #mobilnavi, body.active #naviclose {
    display: block;
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
    opacity: 1;
    -webkit-transition: transform 0s 0s, opacity 0.5s;
    transition: transform 0s 0s, opacity 0.5s;
  }

  .navi.mobil ul {
    display: inline-block;
    margin-top: 1.1rem;
    text-align: left;
  }

  .navi.mobil li {
    list-style-type: none;
  }

  .navi.mobil li,
  .navi.mobil li.sub + li.sub {
    margin-top: 1rem;
  }

  .navi.mobil li.sub {
    font-size: 1rem;
    margin-top: 2rem;
  }

  /* .navi.mobil strong {
    letter-spacing: -0.016em;
  } */

  .navi.mobil li.auch-ich {
    padding-bottom: 1rem;
  }

}

.navi.statement-kategorien {
  display: none;
}


/* ----- 	Logo  ----- */

.logo {
  display: inline-block;
  /* min-width: 24.375%; */
  text-align: center;
  padding:0.5rem 3.8% 0.3rem;
}

.logo a {
  text-decoration: none;
}

@media (min-width: 801px) {
  header .logo {
    margin-top: 0.9rem;
  }
}

#mobilnavi .logowrapper {
  text-align: left;
}


/* ----- 	Footer  ----- */

footer {
  margin-top: 5rem;
  padding-bottom: 1px;
}

/* ----- 	Farben  ----- */

html {
  color: #000;
}

@media (min-width: 801px) {
  html {
    border-top: 8px solid #f00;
  }
}

body, #mobilnavi .logo, .mod_login label {
  background-color: #fff;
}

.ce_form, .ce_form label, .ce_form textarea, .ce_form input {
  background-color: #fafbfb;
}


a {
  color: #000;
}

.aside h2, .aside h2 a, h2.aside,
a:hover, a:focus, a:active,
#mobilnavi .logo a, .navi.main a.auch-ich,
#auch-ich textarea.welche-anstalt,
p.error, p.back a, .ce_hyperlink a,
.teaser-statements .newslist-statements h5 a,
.ueberschrift-rot h1, .ueberschrift-rot h2
 {
  color: #f00;
}

.logo a,
.logo a:hover, .logo a:focus, .logo a:active,
.navi.main a.auch-ich:hover, .navi.main a.auch-ich:focus,
.navi.main a.auch-ich:active,
.pagination li a:hover, .pagination li a:focus, .pagination li a:active,
.navi.sub a, .navi.sub strong,
#mobilnavi a, #mobilnavi strong,
.ce_form button.submit, .mod_login button.submit,
.ce_form input.submit {
  color: #fff;
}

#mobilnavi strong {
  opacity: 0.5;
}

html, footer, header .logo, #mobilnavi,
.navi.main a.auch-ich:hover, .navi.main a.auch-ich:focus,
.navi.main a.auch-ich:active,
.pagination li a:hover, .pagination li a:focus, .pagination li a:active,
.ce_form button.submit, .mod_login button.submit,
.ce_form input.submit  {
  background-color: #f00;
}

.navi.main a.auch-ich, .navi.main strong.auch-ich {
  border-style: solid;
}

.pagination li a,
.kasten,
.ce_form textarea, .ce_form input, .mod_login input {
  border-style: dotted;
}

.navi.main a.auch-ich, .navi.main strong.auch-ich,
.pagination li a,
.kasten,
.ce_form textarea, .ce_form input, .mod_login input {
  border-color: #ccc;
}

.navi.main a.auch-ich {
  border-color: #f00;
}

.navi.main a.auch-ich, .navi.main strong.auch-ich,
.pagination li a,
.ce_form button.submit, .mod_login button.submit,
.ce_form input.submit {
  border-radius: 100px;
}

.ce_form button.submit, .mod_login button.submit,
.ce_form input.submit {
  border-width: 0;
  box-shadow: 0 0.1rem 0.2rem hsla(0, 0%, 0%, 0.3);
}

.ce_form button.submit:active, .ce_form input.submit:active {
  box-shadow: inset 0 0.1rem 0.3rem hsla(0, 0%, 0%, 0.3);
}


/* ----- 	Typo  ----- */

html, textarea {
  font-family: SourceSerifPro, Helvetica, sans-serif;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: none;
}

html, .aside h2, h2.aside, h3,
#auch-ich textarea.welche-anstalt,
#auch-ich textarea.statement, input {
  font-size: 21px;
  line-height: 1.3;
}

@media (max-width: 1600px) {
  html, .aside h2, h2.aside, h3,
  #auch-ich textarea.welche-anstalt,
  #auch-ich textarea.statement, input {
    font-size: calc(0.234vw + 17.25px);
  }
}

.ce_form button.submit, .mod_login button.submit,
.ce_form input.submit {
  font-size: 1.2rem;
}

#container h1, #auch-ich textarea.ueberschrift,
h2, h3, .ce_text.aside strong,
.navi .active strong,
.pagination strong,
.ce_form button.submit, .mod_login button.submit,
.ce_form input.submit {
  font-family: SourceSansPro-SemiBold;
  font-weight: normal;
}

#container h1, #auch-ich textarea.ueberschrift {
  line-height: 1.1;
  letter-spacing: -0.01em;
}

#container .mod_newslist h1, #auch-ich textarea.ueberschrift {
  font-size: 1.6rem;
}

#container .mod_newslist h1, #container .mod_newsreader h1,
#auch-ich textarea.ueberschrift {
  margin-bottom: 0.5em;
  margin-left: -0.04em;
}

#container h1,
#container .inside:first-child .ce_text:first-child p:first-child,
#container .inside:first-child .teaser h1,
.mod_login.login {
  margin-top: 4rem;
}

#container .teaser h1 {
  margin-top: 3rem;
}

#container .mod_newslist h1 {
  margin-top: 0;
}

#container .mod_newslist .layout_full,
.teaser {
  padding-bottom: 3rem;
  border-bottom: 1px solid hsla(0, 0%, 0%, 0.1);
}

.teaser:last-child {
  border-bottom-width: 0;
}

#container .mod_newslist .layout_full {
  margin-top: 2.5rem;
}

.mod_newslist .layout_full h1 a, .mod_newslist .layout_short h2 a,
.teaser .mod_newslist .layout_short p a {
  text-decoration: none;
}

.mod_newslist .layout_full h1 a:hover, .mod_newslist .layout_full h1 a:focus, .mod_newslist .layout_full h1 a:active,
.mod_newslist .layout_short h2 a:hover, .mod_newslist .layout_short h2 a:focus, .mod_newslist .layout_short h2 a:active,
.teaser .mod_newslist .layout_short p a:hover, .teaser .mod_newslist .layout_short p a:focus, .teaser .mod_newslist .layout_short p a:active {
  text-decoration: underline;
}

#container .ce_text h1, #container h1.ce_headline {
  font-size: 2.9rem;
  line-height: 0.9;
  letter-spacing: -0.015em;
  margin-left: -0.04em;
  text-transform: uppercase;
}

#container .teaser:not(.big-h) .ce_text h1 {
  font-size: 2rem;
  margin-top: 3rem;
  letter-spacing: -0.007em;
}

@media (max-width: 800px) {
  #container h1 {
    margin-top: 2rem;
  }
}

@media (max-width: 1600px) {
  #container h1, #auch-ich textarea.ueberschrift {
    font-size: calc(1.836vw + 23.13px);
  }

  #container .mod_newslist h1, #auch-ich textarea.ueberschrift {
    font-size: calc(0.59vw + 24.1px);
  }
}

.ce_text:not(.aside) h2 {
  font-size: 1.35rem;
  line-height: 1;
  margin-top: 0.5rem;
  padding-bottom: 0.1rem
}

p, h3, .ce_text ul, form ul, textarea, fieldset {
  margin-top: 0.625rem;
}

.newslist-statements p.back, .newslist-news p.back,
.newslist-newsletter + .ce_hyperlink {
  margin-top: 2rem;
}

.newslist-newsletter p.back {
  display: none;
}

.ce_hyperlink {
  margin-top: 1rem;
}

.newslist-statements p.back a:before, .newslist-news p.back  a:before,
.teaser-statements .newslist-statements h5 a:after, .ce_hyperlink a:after {
  font-size: 1.2em;
  line-height: 0.5;
}

.newslist-statements p.back a:before, .newslist-news p.back a:before {
  content: "« ";
}

.ce_hyperlink a:after, .teaser-statements .newslist-statements h5 a:after {
  content: " \00BB"
}

form button {
  margin-top: 1.25rem;
}

.logo {
  font-family: SourceSerifPro-SemiBold;
  font-size: 1.85rem;
  line-height: 1.25;
  font-weight: normal;
}

@media (max-width: 1600px) {
  .logo {
    font-size: calc(1.184vw + 19.91px)
  }
}

.ce_text strong, .kasten {
  letter-spacing: 0.01em;
}

.kasten {
  font-family: SourceSerifPro-SemiBoldItalic;
  font-size: 1.1rem;
  border-width: 1px 0;
}

.kasten em, p.info, .info-inline  {
  font-family: SourceSerifPro-Italic;
  font-size: 0.81rem;
  font-style: normal;
}

.kasten em {
  display: block;
  line-height: 1.2;
}

#container ul li, #container ol li {
  margin-left: 1em;      /* 5% */
  padding-left: 0.1em;
}

#container ul li + li, #container ol li + li {
  padding-top: 0.2rem
}

.navi.main li, .navi.sub li,
.pagination, .aside, #mobilnavi,
.ce_form label, .mod_login label, .ce_form legend,
.ce_form input, .mod_login input, .ce_form .explanation,
.newslist-statements p.back, .newslist-news p.back, .teaser-statements .newslist-statements h5,
.ce_hyperlink {
  font-family: SourceSansPro-Light;
}

.navi.main li, .navi.sub li,
.newslist-statements p.back, .newslist-news p.back, .teaser-statements .newslist-statements h5,
.ce_hyperlink {
  letter-spacing: 0.01em;
  word-spacing: 0.1em;
  text-transform: uppercase;
}

.navi.main li a, .navi.sub li a, #mobilnavi li a,
.pagination li a {
  text-decoration: none;
}

.navi.main a.auch-ich:hover, .navi.main a.auch-ich:focus,
.navi.main a.auch-ich:active,
.pagination li a:hover, .pagination li a:focus, .pagination li a:active,
.navi.sub li,
.navi.mobil li {
  font-weight: bold;
  letter-spacing: -0.01em;
}

a, a:before, a:after {
  -webkit-transition: 0.2s ease-out;
  transition: 0.2s ease-out;
}

h2.ce_headline:not(.aside) {
  line-height: 1.1;
  margin-top: 0.1em;
}

.aside h2, h2.aside,
#auch-ich textarea.welche-anstalt,
.ce_form .erklaerung-vertraulich {
  font-family: SourceSansPro-SemiBold;
  font-weight: normal;
}

.aside h2, h2.aside,
#auch-ich textarea.welche-anstalt {
  text-transform: uppercase;
}

.newslist-news .aside h2, .newslist-news h2.aside {
  text-transform: none;
}

.aside h2, h2.aside {
  margin-bottom: 0;
}

#auch-ich textarea.welche-anstalt {
  margin-bottom: 2rem;
}

.aside h2 + p, h2.aside + p {
  margin-top: 0;
}

h4 {
  font-size: 1.1rem;
  font-weight: normal;
  margin-top: 1rem;
}

.teaser-statements .newslist-statements h5 {
  font-size: 1rem;
  font-weight: normal;
  margin-top: 0.65rem;
}

.teaser-statements .newslist-statements + .newslist-statements {
  margin-top: 1.36rem;
}


/* ----- 	Fonts standard  ----- */

@font-face {
    font-family: 'SourceSerifPro';
    src: url('fonts/SourceSerifPro-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SourceSerifPro';
    src: url('fonts/SourceSerifPro-SemiBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'SourceSerifPro';
    src: url('fonts/SourceSerifPro-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'SourceSerifPro';
    src: url('fonts/SourceSerifPro-SemiBoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}

/* ----- 	h1, h2, aside h2, Navi active  ----- */
@font-face {
    font-family: 'SourceSansPro-SemiBold';
    src: url('fonts/SourceSansPro-SemiBold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* ----- 	Navi + aside  ----- */
@font-face {
    font-family: 'SourceSansPro-Light';
    src: url('fonts/SourceSansPro-Light.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* -----   	Logo   ----- */
@font-face {
    font-family: 'SourceSerifPro-SemiBold';
    src: url('fonts/SourceSerifPro-SemiBold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* -----   	Kasten   ----- */
@font-face {
    font-family: 'SourceSerifPro-SemiBoldItalic';
    src: url('fonts/SourceSerifPro-SemiBoldItalic.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SourceSerifPro-Italic';
    src: url('fonts/SourceSerifPro-Italic.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
