html {
  max-width: 100vw;
  overflow-x: hidden;
}

.wissen-wrapper {
  padding: 1rem;
  z-index: -1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  max-width: 100vw;
}

.wissen-wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
}

.wissen-wrapper .x-content-band p {
  word-break: break-word;
}

.wissen {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column-reverse;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  font-family: 'Montserrat', sans-serif;
}

.wissen-overview {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  font-family: 'Montserrat', sans-serif;
}

.wissen h1,
h3 {
  margin-top: 1rem;
  font-size: 2rem;
}

.wissen-overview h1,
h3 {
  margin-top: 1rem;
  font-size: 2rem;
}

.topics {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.topic {
  width: 100%;
  height: 100%;
  margin-top: 5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.topic i {
  color: var(--primary);
  font-size: 5rem;
}

.topic h4 {
  margin: 2rem 0;
}

.topic p {
  margin-bottom: 2rem;
}

.wissen-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  margin: 2rem 0;
}

.wissen-links a {
  margin-top: 1rem;
  margin-left: 1rem;
}

.ratgeber-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  margin: 2rem 0;
}

.btn-wissen {
  position: relative;
  border-radius: 2px;
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  background-color: var(--primary);
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  text-align: left;
  display: inline-block;
  width: 100%;
  /*margin-top: 1rem;*/
  padding: 1rem;
  overflow: hidden;
  border-width: 0;
  outline: none;
  -webkit-transition: all 0.5s ease-in;
  -o-transition: all 0.5s ease-in;
  transition: all 0.5s ease-in;
  text-align: center;
  text-decoration: none !important;
}

.btn-wissen:hover,
.btn-wissen a:hover {
  background-color: #e8e8e8;
  color: #1a1a1a;
  -webkit-transition: all 0.5s ease-in;
  -o-transition: all 0.5s ease-in;
  transition: all 0.5s ease-in;
  cursor: pointer;
}

.btn-wissen > * {
  position: relative;
}

.btn-wissen:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 0;
  padding-top: 0;
  border-radius: 100%;
  background-color: rgba(26, 26, 26, 0.2);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.btn-wissen:active:before {
  width: 120%;
  padding-top: 120%;
  -webkit-transition: width 0.2s ease-out, padding-top 0.2s ease-out;
  -o-transition: width 0.2s ease-out, padding-top 0.2s ease-out;
  transition: width 0.2s ease-out, padding-top 0.2s ease-out;
}

.btn-wissen-danger {
  color: #fff;
  background-color: #dc3545;
  border-color: #dc3545;
}

.btn-wissen-back {
  color: #212529;
  background-color: var(--admin);
  border-color: var(--admin);
}

.btn-wissen-card {
  max-width: 8rem;
  font-size: 0.9rem;
}

.btn-wissen-small {
  width: auto;
}

.btn-wissen-half {
  width: 49%;
}

.btn-link,
.btn-link:focus {
  text-decoration: none;
  box-shadow: none;
  /* color: var(--primary); */
  color: #1a1a1a;
  text-align: left;
}

.btn-link:hover {
  text-decoration: none;
  color: var(--primary);
  /* color: var(--primary-dark); */
}

.btn.btn-primary {
  color: white;
}

.wissen-card {
  border: 1px solid lightgray;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  width: 15rem;
  padding: 1rem;
}

.wissen-card--links {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  width: 100%;
}

.wissen-card--back {
  align-self: flex-start;
}

