:root {
  font-size: 16px;
}

@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v35-latin-regular.eot');
  src: url('../fonts/open-sans-v35-latin-regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/open-sans-v35-latin-regular.woff2') format('woff2'),
    url('../fonts/open-sans-v35-latin-regular.woff') format('woff'),
    url('../fonts/open-sans-v35-latin-regular.ttf') format('truetype'),
    url('../fonts/open-sans-v35-latin-regular.svg#OpenSans') format('svg');
}

@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/open-sans-v35-latin-700.eot');
  src: url('../fonts/open-sans-v35-latin-700.eot?#iefix') format('embedded-opentype'),
    url('../fonts/open-sans-v35-latin-700.woff2') format('woff2'),
    url('../fonts/open-sans-v35-latin-700.woff') format('woff'),
    url('../fonts/open-sans-v35-latin-700.ttf') format('truetype'),
    url('../fonts/open-sans-v35-latin-700.svg#OpenSans') format('svg');
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-size: 16px;
  line-height: 1.5;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #000;
  font-weight: 400;
}

#wrapper {
  position: relative;
  max-width: 980px;
  margin: 16px auto;
  border: 1px solid #777;
  overflow: hidden;
  background-color: #fff;
}

strong {
  font-weight: 700;
}

.banner {
  position: relative;
}

.video {
  position: relative;
  margin: 16px;
}

h1 {
  margin: 16px 0;
  font-size: 42px;
  line-height: 1.3;
  font-weight: 400;
  text-shadow: 0px 0px 100px rgba(0, 0, 0, .5), 0px 0px 100px rgba(0, 0, 0, .5), 0px 0px 10px rgba(0, 0, 0, .5);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  width: 80%;
}

h2 {
  margin: 16px 0;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 400;
  color: #91bc17;
}

h3 {
  margin: 0 0 16px 0;
  font-size: 28px;
  line-height: 1.5;
  font-weight: 400;
}

h4 {
  margin: 0 0 16px 0;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 400;
  color: #86AE1C;
}

.span {
  background-color: #4C633B;
  display: inline-block;
  font-style: italic;
  margin: 0 0 8px;
  padding: 3px;
}

p {
  margin-bottom: 16px;
}

header {
  padding: 16px;
}

article {
  margin: 0;
  padding: 0;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 16px;
}

footer>div:nth-of-type(1) {
  flex: 1 1 0;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

.text {
  margin: 16px;
}

.intro {
  background-color: #30404A;
  color: #fff;
  padding: 16px;
  margin: 16px 0;
}

.big {
  font-size: 20px;
}

.flex {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.flex>div:nth-of-type(2) {
  flex: 1 1 0;
}

.iframe-wrapper {
  width: 100%;
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.icon {
  background-color: #30404A;
  color: #fff;
  padding: 16px;
}

.icon ul {
  columns: 2;
  gap: 0 16px;
}

ul {
  margin: 0 0 16px;
  list-style: none;
}

ul li {
  padding: 2px 0 0 36px;
  background: url('../images/icon.jpg') no-repeat 0 0;
  margin-bottom: 16px;
}

.uebernahmegarantie {
  background: url('../images/background.jpg') no-repeat 0 0;
  background-size: cover;
  background-position: center center;
}

.uebernahmegarantie>div {
  background-color: rgba(134, 174, 28, 0.3);
  text-align: right;
  color: #fff;
  padding: 100px 24px;


}

:is(a:link, a:visited, a:hover, a:active) {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.link {
  color: #86AE1C !important;
}

.slider {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  aspect-ratio: 980 / 550;
}

.slider {
  position: relative;
  width: 100%;
  aspect-ratio: 98 / 55;
  background-color: #e0e0e0;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide.active {
  opacity: 1;
}

@media all and (max-width:980px) {
  #wrapper {
    margin: 0;
    border: none;
  }

  :is(p, ul) {
    hyphens: auto;
    text-wrap: pretty;
  }

  br:not(footer br) {
    display: none;
  }
}

@media all and (max-width:767px) {
  h1 {
    margin: 0 0 16px;
    font-size: 32px;
    position: static;
    transform: translate(0, 0);
    color: #000;
    width: 100%;
    padding: 16px;
    text-shadow: none;
  }

  .icon ul {
    columns: 1;
    gap: 0 16px;
  }
}

@media all and (max-width:598px) {
  .flex {
    flex-direction: column;
    align-items: center;
  }

  footer {
    flex-direction: column;
    gap: 16px;
  }

  footer>div:nth-of-type(1) {
    width: 100%;
  }
}