.cols,
.grid {
  width: 89%;
  max-width: 1560px;
  margin-left: auto;
  margin-right: auto;
}

.cols {
  display: flex;
  flex-direction: column;
}

.cols-wrapper {
  margin: 0 auto;
  padding: var(--col-padding) 0;
}

.cols-full {
  overflow-x: hidden;
}

.cols-full > .cols {
  max-width: inherit;
  width: 100%;
}

.cols-parallax {
  position: relative;
  background-size: cover;
  padding: 100px 0 20px;
  background-position: bottom center;
}

.cols-parallax::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(34, 34, 34, 0.6);
}

.cols-parallax * {
  color: rgb(var(--main-light-color));
}

.cols-parallax .col-txt {
  text-align: center;
  z-index: 1;
}

.cols-50-50 .col-pic:first-of-type {
  margin-bottom: 45px;
}

.cols-50-50 .col-pic img {
  aspect-ratio: 80/49;
  object-fit: cover;
}

.cols-100 .col-video {
  height: 440px;
  margin: 0;
}

.cols-100 .col-video .video-wrapper,
.cols-100 .col-video video {
  position: relative;
  height: 100%;
  width: 100%;
}

.col-video h2 {
  font-size: 1.7rem;
  text-align: center;
  text-transform: uppercase;
}

.col {
  margin: 0 0 1em;
}

/* Remove margin from blocks without content & only has 1 child */
.cols-100 .col,
.col.col- {
  margin: 0;
}

.cols-100 .col-txt {
  margin: 0 auto;
  max-width: 960px;
}

.col.col-module_ContactForms {
  text-align: left;
}

.col-module_RoutePlanner .cols-100 {
  margin: 0;
  max-width: inherit;
  width: 100%;
}

.content table {
  text-align: left;
}

.col-module_ContactForms {
  max-width: 960px;
}

.col-txt a[class^='button'] + a[class^='button'] {
  margin-top: 20px;
}

a[target="_blank"]:not([data-hideicon])::after {
  content: '';
  height: 0.5em;
  width: 0.5em;
  display: inline-block;
  background: url('/images/icons/external-link.svg') center center no-repeat;
  background-size: contain;
  margin-left: 5px;
}

.customstyle-no-padding-bottom {
  padding-bottom: 0;
}

.customstyle-no-padding-bottom + .cols-wrapper {
  padding-top: 0;
}

.customstyle-half-padding-bottom {
  padding-bottom: calc(var(--col-padding) / 2);
}

.customstyle-half-padding-bottom + .cols-wrapper {
  padding-top: calc(var(--col-padding) / 2);
}

.customstyle-bg-light {
  background: rgba(var(--sub-light-color), .5) no-repeat center bottom;
}

.customstyle-bg-light-pattern {
  background: rgba(var(--sub-light-color), 1) no-repeat center bottom;
  background-image: url(/images/muster.png);
  background-size: 100% auto;
}

.customstyle-bg-dark {
  background-color: rgba(var(--main-dark-color), 1);
  color: rgba(var(--main-light-color), 1);
}

.customstyle-bg-dark h2 {
  color: rgba(var(--main-highlight-color), 1);
}

.customstyle-bg-dark a.button {
  border-color: rgba(var(--main-light-color), 1);
}

.home .customstyle-bg-light:first-child,
.home .customstyle-bg-light:nth-child(2) {
  max-width: 1694px;
}

.home .customstyle-bg-light:first-child {
  padding-bottom: 1px;
}

.home .customstyle-bg-light-pattern .col-txt {
  display: flex;
  align-items: center;
}

.customstyle-home-ag {
  margin-top: calc(var(--col-padding) * -1.5);
}

.customstyle-home-ag li {
  background: rgba(var(--sub-light-color), .5);
  margin: 0 0 1em;
}

.customstyle-home-ag a {
  position: relative;
  text-decoration: none;
}

.customstyle-home-ag img {
  width: 100%;
}

.customstyle-home-ag .wwmodule-list-title {
  color: rgba(var(--main-highlight-color), 1);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  margin: 0;
  padding: 20px 20px 10px;
}

