/* Modal fuer das "Anzeigen-Infos anfordern"-Formular (Startseite) */

.anzeigen-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(43, 42, 38, 0.55);
}

.anzeigen-overlay.is-open {
  display: flex;
}

.anzeigen-modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--color-white);
  border-radius: 8px;
  padding: 32px 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.anzeigen-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: none;
  background: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--color-text-soft);
  cursor: pointer;
  padding: 4px 8px;
}

.anzeigen-modal h2 {
  font-family: var(--font-headline);
  margin: 0 0 8px;
  color: var(--color-text);
}

.anzeigen-modal__intro {
  margin: 0 0 20px;
  color: var(--color-text-soft);
  font-size: 0.95rem;
}

.anzeigen-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.anzeigen-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--color-text-soft);
  margin-top: 10px;
}

.anzeigen-form input[type="text"],
.anzeigen-form input[type="email"],
.anzeigen-form textarea {
  font: inherit;
  padding: 0.55rem 0.7rem;
  border: 1px solid #cfc8b6;
  border-radius: 4px;
  color: var(--color-text);
}

.anzeigen-form textarea {
  resize: vertical;
}

.anzeigen-form__hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

.anzeigen-form__checkbox-label {
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
}

.anzeigen-form__checkbox-label input {
  margin-top: 3px;
}

.anzeigen-form__checkbox-label a {
  color: var(--color-green);
}

.anzeigen-form__error {
  color: #a83232;
  font-size: 0.85rem;
  min-height: 1.1em;
}

.anzeigen-form__banner {
  background: #f7e3e0;
  color: #a83232;
  padding: 0.7rem 0.9rem;
  border-radius: 4px;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.anzeigen-form__success p {
  color: var(--color-text);
  margin: 0 0 16px;
}

.anzeigen-button {
  align-self: flex-start;
  margin-top: 18px;
  padding: 0.65rem 1.4rem;
  background: var(--color-green);
  color: var(--color-white);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.anzeigen-button:disabled {
  opacity: 0.6;
  cursor: default;
}

body.anzeigen-no-scroll {
  overflow: hidden;
}
