.history .maincontent_wrap #c57,
.history .maincontent_wrap .frame-layout-0:last-of-type {
  margin: 0 5vw;
}
.history .textimagelayout_1 .image_label h2 {
  color: #e9212e;
}
.history .maincontent_wrap .frame-layout-0:last-of-type {
  padding-top: 50px;
}
.history
  .textimagelayout_1
  .image_label
  h2
  .history
  .textimagelayout_1
  picture {
  flex: 0 0 100%;
  max-width: 100%;
}
.history .frame-layout-0:nth-child(2) .image.historyEntry {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 100%;
  flex-direction: row-reverse;
  padding-bottom: 5vw;
  overflow: hidden;
}
.history .frame-layout-0:nth-child(2) .image.historyEntry picture {
  flex: 0 0 100%;
  max-width: 100%;
}
.history .frame-layout-0:first-of-type .image picture:after {
  content: none;
}
/* header {
    opacity: 1;
    transition: all 0.5s;
}
header.hidden {
    transform: translateY(-100%);
    opacity: 0;
}
a {
    color: #fff;
    text-decoration: underline;
}
a:hover {
    color: #b89757;
} */

/* .outer_wrap.layout-0 {
    background: #210607;
    background: linear-gradient(180deg, rgba(33, 6, 7, 1) 40%, rgba(16, 3, 3, 1) 100%);
} */