.customstyle-home-ag .wwmodule-list-description {
  font-size: 2.2rem;
  font-weight: 500;
  margin: 0;
  padding: 0 20px 60px;
  position: relative;
}

.customstyle-home-ag a:after {
  background: url(/images/arrow.svg) no-repeat 0 0;
  background-size: contain;
  bottom: 20px;
  content: '';
  height: 21px;
  position: absolute;
  right: 20px;
  width: 12px;
}

.icon-before {
  margin-top: calc(var(--col-padding) * -1);
}

.icon-before:before {
  background: url(/images/icon-logo.svg) no-repeat center center;
  content: '';
  display: block;
  height: 48px;
  margin: 0 auto 3rem;
  width: 48px;
}

/* ab 800px */
@media screen and (min-width: 768px) {

  .cols-33-33-33 {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
  }

  .cols-33-33-33 .col {
    width: 32%;
  }

}

/* ab 1040px */
@media screen and (min-width: 1040px) {

  .cols-wrapper {
    position: relative;
  }

  .home .customstyle-bg-light:first-child {
    padding: 8rem 0;
  }

  .home .customstyle-bg-light:first-child p {
    margin: 0 auto;
    max-width: 860px;
  }

  .home .customstyle-bg-light:nth-child(2) {
    padding: 0 0 8rem;
  }

  .customstyle-bg-dark:has(#home-news):before,
  .customstyle-bg-dark:has(#home-news):after {
    background: url(/images/icon-human.svg) no-repeat 0 0;
    background-size: contain;
    bottom: 0;
    content: '';
    height: 224px;
    opacity: .3;
    position: absolute;
    right: 0;
    width: 400px;
  }

  .customstyle-bg-dark:has(#home-news):after {
    bottom: 273px;
    right: -108px;
    transform: rotate(-121deg);
  }

  .customstyle-bg-dark:has(#home-news) .cols {
    position: relative;
  }

  .cols {
    flex-direction: row;
    justify-content: space-between;
  }

  .cols-100 {
    display: block;
  }

  .col {
    margin: 0;
  }

  .cols-50-50 .col {
    width: 46.28%;
  }

  .cols-33-66 .col {
    width: 28%;
  }

  .cols-33-66 .col + .col {
    width: 62.5%;
  }

  .customstyle-home-ag ul {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: space-between;
  }

  .customstyle-home-ag li {
    position: relative;
    width: calc(50% - 20px);
  }

  .customstyle-home-ag li.no-link,
  .customstyle-home-ag a {
    min-height: 285px;
    padding: 0 0 0 260px;
  }

  .customstyle-home-ag img {
    height: 100%;
    left: 0;
    object-fit: cover;
    position: absolute;
    top: 0;
    width: 240px;
  }

  .customstyle-home-ag a:after {
    height: 26px;
    width: 15px;
  }

  .customstyle-home-ag a:hover .wwmodule-list-description,
  .customstyle-home-ag a:focus .wwmodule-list-description {
    color: rgba(var(--main-dark-color), 1);
    text-decoration: underline;
  }

  .icon-before p {
    font-size: 2.6rem;
    margin: 0 auto;
    max-width: 860px;
  }

}

body.impressum table tr td,
body.impressum table tr th {
  vertical-align: top;
}

@media screen and (min-width: 1040px) {
  body.impressum table tr td:first-child,
  body.impressum table tr th:first-child {
    min-width: 300px;
  }
}

@media screen and (max-width: 600px) {
  body.impressum table tr td,
  body.impressum table tr th {
    display: block;
  }


  body.impressum table tr td {
    margin-bottom: 20px;
  }
}


/* Sites TILES Design */
.col-tiles {
  width: 100%;
}

.tiles {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.tile-item {
  position: relative;
  margin: 0 0 7px;
  width: 100%;
  overflow: hidden;
}

.tile-item:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
  width: 100%;
  height: 90px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}

.tile-item .video-wrapper {
  width: 100%;
  height: 100%;
}

.tile-item picture:before {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%);
  bottom: 0;
  content: '';
  height: 40%;
  left: 0;
  position: absolute;
  right: 0;
  z-index: 1;
}

