/* ===== Kontakt Section ===== */

main {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  padding: 80px 16px;

  background-image: 
        /* 1. EBENE (Ganz oben): Sanfter Fadeout in Weiß nach oben und unten */
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0) 15%,
      rgba(255, 255, 255, 0) 85%,
      rgba(255, 255, 255, 1) 100%
    ),
    /* 2. EBENE: Deutlich mehr Weiß in der Mitte der Seite */
    radial-gradient(
        circle at center,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.9) 35%,
        rgba(255, 255, 255, 0) 70%
      ),
    /* 3. EBENE (Ganz unten): Chocolate und Grau an den seitlichen Rändern */
    radial-gradient(
        ellipse at 100% 50%,
        chocolate 0%,
        rgba(210, 105, 30, 0) 60%
      ),
    radial-gradient(ellipse at 0% 50%, gray 0%, rgba(128, 128, 128, 0) 60%);

  /* Fixiert den Hintergrund, damit er beim Scrollen stehen bleibt */
  background-attachment: fixed;
}

.text {
  max-width: 700px;
  width: 100%;
  text-align: center;
  margin-bottom: 32px;
}

/* Überschrift */
.text h1 {
  margin: 0 0 32px 0;
  font-size: 2.5rem;
}

/* Kontakt Infos */
.text p {
  font-size: 1.1rem;
  margin: 12px 0;
}

/* einzelne Kontaktzeilen schöner */
.text p strong {
  color: chocolate;
}

/* Links (Email, Insta klickbar machen!) */
.text a {
  color: chocolate;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.text a:hover {
  opacity: 0.7;
}

/* ===== Kontakt Box (optional für mehr Premium Look) ===== */

.text {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ===== Map Placeholder ===== */

.map {
  width: 100%;
  height: 300px;
  border-radius: 16px;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  font-size: 0.9rem;
}

/* ===== Google Maps ===== */

/* Wrapper sorgt für gleiche Breite wie Kontakt-Box */
.map-wrapper {
  display: flex;
  justify-content: center;
  max-width: 780px;
  width: 100%;
  padding: 0 16px; /* Abstand zu den Seiten */
  margin-bottom: 32px;
}

.map-container {
  max-width: 780px; /* gleiche Max-Width wie Kontakt-Box */
  width: 100%;
  height: 350px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
/* ===== Mobile ===== */
/* ===== Kontakt Formular ===== */

.form-divider {
  border: none;
  border-top: 1px solid #eee;
  margin: 32px 0;
}

.text h2 {
  font-family:
    "ArchivoBlack-Regular", sans-serif; /* Deine Überschriften-Schriftart */
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left; /* Überschreibt das text-align: center von .text */
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kontakt-form label {
  font-family: "DroidSans", sans-serif; /* Deine Fließtext-Schriftart */
  font-weight: bold;
  color: #333;
  font-size: 0.95rem;
}

.kontakt-form input,
.kontakt-form select,
.kontakt-form textarea {
  font-family:
    "DroidSans", sans-serif; /* Deine Fließtext-Schriftart für die Eingabe */
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  background-color: #fafafa;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

/* Fokus-Effekt in deiner Markenfarbe */
.kontakt-form input:focus,
.kontakt-form select:focus,
.kontakt-form textarea:focus {
  outline: none;
  border-color: chocolate;
  box-shadow: 0 0 0 3px rgba(210, 105, 30, 0.2);
  background-color: #fff;
}

/* Sende-Button im Design deiner restlichen Buttons */
.submit-btn {
  font-family: "DroidSans", sans-serif; /* Deine Fließtext-Schriftart */
  margin-top: 16px;
  padding: 16px;
  background-color: chocolate;
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
}

.submit-btn:hover {
  background-color: white;
  border: 1px solid chocolate;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}
/* Erzeugt einen sanften Übergang, wenn das Paket-Feld erscheint */
#paket-container {
  animation: fadeInField 0.3s ease forwards;
}

@keyframes fadeInField {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  main {
    padding: 40px 16px;
  }

  .text {
    padding: 24px;
  }

  .text h1 {
    font-size: 2rem;
  }
}
