/* playfair-display-sc-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: 'Playfair Display SC';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/playfair-display-sc-v17-latin/playfair-display-sc-v17-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* playfair-display-sc-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: 'Playfair Display SC';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/playfair-display-sc-v17-latin/playfair-display-sc-v17-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
@font-face {
  font-family: 'Playfair var';
  src: url('../fonts/playfair/Playfair[opsz,wdth,wght].ttf') format('truetype');
  font-display: swap;
}
/* roboto-300 - 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: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/roboto-v47-latin/roboto-v47-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-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: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-v47-latin/roboto-v47-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}



/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  line-height: 1.5;
  padding: 0px;
  background-color: #fafafa;
  color: #000;
  width: 100%;
  scroll-behavior: smooth; 
  overflow-x: hidden;
  height: calc(var(--vh) * 100);
}

a {
  color: inherit;
  text-decoration: none;
}




/* ========== Intro Texteeeeee ========== */
.intro-text {
  padding: 0rem 1rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  margin-top: 7rem;
  margin-bottom: 3rem;
}
.intro-text h2 {
  font-size: 2.5rem;
  font-family: 'Playfair Display SC';
  text-transform: uppercase;
  font-weight: 400;
  padding-top: 2rem;
}
.intro-text p {
  font-size: 1rem;
  font-weight: 300;
  color: #646464;
}
@media (max-width: 768px) {
  .intro-text h2 {
    font-size: 2rem;
  }
}




.umgebung-sort {
  padding: 0rem;
  align-self: center;
  display: flex;
}
.umgebung-sort-title {
  justify-content: center;
  text-align: center;
  margin: 0 auto;
}
.umgebung-sort h3 {
  font-size: 2rem;
  font-family: 'Playfair Display SC';
  text-transform: uppercase;
  font-weight: 400;
  padding-top: 2rem;
  text-align: center;
  justify-content: center;
}





.umgebung-section {
  text-align: center;
  margin: 0rem 1rem;
  margin-bottom: 4rem;
  margin-top: 1rem;
  justify-content: center;
  display: flex
}

.umgebung-section-add {
  text-align: center;
  margin: 0rem 1rem;
  margin-bottom: 4rem;
  margin-top: -5rem;
  justify-content: center;
  display: flex
}

@media (max-width: 1024px) {
  .umgebung-section {
    margin-bottom: 2rem;
  }
  .umgebung-section-add {
    margin-top: -1rem;
  }
  .umgebung-grid {
    padding-bottom: 0rem !important;
  }
}





.umgebung-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding-bottom: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}


.umgebung-grid {
  display: flex;
  flex-wrap: nowrap; /* verhindert Umbruch */
  justify-content: center;
  gap: 1rem;
  padding-bottom: 3rem;
  max-width: 100%;
  margin: 0 auto;
}

.umgebung-column {
  flex: 0 0 30%;
  min-width: 240px;
  max-width: 400px;
  padding: 10px;
  box-shadow: -2px 2px 3px rgba(0, 0, 0, 0.115);
  transition: 0.5s ease;
}
.umgebung-column:hover {
  box-shadow: none;
}

@media (max-width: 768px) {
  .umgebung-grid {
    display: flex;
    flex-wrap: wrap; /* erlaubt Umbruch */
    justify-content: center;
    gap: 2rem;
    padding-bottom: 3rem;
    max-width: 1400px;
    margin: 0 auto;
  }
  
  .umgebung-column {
    flex: 1 1 400px;
    max-width: 400px;
    padding: 10px;
    box-shadow: -2px 2px 3px rgba(0, 0, 0, 0.115);
    transition: 0.5s ease;
  }
}





.umgebung-img {
  width: 100%;
  margin: 0 auto;
  max-width: 400px;
  height: auto;
}
.umgebung-img img {
  width: 100%;
  max-width: fit-content;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}



.umgebung-titel h4 {
  text-align: left;
  font-family: 'Playfair Display SC';
  text-transform: uppercase;
  font-weight: 400;
  font-size: 1.6rem;
  padding: 5px;
  margin-top: -3px;
}
.umgebung-titel p {
  text-align: left;
  font-family: 'Roboto' sans-serif;
  font-weight: 300;
  color: #646464;
  font-size: 1rem;
  padding: 0px 5px;
}



.umgebung-button {
  justify-self: left;
  border: 1px solid black;
  padding: 0.3rem 1rem;
  transition: 0.5s ease, opacity 0.5s ease;
  font-family: 'Playfair Display SC';
  font-weight: 200;
  background-color: white;
  color: black;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  cursor: pointer;
  text-align: center;
  margin: 15px 5px;
  margin-bottom: 5px;
}
.umgebung-button:hover {
  border: 1px solid white;
  background-color: black !important;
  color: white !important;
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
}



.last-button-container {
  display: flex;
  margin: 0 auto;
  padding: 20px;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}
.last-button {
  justify-self: center;
  border: 1px solid black;
  padding: 0.5rem 1rem;
  transition: 0.5s ease, opacity 0.5s ease;
  font-family: 'Playfair Display SC';
  font-weight: 200;
  background-color: white;
  color: black;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  cursor: pointer;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  min-width: max-content;
  white-space: nowrap;
  text-align: center;
}
.last-button:hover {
  border: 1px solid white;
  background-color: black !important;
  color: white !important;
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
}