.outer_wrap.layout-0.schwarzbier {
  color: #fff;
}
.outer_wrap.layout-0.kirsche {
  background: #960a0a;
  background: linear-gradient(
    180deg,
    rgba(150, 10, 10, 1) 40%,
    rgba(75, 5, 5, 1) 100%
  );
  color: #fff;
}
.outer_wrap.layout-0.kellerbier {
  background: #783c14;
  background: linear-gradient(
    180deg,
    rgba(120, 60, 20, 1) 40%,
    rgba(60, 20, 5, 1) 100%
  );
  color: #fff;
}
.frame.frame-layout-3 h2 {
  font-size: 6.6vw;
  position: relative;
  margin: 6.2vw 0 10vw 0;
}
.frame-layout-3 h2:before {
  content: "";
  position: absolute;
  display: block;
  width: 39vw;
  height: 3px;
  background-color: #ed1c1c;
}
.frame-layout-2 header h2 {
  cursor: pointer;
  font-size: 4.4vw;
  margin: 1.958vw 0 4vw 0;
  padding: 2vw 6vw 3.8vw 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  line-height: 150%;
  transition: border-bottom 0.15s;
}
.frame-layout-2:nth-of-type(10) header,
.frame-layout-2:nth-of-type(15) header,
.frame-layout-2:nth-of-type(3) header {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.frame-layout-2 header h2:after {
  content: "";
  background-image: url(https://www.koestritzer.de/typo3conf/ext/jo_koestritzer_base/Resources/Public/Images/whiteArrowDown.svg);
  background-repeat: no-repeat;
  right: 0;
  top: 4vw;
  height: 15px;
  width: 15px;
  position: absolute;
  transition: transform 0.5s ease, top 0.5s ease;
  transform-origin: 50% 50% 0;
}
.frame-layout-2 {
  margin: 0;
}
.landscape.col-md-12.hover_1,
.landscape.col-md-6.hover_2 {
  margin: 0 0 5vw 0;
  padding: 0;
}
.image picture {
  display: block;
  position: relative;
  transition: all 0.5s;
}
.image img {
  width: 100%;
  object-fit: cover;
  height: auto;
}
.image .image_label_wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  padding-block: 40px;
}
.outer_wrap.layout-0.kellerbier .header_wrap .image picture:after,
.outer_wrap.layout-0.kirsche .header_wrap .image picture:after,
.outer_wrap.layout-0.schwarzbier .header_wrap .image picture:after {
  background: 0 0;
}
.image picture:after {
  content: "";
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 50%,
    rgba(3, 3, 3, 0.40379901960784315) 70%,
    rgba(2, 2, 2, 0.6026785714285714) 80%,
    rgba(5, 5, 5, 1) 100%
  );
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.image picture:before {
  content: "";
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) -80%,
    rgba(3, 3, 3, 0.40379901960784315) 70%,
    rgba(2, 2, 2, 0.6026785714285714) 75%,
    rgba(7, 7, 7, 1) 100%
  );
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s;
}
.hover_2 .image picture {
  border-bottom: 3px solid transparent;
}
.hover_2:hover picture:before {
  opacity: 1;
}
.hover_2:hover picture {
  border-bottom: #ed1c1c 3px solid;
}
.valign_2 .image_label_wrap {
  justify-content: center;
}
.valign_1 .image_label_wrap {
  justify-content: flex-start;
  padding-top: 3vw;
  padding-bottom: 3vw;
}
.valign_3 .image_label_wrap {
  justify-content: flex-end;
  padding-bottom: 7vw;
  padding-top: 5vw;
}
.halign_1 .image_label_wrap,
.halign_2 .image_label_wrap,
.halign_3 .image_label_wrap {
  padding-left: 5vw;
  padding-right: 5vw;
}
/* .image .image_label {
    color: #fff;
} */
.image .image_label h3 {
  font-size: 6.6vw;
  line-height: 120%;
  letter-spacing: 1px;
  margin-bottom: 0;
}
.image .image_label h1 {
  font-size: 9.6vw;
  margin-bottom: 7vw;
}
.image .image_label h4 {
  font-size: 3.6vw;
  line-height: 150%;
  letter-spacing: 1px;
  color: #b89757;
  text-transform: uppercase;
  text-shadow: 0 2px 8px #000;
}
.image .image_label h2 {
  font-size: 4.4vw;
  line-height: 150%;
  position: relative;
  letter-spacing: 0;
}
.frame-layout-1 {
  margin-left: 0;
  margin-right: 0;
}
.frame-layout-5 {
  margin-left: 0;
  margin-right: 0;
  font-size: 4.4vw;
  line-height: 180%;
}
form .frame-type-html {
  font-size: 12px;
}
.landscape.composition_1.textimagelayout_1 {
  margin-bottom: 5vw;
}
.frame-layout-4 {
  background: linear-gradient(0deg, #180505 0, #210607 100%);
  margin: -25px 0;
  padding: 60px 0;
}
.de_wrap_border_1 {
  padding: 0 5vw;
}
.history .de_wrap_border_1 {
  padding: 0 0;
}
.landscape.col-md-6.de_img_wrap.valign_3.halign_1.hover_2.composition_1 {
  margin-top: 1.7vw;
}
.de_wrap_border_1 .frame-layout-0 {
  position: relative;
  overflow: hidden;
}
#logosvgDesk,
#logosvgMobil {
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
}
#logosvgMobil {
  width: auto;
}
.cls-1 {
  stroke: #ed1c1c;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1px;
}
.textimagelayout_1 .image.historyEntry {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 100%;
  flex-direction: row-reverse;
  padding-bottom: 5vw;
  overflow: hidden;
  word-break: break-word;
}
.textimagelayout_1 .image_label_wrap {
  padding-left: 0;
  padding-right: 0;
  position: relative;
  padding-top: 5.5vw;
  padding-bottom: 6.6vw;
}
.textimagelayout_1.textimagelayoutdirection_1 .image.historyEntry,
.textimagelayout_1:nth-of-type(even) .image.historyEntry {
  flex-direction: row;
}
.textimagelayout_1.textimagelayoutdirection_1:nth-of-type(even)
  .image.historyEntry {
  flex-direction: row-reverse;
}
.textimagelayout_1:nth-of-type(even) .image_label_wrap {
  padding-left: 5vw;
  padding-right: 15vw;
}
.textimagelayout_1:nth-of-type(even) picture .h-100 {
  padding-right: 5vw;
}
.textimagelayout_1:nth-of-type(even) .image picture:after {
  left: -5vw;
}
.distance_2 {
  margin-bottom: 5vw;
}
.history .textimagelayout_1:nth-of-type(odd) .image_label_wrap {
  text-align: left;
  padding-right: 5vw;
  padding-left: 16vw;
}
.textimagelayout_1:nth-of-type(odd) picture .h-100 {
  padding-left: 5vw;
}
.textimagelayout_1:nth-of-type(odd) .image picture:after {
  left: 5vw;
}
@keyframes spin {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
.ce-row {
  margin-bottom: 0;
}
form {
  position: relative;
}
@media (min-width: 768px) {
  h1 {
    font-size: 5vw;
    line-height: 100%;
    margin-bottom: 2vw;
  }
  h3 {
    font-size: 1.8vw;
    margin-bottom: 1vw;
  }
  h4 {
    font-size: 1vw;
  }
  .history .de_wrap_border_1 {
    padding: 0;
  }
  .history .frame-layout-0 .image.historyEntry {
    height: 100%;
  }
  .history .textimagelayout_1 .image_label_wrap,
  .history .textimagelayout_1 picture {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    /*padding-bottom: 0;*/
  }
  .history .maincontent_wrap .frame-layout-0:last-of-type {
    margin: 0;
    padding: 3.7vw;
  }
  .frame-layout-4 {
    padding: 80px 80px;
  }
  .history .textimagelayout_1:nth-of-type(odd) .image_label_wrap {
    text-align: right;
  }
  .landscape.col-md-12.hover_1,
  .landscape.col-md-6.hover_2 {
    margin: 0;
  }
  .frame-layout-1 {
    margin-left: 16vw;
    margin-right: 16vw;
  }
  .frame-layout-5 {
    margin-left: 16vw;
    margin-right: 16vw;
    font-size: 1.4vw;
  }
  .de_wrap_border_1 {
    padding: 1.7vw;
  }
  .halign_1 .image_label_wrap {
    padding-left: 3vw;
    padding-right: 3vw;
  }
  .halign_2 .image_label_wrap {
    padding-left: 18vw;
    padding-right: 25vw;
  }
  .halign_3 .image_label_wrap {
    padding-left: 45vw;
    padding-right: 5vw;
    text-align: right;
  }
  .halign_1 .image .image_label h2,
  .halign_2 .image .image_label h2 {
    /* width: 55vw;*/
  }
  .valign_3 .image_label_wrap {
    padding-bottom: 3vw;
    padding-top: 3vw;
  }
  .landscape.composition_1.textimagelayout_1 {
    margin-bottom: 0;
  }
  .frame-layout-2 header h2:after {
    top: 0.4vw;
  }
  .frame.frame-layout-3 h2 {
    font-size: 2.2vw;
    margin: 7.444vw 16vw 6.333vw 16vw;
  }
  .frame-layout-3 h2:before {
    width: 10vw;
    top: 4vw;
  }
  .frame-layout-2 header h2 {
    font-size: 1.4vw;
    margin: 1.958vw 0 2vw 0;
    padding: 0 0 1.8vw 0;
  }
  .frame-layout-2 header h2:after {
    height: 21px;
    width: 21px;
  }
  .frame-layout-2 {
    margin: 0 16vw 0 16vw;
  }
  .image .image_label h1 {
    margin-top: 0;
    margin-bottom: 2vw;
    font-size: 4vw;
  }
  .image .image_label h3 {
    font-size: 2.2vw;
    margin-bottom: 0.35vw;
  }
  .image .image_label h2 {
    font-size: 1.5vw;
  }
  .history .textimagelayout_1 .image_label h2 {
    font-size: 4.1vw;
    margin-bottom: 0.4vw;
  }
  .history .textimagelayout_1 .image_label p {
    font-size: 1.25vw;
  }
  .image .image_label h4 {
    letter-spacing: 1px;
    font-size: 1vw;
    color: #b89757;
    text-transform: uppercase;
  }
  .landscape.col-md-6.de_img_wrap.valign_3.halign_1.hover_2.composition_1:nth-of-type(
      odd
    ) {
    padding-right: 1.7vw;
  }
  .landscape.col-md-4.de_img_wrap.valign_3.halign_1.hover_2.composition_1 {
    padding-bottom: 1.7vw;
    padding-right: 1.7vw;
  }
  .landscape.col-md-6.de_img_wrap.valign_3.halign_1.hover_2.composition_1:nth-of-type(
      odd
    ) {
    margin-right: 0.85vw;
    margin-left: -0.85vw;
    padding-right: 0;
  }
  .landscape.col-md-6.de_img_wrap.valign_3.halign_1.hover_2.composition_1:nth-of-type(
      even
    ) {
    margin-left: 0.85vw;
    margin-right: -0.85vw;
  }
  .distance_2 {
    margin-bottom: 0;
  }
}
@media (min-width: 1440px) {
  h1 {
    font-size: 80px;
    margin-bottom: 28px;
  }
  h3 {
    font-size: 26px;
    margin-bottom: 16px;
  }
  h4 {
    font-size: 14px;
  }
  .textimagelayout_1:nth-of-type(odd) .image picture:after {
    left: 70px;
  }
  .textimagelayout_1:nth-of-type(even) .image picture:after {
    left: -70px;
  }
  .textimagelayout_1:nth-of-type(even) picture .h-100 {
    padding-right: 70px;
  }
  .textimagelayout_1:nth-of-type(odd) picture .h-100 {
    padding-left: 70px;
  }
  .textimagelayout_1:nth-of-type(even) .image_label_wrap {
    padding-left: 70px;
    padding-right: 210px;
  }
  .history .textimagelayout_1:nth-of-type(odd) .image_label_wrap {
    padding-left: 210px;
    padding-right: 70px;
  }
  .history .de_wrap_border_1 .frame-layout-0:first-of-type {
    width: 1440px;
    margin: 0 auto;
  }
  .history .maincontent_wrap .frame-layout-0:last-of-type {
    padding: 100px;
  }
  .de_wrap_border_1 {
    padding: 25px;
  }
  .valign_3 .image_label_wrap {
    padding-bottom: 80px;
    padding-top: 80px;
  }
  .halign_1 .image_label_wrap {
    padding-left: 43px;
    padding-right: 43px;
  }
  .halign_2 .image_label_wrap {
    padding-left: 260px;
    padding-right: 350px;
  }
  .halign_3 .image_label_wrap {
    padding-left: 45%;
    padding-right: 70px;
    text-align: right;
  }
  .valign_3 .image_label_wrap {
    padding-bottom: 43px;
    padding-top: 43px;
  }
  .halign_1 .image .image_label h2,
  .halign_2 .image .image_label h2 {
    width: 100%;
  }
  .frame-layout-5 {
    font-size: 18px;
    margin-right: 245px;
    margin-left: 245px;
  }
  .frame-layout-2 header h2:after {
    top: 7px;
  }
  .frame.frame-layout-3 h2 {
    font-size: 32px;
    margin: 120px 0 100px 16vw;
  }
  .frame-layout-3 h2:before {
    width: 144px;
    top: 57px;
  }
  .frame-layout-2 header h2 {
    font-size: 20px;
    margin: 28px 0 28px 0;
    padding: 0 0 26px 0;
  }
  .image .image_label h1 {
    font-size: 70px;
  }
  .image .image_label h3 {
    font-size: 32px;
  }
  .image .image_label h2 {
    font-size: 22px;
  }
  .history .textimagelayout_1 .image_label h2 {
    font-size: 59px;
    width: auto;
  }
  .history .textimagelayout_1 .image_label p {
    font-size: 18px;
  }
  .image .image_label h4 {
    font-size: 14px;
  }
  .landscape.col-md-4.de_img_wrap.valign_3.halign_1.hover_2.composition_1 {
    padding-bottom: 25px;
    padding-right: 25px;
  }
  .landscape.col-md-6.de_img_wrap.valign_3.halign_1.hover_2.composition_1:nth-of-type(
      odd
    ) {
    margin-right: 12px;
    margin-left: -12px;
  }
  .landscape.col-md-6.de_img_wrap.valign_3.halign_1.hover_2.composition_1:nth-of-type(
      even
    ) {
    margin-left: 12px;
    margin-right: -12px;
  }
}
@media print {
  body,
  html {
    color: #000;
    background-color: #fff;
    font-size: 14px;
  }
  .outer_wrap.layout-0 {
    background: #fff;
  }
}