.tile-item img,
.tile-item video {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.tile-item,
.tile-item img,
.tile-item video {
  aspect-ratio: 1;
  min-height: 300px;
}

.tile-item.m-one,
.tile-item.m-one img,
.tile-item.m-one video {
  aspect-ratio: 2/1;
  min-height: 150px;
}

.tile-item.m-small {
  width: 49.1%;
}

.tile-item a:not(.pause-play-button) {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
}

.tile-item .pic-caption,
.tile-item .pic-copyright {
  display: none;
}

.tile-item .pic-info {
  position: relative !important;
  bottom: inherit !important;
  left: inherit !important;
}

.tile-item h2 {
  position: absolute;
  bottom: 25px;
  left: 15px;
  margin: 0;
  padding: 0;
  font-size: 2.2rem;
  color: rgb(var(--main-light-color));
  font-weight: 600;
  z-index: 1;
  line-height: 1;
}

@media (hover: hover) {

  .tile-item .pic-wrapper {
    background: rgb(var(--main-dark-color));
    overflow: hidden;
  }

  .tile-item img,
  .tile-item video {
    opacity: 1;
    transform: scale(1);
    transition: all .8s;
  }

  .tile-item:hover img,
  .tile-item:hover video {
    opacity: .8;
    transform: scale(1.1);
  }

}

@media screen and (min-width: 800px) {
  .tiles {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    grid-column-gap: 20px !important;
    grid-row-gap: 20px !important;
  }

  .tile-item {
    aspect-ratio: unset !important;
    margin: 0;
    width: auto !important;
  }

  .tile-item.two {
    height: 410px;
  }

  .tile-item.one {
    height: 195px;
  }

  .tile-item a {
    height: 100%;
  }

  .tile-item .pic-wrapper {
    height: 100%;
  }

}

@media screen and (min-width: 1400px) {

  .col-tiles {
    margin-bottom: 7rem;
  }

  .tile-item.two {
    height: 650px;
  }

  .tile-item.one {
    height: 315px;
  }

  .tile-item h2 {
    font-size: 3.8rem;
    bottom: 30px;
    left: 30px;
  }
}

/* SITEMAP */
.sitemap-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sitemap-content li {
  margin-bottom: 5px;
}

.sitemap-content li a {
  display: block;
  padding: 10px 15px 10px 35px;
  color: rgb(var(--main-dark-color));
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
  position: relative;
  font-size: 2.2rem;
  line-height: 1.5;
}

.sitemap-content li a:hover,
.sitemap-content li a:focus {
  background-color: rgba(var(--main-dark-color), 0.1);
  color: rgb(var(--main-dark-color));
  outline: none;
}

.sitemap-content li a::before {
  content: '•';
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(var(--main-dark-color), 0.6);
  font-size: 1.2em;
  transition: color 0.2s ease-in-out;
}

.sitemap-content li a:hover::before,
.sitemap-content li a:focus::before {
  color: rgb(var(--main-dark-color));
}

.sitemap-content ul ul {
  margin-top: 5px;
  padding-left: 20px;
  border-left: 2px solid rgba(var(--main-dark-color), 0.15);
  margin-left: 15px;
}

.sitemap-content ul ul li a {
  font-size: 1.8rem;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 30px;
}

.sitemap-content ul ul li a::before {
  left: 10px;
  color: rgba(var(--main-dark-color), 0.5);
}

.sitemap-content ul ul li a:hover::before,
.sitemap-content ul ul li a:focus::before {
  color: rgb(var(--main-dark-color));
}

.sitemap-content ul ul ul {
  padding-left: 20px;
  margin-top: 5px;
  border-left-color: rgba(var(--main-dark-color), 0.1);
}

.sitemap-content ul ul ul li a {
  font-size: 0.85em;
}

.sitemap-content ul ul ul li a::before {
  color: rgba(var(--main-dark-color), 0.4);
}
