/* 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-text {
  padding: 0rem 1rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  margin-top: 7rem;
}
.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;
  }
}

h3 {
  text-align: left;
  font-family: 'Playfair Display SC';
  text-transform: uppercase;
  font-size: 1.8rem;
  font-weight: 400;
  margin-top: -0.5rem;
  padding-bottom: 0.5rem;
}





.contact-section {
  margin: 0 auto;
  padding: 4rem;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr; /* zwei Spalten nebeneinander */
  gap: 3rem;
  align-items: top; /* vertikal zentrieren */
  max-width: 1200px;
}

.contact-img {
  text-align: right;
}

.contact-img img {
  max-width: 100%;
  height: auto;
  max-width: 500px;
}

.contact-text {
  text-align: left;
  max-width: 520px;
  padding: 15px;
  font-weight: 300;
  box-shadow: -2px -2px 3px rgba(0, 0, 0, 0.115);
}

/* Responsive: auf kleineren Bildschirmen untereinander */
@media (max-width: 1200px) {
  .contact-info {
    grid-template-columns: 1fr; /* nur noch eine Spalte */
    text-align: center;
    max-width: 480px;
    gap: 0rem;
  }
  .contact-img {
    text-align: center;
  }
  .contact-img img {
    max-width: 480px;
  }
  .contact-text {
    margin-top: 2rem;
  }
}
@media (max-width: 768px) {
  .contact-info {
    grid-template-columns: 1fr; /* nur noch eine Spalte */
    justify-content: center;
    max-width: 360px;
    text-align: center;
    gap: 0rem;
  }
  .contact-img {
    text-align: center;
    max-width: 360px;
    justify-content: center;
  }
  .contact-img img {
    max-width: 360px;
  }
  .contact-text {
    margin-top: 2rem;
    max-width: 360px;
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .contact-info {
    grid-template-columns: 1fr; /* nur noch eine Spalte */
    justify-content: center;
    max-width: 320px;
    text-align: center;
    gap: 0rem;
  }
  .contact-img {
    text-align: center;
    max-width: 320px;
    justify-content: center;
  }
  .contact-img img {
    max-width: 320px;
  }
  .contact-text {
    margin-top: 2rem;
    max-width: 320px;
    justify-content: center;
  }
}







.contact-section-form {
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: center;
}

.contact-form {
  display: flex; /* Statt flex, wenn du Grid nutzen willst */
  width: 100%;
  max-width: 1088px; /* Maximale Breite */
  margin: 0 auto;
  justify-content: center;
}

form {
  width: 100%;
  background-color: #fafafa;
  padding: 1rem;
  border-radius: 0px;
  justify-content: center;
}

@media (max-width: 1200px) {
  form {
    max-width: 480px;
    padding: 0;
  }
}
@media (max-width: 768px) {
  form {
    max-width: 360px;
    padding: 0;
  }
}
@media (max-width: 480px) {
  form {
    max-width: 320px;
    padding: 0;
  }
}

label {
  display: block;
  margin-bottom: -1.2rem;
  font-weight: bold;
  color: black;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #9c9c9c !important;
  border-radius: 0px !important;
  font-size: 1rem;
  background-color: #fafafa;
  font-family: 'Roboto';
  font-weight: 300;
}

textarea {
  height: 150px;
  resize: vertical;
}


button[type="submit"] {
  justify-self: flex-start;
  border: 1px solid black;
  padding: 0.5rem 1.5rem;
  transition: 0.5s ease, opacity 0.5s ease;
  font-family: 'Playfair Display SC';
  font-weight: 400;
  font-size: 1rem;
  background-color: white;
  color: black;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  text-align: center;
  cursor: pointer;
}

button[type="submit"]:hover {
  border: 1px solid white;
  background-color: black !important;
  color: white !important;
  opacity: 1;
  pointer-events: auto;
}


.contact-section-form-result {
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.form-result {
  color: black;
  justify-content: left;
  margin: 0 auto;
  padding: 1rem;
  text-align: left;
}

@media (max-width: 1200px) {
  .form-result {
    max-width: 480px;
    padding: 0;
  }
}
@media (max-width: 768px) {
  .form-result {
    max-width: 360px;
    padding: 0;
  }
}
@media (max-width: 480px) {
  .form-result {
    max-width: 320px;
    padding: 0;
  }
}















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






.faq-section {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
  /* Kein display: flex hier, damit der Inhalt nicht unnötig auseinandergezogen wird */
  padding: 3rem 0;
}

.faq-section h2 {
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 1024px) {
  .faq-container {
    max-width: 80%;
  }
}
@media (max-width: 430px) {
  .faq-container {
    max-width: 100%;
  }
}

.faq-item {
  border: 1px solid #000000;
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-question {
  background-color: #fafafa;
  padding: 15px 20px;
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Playfair Display SC';
  font-weight: 400;
  font-size: 1rem;
  text-align: left;
  gap: 0.5rem;
}

.faq-toggle {
  position: relative;
  width: 1rem;
  height: 1rem;
  cursor: pointer;
  min-width: 1rem;
  min-height: 1rem;
}

.line {
  position: absolute;
  background-color: #222222;
  transition: transform 0.33s ease, opacity 0.33s ease;
}

/* Horizontale Linie */
.horizontal {
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  transform: translateY(-50%) rotate(0deg); /* Start: Horizontal */
}

/* Vertikale Linie */
.vertical {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%) rotate(0deg); /* Start: Vertikal */
}

/* Wenn geöffnet: Die Vertikale dreht sich zur Horizontalen */
.faq-item.open .horizontal {
  transform: translateY(-50%) rotate(-90deg);  /* bleibt horizontal */
  opacity: 0;
}

.faq-item.open .vertical {
  opacity: 1;  /* verschwindet */
  transform: translateX(-50%) rotate(-90deg); /* dreht sich zur Horizontalen */
}



.faq-answer {
  padding: 0 20px;
  padding-top: 0 !important;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  background-color: #fafafa;
  transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
  font-family: 'Roboto';
  font-weight: 300;
  text-align: left;
}







.last-button-container {
  display: flex;
  margin: 0 auto;
  padding: 20px;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
}
.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;
}