*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  padding: 0;
  margin: 0;
  font-family: Afacad, sans-serif;
  font-size: 18px;
  position: relative;
}

a{
  color: #ffffff;
}

body:after{
  content: '';
  width: 160px;
  height: auto;
  aspect-ratio: 10 / 17;
  position: absolute;
  bottom: 0;
  right: 0;
  background: url(/images/icons/haus-grafik.svg);
  background-size: cover;
  background-position: top left;
  pointer-events: none;
}

p,
ul {
  margin-bottom: 2em;
}

ul {
  margin-top: 0;
}

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

.left{
  background-color: #457C73;
  position: relative;
}


.left:after{
  content: 'website im umbau';
  position: absolute;
  bottom: 60px;
  right: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
  color: #EDD89A;
  background-color: #000000;
  border-radius: 999px;
  aspect-ratio: 1;
  width: 90px;
  height: auto;
  z-index: 1;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  animation: pulse 2s infinite alternate;
}

@keyframes pulse {
  from {
    scale: 1;
  }

  to {
    scale: 1.1;
  }
}

.swiper img {
  aspect-ratio: 6/5;
  object-fit: cover;
  width: 100%;
  object-position: center;
}

.swiper {
  padding-bottom: 70px;
  position: relative;
  width: 100%;
  max-width: 100%;
}

.swiper-slide{
  transition: none !important;
}

.swiper .swiper-button-prev,
.swiper .swiper-button-next {
  color: #ffffff;
  top: auto;
  bottom: 0;
  margin: 0;
  left: 50px;
}

.swiper .swiper-button-next {
  left: auto;
  right: 50px;
}

.grid {
  width: 84.44%;
  max-width: 660px;
  margin: 0 auto;
}

h1 {
  font-size: 25px;
  margin-top: 0;
  padding-top: 50px;
  font-weight: 500;
  font-family: 'Josefin Sans', sans-serif;
  text-transform: uppercase;
}

.right {
  background-color: #457C73;
  color: #ffffff
}

.logo {
  display: block;
  padding: 40px;
  z-index: 999;
  background-color: #ffffff;
}

.logo img {
  display: block;
  margin: 0 auto;
}


.button-flex {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 60px;
}

.button-cta,
.button {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #000000;
  font-weight: 700;
  background-color: #ffffff;
  border-radius: 10px 0;
  transition: all .3s;
  width: 100%;
  text-decoration: none;
  text-transform: lowercase;
}

.button-cta {
  background-color: #EDD89A;
}

.button-cta:hover,
.button-cta:focus,
.button:hover,
.button:focus {
  background-color: #b3b3b3;
}

.button-cta:hover,
.button-cta:focus {
  background-color: #F2D47B;
}

hr {
  aspect-ratio: 76/1;
  margin: 10px 0;
  border: 0;
  background: url('/images/icons/linie.png') no-repeat center center / contain;
  max-width: 540px
}

.address {
  padding-top: 15px;
  text-align: center;
  padding-bottom: 120px;
}

.imprint{
  padding-bottom: 40px;
}

.imprint a{
  color: #ffffff
}

@media screen and (min-width: 530px) {
  .button-cta,
  .button {
    width: auto;
  }
}


@media screen and (min-width: 1040px) {
  body {
    display: flex;
  }

  body:after{
    width: 315px;
    height: 330px;
    aspect-ratio: auto;
  }

  h1{
    padding-top: 100px;
    font-size: 36px;
  }

  .pause-play-button{
    display: none !important;
  }

  .logo {
    width: 44%;
    height: calc(33.33vh - 13px);
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
  }

  .left{
    background-color: #ffffff;
    height: 100vh;
    position: sticky;
    top: 0;
    overflow: hidden;
  }


  .left:after{
    position: fixed;
    bottom: auto;
    top: 70px;
    right: 70px;
    font-size: 20px;
    width: 125px;
  }


  .right{
    min-height: 100vh;
  }

  .swiper{
    padding-bottom: 0;
  }

  .swiper-wrapper{
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px 0;
    transform: none !important;
    transition: none !important;
  }

  .swiper-wrapper>*{
    height: calc(33.33vh - 13px);
    max-width: none;
    overflow: hidden;
  }

  .swiper-wrapper>*:nth-child(1){
    width: 53.4% !important;
    margin-left: 46.8%;
  }

  .swiper-wrapper>*:nth-child(2){
    width: 39.78% !important;
  }

  .swiper-wrapper>*:nth-child(3){
    width: 57.94% !important;
  }

  .swiper-wrapper>*:nth-child(4){
    width: 52.33% !important;
  }

  .swiper-wrapper>*:nth-child(5){
    width: 45.39% !important;
  }

  .swiper-slide{
    width: auto !important;
  }

  .swiper img {
    aspect-ratio: auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .left,
  .right{
    width:50%;
  }

  .address{
    text-align: left;
    font-size: 19px;
    padding-bottom: 40px;
  }

  .address-itms{
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .address-itms>*{
    margin: 0 10px 0 0;
  }

  .address-itms>*+*{
    margin: 0 10px;
    position: relative;
  }

  .address-itms>*+*:before{
    content: '|';
    position: absolute;
    left: -10px;
    transform: translateX(-50%);
  }
}


.video-wrapper:has(video[autoplay]) .pause-play-button,
.swiper.swiper-autoplay.swiper-initialized .pause-play-button {
  display: block;
}

.swiper:not(.swiper-autoplay):not(:has(video)) .pause-play-button {
  display: none;
}

.pause-play-button {
  position: absolute;
  width: 50px;
  height: auto;
  aspect-ratio: 1/1;
  cursor: pointer;
  z-index: 11;
  --pause-width: 25px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 5px;
}

.pause-play-button:before,
.pause-play-button:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 33%;
  background-color: #ffffff;
  transform: translate(-50%, -50%);
  transition: all .3s, border-radius .3s, border-color 0s, width 0s, border-width 0s, background-color 0s;
  border: 0 solid #ffffff;
  width: 3px;
  height: 22px;
  border-radius: 999px;
}

.pause-play-button:not(.is-paused):before,
.pause-play-button:not(.is-paused):after {
  background-color: #ffffff;
  border-color: #ffffff;
}

.pause-play-button:before {
  left: 38%;
  border-color: transparent transparent transparent #ffffff;
}

.pause-play-button:after {
  left: 62%;
}

.pause-play-button.is-paused:before {
  transition: all .3s, border-radius 0s, border-color 0s, width .3s, border-width .3s, background-color 0s;

  background-color: transparent;
  border-radius: 0;
  border-width: calc(calc(50px / 2) * .5);
  border-color: transparent transparent transparent #ffffff;
  width: 50%;
  height: 50%;
  left: 50%;
  transform: translate(-25%, -50%);
}

.pause-play-button.is-paused:after {
  left: 50%;
  opacity: 0;
}

/* josefin-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/josefin-sans-v34-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* josefin-sans-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 500;
  src: url('/fonts/josefin-sans-v34-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* josefin-sans-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 600;
  src: url('/fonts/josefin-sans-v34-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* josefin-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 700;
  src: url('/fonts/josefin-sans-v34-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* afacad-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Afacad';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/afacad-v3-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* afacad-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Afacad';
  font-style: normal;
  font-weight: 500;
  src: url('/fonts/afacad-v3-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* afacad-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Afacad';
  font-style: normal;
  font-weight: 600;
  src: url('/fonts/afacad-v3-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* afacad-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Afacad';
  font-style: normal;
  font-weight: 700;
  src: url('/fonts/afacad-v3-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
