/* Base */
* {
  border: 0;
  margin: 0;
  padding: 0;
}

html {
  /*
   * Prevent iOS and IE text size adjust after device orientation change,
   * without disabling user zoom.
   *
   */
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  /*overflow-y: scroll;*/
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
  will-change: all;
}

body {
  background: #fff;
  color: #1a171b;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -moz-font-feature-settings: "liga" on;
  overflow-x: hidden;
}

a {
  background: inherit;
  color: #bf253b;
  text-decoration: none;
}

  .baeder a,
  .energie a {
    color: #f59b00;
  }

  .verkehr a,
  .telekommunikation a {
    color: #006fb4;
  }

a:hover, a:focus, a:active {
  background: inherit;
  color: #1a171b;
  -webkit-text-decoration-skip: ink;
  text-decoration-skip: ink;
}

p + p,
ul + p {
  margin: 1rem 0 0;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
  width: 100%;
}

.auto img {
  width: auto;
  margin: 0 auto;
}

figcaption {
  padding-top: .25rem;
}

ul {
  list-style: square inside;
}

.text ul {
  list-style: none;
}

.text ul li {
  position: relative;
  margin-left: .5rem;
  padding-left: .5rem;
}

.text ul li::before {
  content: "";
  position: absolute;
  left: -1em;
  line-height: 1;
  top: 0;
  width: 4px;
  height: 18px;
  margin: 0 .65rem;
  background: #bf253b;
  transform: skew(-16deg);
  display: inline-block;
}

* + ul {
  margin: 1rem 0 0;
}

ol {
  list-style: decimal inside;
}

.text ol {
  list-style: none;
  counter-reset: step;
}

.text ol li {
  position: relative;
  margin-left: 1rem;
  padding-left: 1rem;
}

.text ol li::before {
  counter-increment: step;
  content: counter(step) ".";
  color: #bf253b;
  position: absolute;
  left: -1em;
  font-weight: bold;
}

* + ol {
  margin: 1rem 0 0;
}

small {
  font-size: .889em;
  line-height: 1.563;
}

sup {
  font-size: .889em;
  line-height: 1.563;
  position: relative;
  top: -.25rem;
  vertical-align: baseline;
}

b,
strong {
  font-weight: 500;
}

i,
em {
  font-style: italic;
}

u,
ins {
  text-decoration: underline;
  -webkit-text-decoration-skip: ink;
  text-decoration-skip: ink;
}

del {
  text-decoration: line-through;
}

mark {
  background: #ffff00;
  color: inherit;
}

pre,
code,
kbd {
  font-size: .889em;
  line-height: 1.563;
  font-family: monospace, monospace;
  background: #f8f8f8;
  color: #919191;
}

code {
  padding-top: .25em;
  padding-bottom: .25em;
}

code::before, code::after {
  letter-spacing: -.25rem;
  content: "\00a0";
}

pre {
  padding: 1rem;
  overflow: auto;
}

* + pre {
  margin-top: 1rem;
}

blockquote {
  
}

blockquote p::before {
  text-indent: calc((1em / 2) * -1);
  display: inline-block;
}

@supports (hanging-punctuation: first) {

  blockquote p::before {
    text-indent: 0;
    hanging-punctuation: first;
  }

}

@media screen and (min-width: 31.25em) {

  blockquote {
    font-size: 1.056em;
  }

}

* + blockquote {
  margin-top: 1rem;
}

blockquote p {
  font-style: normal;
  quotes: '\201E' '\201C';
}

:lang(en) blockquote p {
  quotes: '\201C' '\201D';
}

:lang(fr) blockquote p {
  quotes: '\00AB' '\00BB';
}

blockquote p::before {
  content: open-quote;
}

blockquote p::after {
  content: close-quote;
}

cite {
  font-size: .9em;
  text-align: right;
  display: block;
}

cite::before {
  content: '\2014\0020';
}

hr {
  border-top: 1px solid #ebebeb;
  position: relative;
  max-width: 50%;
  margin: 0 auto;
}

/*
 * TYPO3 RTE
 *
 */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.text-justify {
  text-align: justify;
}

.light {
  font-weight: 300;
}

.bold {
  font-weight: 500;
}

.uppercase {
  text-transform: uppercase;
}

.lazyload,
.lazyloading {
  opacity: 0;
}

.lazyloaded,
.flickity-lazyloaded {
  opacity: 1;
  -webkit-transition: opacity .3s linear;
  transition: opacity .3s linear;
}

.wrapper {
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  overflow: hidden;
}

.top {
  background: #bf253b;
  color: #fff;
  position: fixed;
  right: 2rem;
  bottom: 4rem;
  width: 2rem;
  height: 2rem;
  z-index: 6;
}

  .baeder .top,
  .energie .top {
    background: #f59b00;
  }

  .verkehr .top,
  .telekommunikation .top {
    background: #006fb4;
  }