/* ---------- HERO ---------- */

.kontakt-hero {
  padding: 24px 18px 32px;
  background-color: var(--green-dark);
  color: var(--white);
  text-align: center;
}

.kontakt-title {
  margin: 0 0 15px;
  color: var(--yellow-light);
}

.kontakt-intro {
  margin: 0 auto 20px;
  line-height: 1.6;
  text-align: center;
  max-width: 270px;
}

.kontakt-hero-img {
  margin: 50px 0 35px;
  height: auto;
  max-width: 350px;
  border-radius: 12px;
}

.kontakt-hero-btn {
  display: block;
  margin-top: 4px;
  margin: 50px auto 170px;
  max-width: 200px;
  font-size: 20px;
  text-decoration: none;
}
@media (min-width: 900px) {
  .kontakt-hero {
    margin-top: -80px;
  }

  .kontakt-intro {
    max-width: 600px;
  }

  .kontakt-hero-img {
    margin: 8px 0 30px;
    width: 1000px;
    max-width: 80%;
    height: 400px;
    object-fit: cover;
  }
}

/* ---------- GENERELLE KNAPPER ---------- */

.btn-primary,
.btn-secondary {
  border: none;
  border-radius: 999px;
  letter-spacing: 0.08em;
  cursor: pointer;
  padding: 10px 22px;
}

.btn-primary {
  background-color: var(--yellow-main);
  color: var(--text-dark);
  box-shadow: 0 4px 10px rgba(0,0,0,0.35);
}

.btn-secondary {
  background-color: var(--yellow-main);
  color: var(--text-dark);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  display: inline-block;
  text-align: center;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

/* ---------- KONTAKT MULIGHEDER ---------- */

.kontakt-options {
  background-color: var(--yellow-main);
  padding: 35px 18px 34px;
  color: var(--text-dark);
}

.section-heading1 {
  text-align: center; /* Center the heading */
  margin-bottom: 40px; /* Add spacing below the heading */
  color: var(--text-dark); /* Ensure it contrasts well with the background */
}

.kontakt-card {
  background-color: var(--green-dark);
  color: var(--white);
  border-radius: 16px;
  padding: 18px 16px 16px;
  display: flex; /* Enable flexbox for alignment */
  flex-direction: column; /* Stack content vertically */
  align-items: center; /* Center content horizontally */
  justify-content: center; /* Center content vertically */
  text-align: center; /* Center-align text */
  gap: 6px; /* Add spacing between elements */
  margin: 40px auto 16px; /* Center the card and add spacing below */
  max-width: 230px; /* Limit the width of the card */
}

.kontakt-card-icon {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background-color: var(--yellow-main);
  display: flex; /* Enable flexbox for alignment */
  align-items: center; /* Center icon vertically */
  justify-content: center; /* Center icon horizontally */
}

.kontakt-card-icon img {
  width: 26px;
  height: 26px;
}

.kontakt-card-content h3 {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow-light);
  margin: 10px 0 6px;
}

.kontakt-card-content p {
  line-height: 1.5;
  margin: 0 0 50px;
}

@media (min-width: 900px) {
  .kontakt-options {
    display: flex; /* Enable flexbox for side-by-side layout */
    flex-wrap: wrap; /* Allow wrapping if there are too many cards */
    justify-content: center; /* Center the cards horizontally */
    gap: 20px; /* Add spacing between the cards */
  }

  .section-heading1 {
    width: 100%; /* Ensure the heading spans the full width */
    margin-bottom: 50px; /* Add more spacing for larger screens */
  }

  .kontakt-card {
    max-width: 300px; /* Limit the width of the cards */
    min-height: 450px;
    flex: 1; /* Allow the cards to grow and shrink */
  }

  .btn-secondary {
    padding: 14px 28px;
    font-size: 18px;
  }
}

/* ---------- FORMULAR ---------- */

.kontakt-form-section {
  background-color: var(--green-dark);
  color: var(--white);
  padding: 26px 18px 40px;
  max-width: 200px;
}

.kontakt-form-section .section-heading {
  color: var(--yellow-main);
  margin-bottom: 18px;
}

.section-heading2 {
  text-align: center;
  margin: 60px 0 40px;
  color: var(--yellow-light);
}

.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-field {
  display: flex;
  flex-direction: column;
  align-content: center;
  padding: 2px 75px;
  gap: 4px;
  color: var(--text-dark);
  font-family: var(--font-secondary);
}

.form-field input,
.form-field textarea {
  border-radius: 999px;
  border: none;
  padding: 18px 14px;
  outline: none;
}

.form-field textarea {
  border-radius: 22px;
  resize: vertical;
  min-height: 90px;
}

.form-submit {
  width: 250px;
  height: 50px;
  margin-top: 8px;
  align-self: center;
  font-weight: 700;
}

@media (min-width: 900px) {
  .kontakt-form {
    margin-bottom: 50px;
  }
  .form-submit {
    width: 300px;
    height: 60px;
    font-size: 18px;
    font-weight: 700;
  }
}