.wissen-video {
  /*width: 90%;*/
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.wissen-video p {
  margin-top: 2rem;
  font-size: 1.5rem;
}

.wissen-video iframe,
.wissen-video object,
.wissen-video embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

iframe {
  max-width: 100%;
}

.wissen-info {
  margin-top: 2rem;
}

.accordion {
  width: 100%;
}

.accordion .card-header .btn-wissen-block {
  white-space: normal;
}

.wissen-guides--container {
  margin-top: 2rem;
  width: 100%;
}

.wissen-guides--container .nav-link {
  color: #1a1a1a;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  color: var(--primary);
}

.search-form {
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  border: 1px solid lightgray;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
  border-radius: 2px;
  padding: 1rem;
}

.search-form button {
  margin-top: 0.5rem;
  background-color: var(--primary);
  border-color: var(--primary);
  color: #1a1a1a;
}

.search-form p {
  margin-bottom: 0.5rem;
}

.search-form button:active,
.search-form button:hover {
  background-color: #e8e8e8;
  border-color: #e8e8e8;
  color: #1a1a1a;
}

.wissen-links a,
.ratgeber-links a {
  margin-top: 0.5rem;
  color: var(--primary);
  text-decoration: none;
}

.wissen-links a:hover,
.ratgeber-links a:hover {
  color: var(--primary-dark);
}

.ratgeber-links a {
  font-size: 1.2rem;
}

.wissen-search--posbill {
  margin-top: 3rem;
  border: 1px solid lightgray;
  border-radius: 2px;
  padding: 1rem;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
}

.wissen-search--posbill .wissen-content {
  margin-left: 2rem;
}

.wissen-content {
  width: 100%;
  margin-top: 2rem;
}

.wissen-content a {
  color: var(--primary);
}

.wissen-content a:hover {
  text-decoration: none;
  color: var(--primary-dark);
}

.wissen-search--header {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  font-size: 1.5rem;
}

.card-header p {
  white-space: normal;
}

.yt-video {
  margin-top: 5rem;
  margin-bottom: 3rem;
}

.yt-video h2 {
  margin-bottom: 1rem;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ratgeberGrid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-template-rows: repeat(6, 1fr);
  grid-column-gap: 10rem;
  grid-row-gap: 2rem;
  margin: 3rem 0;
}

.ratgeberCategory h5 {
  font-size: 1.5rem;
}

.ratgeberCategory a {
  display: block;
  margin: 1rem 0;
  margin-left: 1rem;
}

.relatedLinks {
  margin-top: 3rem;
  margin-bottom: 2rem;
  align-self: start;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
}

.relatedLinks a {
  margin-top: 0.5rem;
  color: var(--primary);
}

@media (min-width: 640px) {
  .wissen-wrapper {
    width: 70%;
    margin: 0 auto;
  }

  .wissen {
    margin-top: 5rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .wissen-overview {
    margin-top: 5rem;
  }

  .topics {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-around;
  }

  .topic {
    width: 20%;
    height: auto;
    justify-content: space-around;
    margin-top: 5rem;
  }

  .topic i {
    color: var(--primary);
    font-size: 8rem;
    margin-bottom: 2rem;
  }

  .topic h4 {
    font-size: 1.3rem;
    margin-top: 1rem;
    color: var(--primary);
    text-align: center;
  }

  .topic p {
    text-align: center;
  }

  .topic a {
    margin-top: 2rem;
  }

  .wissen-video {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .wissen-video p {
    margin-top: 2rem;
    font-size: 1.5rem;
  }

  .wissen-links {
    margin-top: 2rem;
    width: 70%;
    padding-left: 1rem;
  }

  .article-headline h1 {
    max-width: 70%;
  }

  .article-headline a {
    margin-top: 1rem;
  }

  .wissen-info {
  }

  .wissen-accordion--container {
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
  }

  .wissen-accordion--container h2 {
    color: var(--primary);
  }

  .search-form {
    width: 100%;
  }
}

@media (min-width: 800px) {
  .ratgeberGrid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-row-gap: 3rem;
  }
  .ratgeberCategory a {
    display: block;
    margin: 0 0;
    margin-left: 1rem;
  }
}

@media (max-width: 400px) {
  h1,
  h2 {
    font-size: 8vw !important;
  }
  h3 {
    font-size: 7vw !important;
  }
  p {
    font-size: 4vw !important;
  }
}