.opp-contact {
  --opp-contact-card: #ffffff;
  --opp-contact-text: #1a1a1a;
  --opp-contact-muted: #5f6b7a;
  --opp-contact-border: #d7dee7;
  --opp-contact-primary: #1f6feb;
  --opp-contact-primary-hover: #1558be;
  --opp-contact-success-bg: #eaf8ef;
  --opp-contact-success-text: #166534;
  --opp-contact-error-bg: #fdecec;
  --opp-contact-error-text: #b42318;
  --opp-contact-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  --opp-contact-radius: 14px;

  color: var(--opp-contact-text);
  width: 100%;
  margin: 0;
}

.opp-contact *,
.opp-contact *::before,
.opp-contact *::after {
  box-sizing: border-box;
}

.opp-contact__card {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  background: var(--opp-contact-card);
  border: 1px solid #edf1f5;
  border-radius: var(--opp-contact-radius);
  box-shadow: var(--opp-contact-shadow);
  padding: 24px;
}

.opp-contact__header {
  margin-bottom: 18px;
}

.opp-contact__title {
  margin: 0 0 6px;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  line-height: 1.2;
  color: var(--opp-contact-text);
}

.opp-contact__intro {
  margin: 0;
  color: var(--opp-contact-muted);
  font-size: 0.97rem;
  line-height: 1.55;
}

.opp-contact__alert {
  border-radius: 10px;
  padding: 12px 14px;
  margin: 0 0 16px;
  font-weight: 600;
  line-height: 1.45;
  font-size: 0.95rem;
}

.opp-contact__alert--success {
  background: var(--opp-contact-success-bg);
  color: var(--opp-contact-success-text);
}

.opp-contact__alert--error {
  background: var(--opp-contact-error-bg);
  color: var(--opp-contact-error-text);
}

.opp-contact__form {
  display: grid;
  gap: 18px;
}

.opp-contact__field {
  display: grid;
  gap: 8px;
  width: 100%;
}

.opp-contact__label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--opp-contact-text);
  line-height: 1.4;
}

.opp-contact__input,
.opp-contact__textarea {
  width: 100%;
  border: 1px solid var(--opp-contact-border);
  border-radius: 10px;
  background: #fff;
  color: var(--opp-contact-text);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.opp-contact__input {
  min-height: 46px;
  padding: 0 12px;
}

.opp-contact__textarea {
  min-height: 130px;
  padding: 12px;
  resize: vertical;
}

.opp-contact__input::placeholder,
.opp-contact__textarea::placeholder {
  color: #8a94a3;
}

.opp-contact__input:focus,
.opp-contact__textarea:focus {
  outline: none;
  border-color: var(--opp-lila);
  box-shadow: 0 0 0 4px rgba(31, 111, 235, 0.12);
}

/* =========================
   Kontaktwege
========================= */

.opp-contact__contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 2px;
}

.opp-contact__checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  line-height: 1.4;
  cursor: pointer;
}

.opp-contact__checkbox input[type="checkbox"] {
  margin: 0;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.opp-contact__checkbox span {
  position: static !important;
}

.opp-contact__checkbox a {
  color: var(--opp-lila);
  text-decoration: underline;
}

/* =========================
   CAPTCHA
========================= */

.opp-contact__captcha-text {
  margin: 0;
  font-size: 0.93rem;
  color: var(--opp-contact-muted);
  line-height: 1.45;
}

.opp-contact__captcha-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 86px));
  gap: 10px;
}

button.opp-contact__captcha-option {
  appearance: none;
  border: 1px solid var(--opp-contact-border);
  background: #fff !important;
  border-radius: 10px;
  padding: 14px 10px;
  cursor: pointer;
  display: grid;
  place-items: center;
  min-height: 86px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.05s ease;
}

.opp-contact__captcha-option:hover {
  border-color: var(--opp-lila);
}

.opp-contact__captcha-option:focus {
  outline: none;
  border-color: var(--opp-lila);
  box-shadow: 0 0 0 4px rgba(31, 111, 235, 0.12);
}

.opp-contact__captcha-option.is-active,
.opp-contact__captcha-option[aria-pressed="true"] {
  border-color: var(--opp-lila);
  background: #ece9ff !important;
  box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.12);
}

.opp-contact__captcha-option:active {
  transform: translateY(1px);
}

.opp-contact__captcha-visual {
  display: grid;
  place-items: center;
}

.opp-contact__captcha-visual svg {
  display: block;
  width: 46px;
  height: 46px;
}

/* =========================
   BUTTON
========================= */

.opp-contact__actions {
  margin-top: 4px;
}

.opp-contact__button {
  appearance: none;
  border: none;
  border-radius: 10px;
  background: var(--opp-lila);
  color: #fff;
  font: inherit;
  font-weight: 700;
  min-height: 40px;
  min-width: 250px;
  padding: 0 18px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.05s ease,
    opacity 0.2s ease;
    text-transform: uppercase;
}

.opp-contact__button:hover {
  opacity: 0.88;
}

.opp-contact__button:active {
  transform: translateY(1px);
}

.opp-contact__button:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(31, 111, 235, 0.18);
}

/* =========================
   Utility
========================= */

.opp-contact__honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* =========================
   Responsive
========================= */

@media (max-width: 640px) {
  .opp-contact__card {
    padding: 18px;
    border-radius: 12px;
  }

  .opp-contact__title {
    font-size: 1.5rem;
  }

  .opp-contact__input,
  .opp-contact__textarea,
  .opp-contact__button {
    font-size: 1rem;
  }

  .opp-contact__contact-methods {
    flex-direction: column;
    gap: 12px;
  }

  .opp-contact__captcha-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* =========================
   Motion reduction
========================= */

@media (prefers-reduced-motion: reduce) {
  .opp-contact *,
  .opp-contact *::before,
  .opp-contact *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* ===========================
Responsive Form
=============================*/
@media(max-width: 375px) {
    .opp-contact__form, .opp-contact__form, .opp-contact__field, .opp-contact__button {
      display: block !important;
      max-width: 100% !important;
      min-width: 100% !important;
      width:100% !important;
    }
}