:root{
  --menu_text: #ffffff;
  --footer_text: #4e4e4e;
  --menu_back: #0267FF;
  --footer_back: #121212;
  --font_text: 'Roboto', sans-serif;
  --font-h: 'Roboto', sans-serif;
  --color-1: rgb(58, 110, 175);
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&family=Poppins:ital,wght@0,300;0,400;1,300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mulish&family=Playfair+Display:wght@600&family=Poppins:ital,wght@0,300;0,400;1,300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins&family=Roboto:ital,wght@0,400;0,500;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,700;1,500&family=Roboto:ital,wght@0,400;0,500;0,700;1,400&display=swap');



body {
  margin: 0;
  padding: 0;
}

.hero {
	height: 100vh;
	background-color: #F6F6F6;
	display: flex;
	align-items: center;
}

.hero-image {
  flex: 2;
  background-position: center;
  background-size: auto;
  background-size: cover;
  height: 100%;
  transition: background-image 0.5s ease-in-out;
}


.hero-content {
	flex: 1;
	padding: 2rem;
  color: #000000;
}

.hero-h1 {
  font-family: var(--font-h);
	font-size: 3rem;
	}

.hero-h2 {
  font-family: var(--font-h);
  font-size: 2rem;
  color: var(--color-1);
	margin-bottom: 1rem;
}

.hero-text {
    font-size: 18px;
    font-family: var(--font_text);
}

.a-left {
  height: 680px;
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    align-items: center;
  }

  .hero-image {
    height: 50vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
  }

  .hero-content {
    padding: 1rem;
    text-align: right;
  }
}


.aufteilung {
  margin-left: 10%;
  margin-right: 10%;
  column-count: 2;
  column-gap: 170px;
  position: relative;
  margin-top: 100px;
  margin-bottom: 100px;
}

.aufteilung-lil {
  height: 430px;
  margin-left: 10%;
  margin-right: 10%;
  column-count: 2;
  column-gap: 170px;
  position: relative;
  margin-top: 100px;
  margin-bottom: 100px;
}

.a-img-little {
  height: 300px;
  width: 100%;
  object-fit: cover;
  border-radius: 3px;
}

.blue-rectangle {
    position: absolute;
    top: -37px;
    left: -200px;
    width: 63%;
    height: 115%;
    background-color: #aeaeae;
    z-index: -1;
    border-radius: 10px;
  }



@media (max-width: 768px) {
  .aufteilung {
    column-count: 1;
    column-gap: 0;
  }
.aufteilung-lil {
  column-count: 1;
  column-gap: 0;
  margin-right: 5%;
  margin-left: 5%;
}
  .blue-rectangle {
    display: none; 
  }

  .a-left,
  .a-right {
    column-span: none; 
    }

  .a-h1 {
    margin-top: 20px;
  }
}

.list-head {
  font-size: 23px;
  font-weight: 600;
  list-style: none;
  font-family: var(--font_h);
}

.list-head::before {
  content: 'none';
}

.a-img {
  height: 450px;
  width: 100%;
  object-fit: cover;
  border-radius: 3px;
}

.a-ul {
  line-height: 1.5;
  list-style-type: none;
  font-size: 18px;
  font-family: var(--font_text);
  margin-bottom: 20px;
}

.a-ul li::before {
  content: '- ';
  color: var(--color-1);
}

.a-h1 {
  font-family: var(--font-h);
  font-size: 30px;
}

.little {
  font-size: 23px;
  margin-top: 10px;
  font-weight: 600;
  list-style: none;
}

.mitte {
  font-size: 18px;
  font-family: var(--font_text);
  margin-top: 12px;
}

.anfrage {
  --primary-color: var(--color-1);
  --secondary-color: #fff;
  --hover-color: var(--color-1);
  --arrow-width: 12px;
  --arrow-stroke: 2px;
  box-sizing: border-box;
  border: 0;
  border-radius: 20px;
  color: var(--secondary-color);
  padding: 1em 1.8em;
  background: var(--primary-color);
  display: flex;
  transition: 0.2s background;
  align-items: center;
  gap: 0.6em;
  font-weight: bold;
  text-decoration: none;
  font-size: 16px;
  font-family: var(--font_text);
  margin-top: 8px;
}

.anfrage .arrow-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.anfrage .arrow {
  margin-top: 1px;
  width: var(--arrow-width);
  background: var(--primary-color);
  height: var(--arrow-stroke);
  position: relative;
  transition: 0.2s;
}

.anfrage .arrow::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  border: solid var(--secondary-color);
  border-width: 0 var(--arrow-stroke) var(--arrow-stroke) 0;
  display: inline-block;
  top: -3px;
  right: 3px;
  transition: 0.2s;
  padding: 3px;
  transform: rotate(-45deg);
}

.anfrage:hover {
  background-color: var(--hover-color);
  cursor: pointer;
}

.anfrage:hover .arrow {
  background: var(--secondary-color);
}

.anfrage:hover .arrow:before {
  right: 0;
}

.grundriss {
  background-color: #242526;
  color: white;
  height: 40px;
  width: 200px;
  border: none;
  border-radius: 15px;
  margin-top: 20px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font-size: 18px;
  font-family: var(--font_text);
  margin-top: -10px;
}


.fa-solid {
  margin-left: 5px;
}

.carousel {
  width: 90%;
  margin: 0 auto;
  margin-top: 100px;
  margin-bottom: 100px;
}

.carousel img {
  height: 500px;
  object-fit: cover;
  margin-left: 35px;
}

.carousel .description p {
  margin-top: 5px;
  margin-bottom: 0;
  margin-left: 35px;
  color: black;
  font-family: var(--footer_h);
}

.slick-prev, .slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  font-size: 30px;
  padding: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.description {
  font-size: 20px;
  font-family: var(--font_text);
}

.slick-prev {
  left: -70px;
}

.slick-next {
  right: -10px;
}

.slick-next:hover {
  translate: 1rem;
  color: rgb(0, 0, 0);
}

.slick-prev:hover {
  translate: -1rem;
  color: rgb(0, 0, 0);
}

.unten {
  display: block;
  margin: 0 auto;
  width: 800px;
  font-family: var(--font_text);
  margin-top: 100px;
  text-align: center;
  font-size: 28px;
}

@media only screen and (max-width: 800px) {
  .unten {
    max-width: 90%;
    font-size: 24px;
  }
}

.animated-div-from-left {
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.slide-in {
  opacity: 1;
  transform: translateX(0);
}

.animated-div-from-right {
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.5s;
}

.slide-in {
  opacity: 1;
  transform: translateX(0);
}

#animated-div-from-bottom {
  opacity: 0;
  transform: translateY(100%); 
  transition: opacity 0.5s ease, transform 0.5s ease; 
}

#animated-div-from-bottom.animated {
  opacity: 1; 
  transform: translateY(0); 
}