/* Meteolab 2027 – Kontakt */
.ml-contact-section {
  position: relative;
}

.ml-contact-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 22px;
  padding: 16px 18px;
  border: 1px solid;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
}

.ml-contact-alert strong {
  flex: 0 0 auto;
  color: #0f172a;
}

.ml-contact-alert span {
  color: #334155;
}

.ml-contact-alert-success {
  background: #f0fdf4;
  border-color: rgba(22, 163, 74, .25);
}

.ml-contact-alert-error {
  background: #fff7ed;
  border-color: rgba(234, 88, 12, .24);
}

.ml-contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: 24px;
  align-items: start;
}

.ml-contact-sidebar {
  display: grid;
  gap: 20px;
}

.ml-contact-info-card,
.ml-contact-topics-card,
.ml-contact-form-card {
  padding: 28px;
}

.ml-contact-info-card h2,
.ml-contact-topics-card h2,
.ml-contact-form-card h2 {
  margin: 0 0 12px;
  color: #0f172a;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.ml-contact-info-card > p:not(.ml-kicker),
.ml-contact-form-head > p:not(.ml-kicker) {
  margin: 0;
  color: #526176;
  line-height: 1.65;
}

.ml-contact-detail-list {
  display: grid;
  gap: 0;
  margin-top: 24px;
  border-top: 1px solid rgba(15, 23, 42, .08);
}

.ml-contact-detail {
  display: grid;
  gap: 4px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(15, 23, 42, .08);
}

.ml-contact-detail-label {
  color: #64748b;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ml-contact-detail a,
.ml-contact-detail > span:last-child {
  color: #0f172a;
  font-weight: 720;
  text-decoration: none;
}

.ml-contact-detail a:hover {
  color: #002050;
}

.ml-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.ml-contact-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(21, 130, 199, .2);
  border-radius: 999px;
  background: #eaf5fc;
  color: #0d5f9c;
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}

.ml-contact-links a:hover {
  transform: translateY(-1px);
  background: #002050;
  color: #fff;
}

.ml-contact-topics-card ul {
  display: grid;
  gap: 11px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.ml-contact-topics-card li {
  position: relative;
  padding-left: 22px;
  color: #334155;
  line-height: 1.5;
}

.ml-contact-topics-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #002050;
  box-shadow: 0 0 0 4px rgba(21, 130, 199, .12);
}

.ml-contact-form-card {
  min-width: 0;
}

.ml-contact-form-head {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(15, 23, 42, .08);
}

.ml-contact-form {
  position: relative;
  display: grid;
  gap: 20px;
}

.ml-form-grid {
  display: grid;
  gap: 18px;
}

.ml-form-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ml-form-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.ml-form-field label {
  color: #1e293b;
  font-size: .9rem;
  font-weight: 800;
}

.ml-form-field label span {
  color: #c2410c;
}

.ml-form-field input,
.ml-form-field select,
.ml-form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid rgba(100, 116, 139, .28);
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.ml-form-field textarea {
  min-height: 180px;
  resize: vertical;
  line-height: 1.55;
}

.ml-form-field select {
  cursor: pointer;
}

.ml-form-field input:hover,
.ml-form-field select:hover,
.ml-form-field textarea:hover {
  border-color: rgba(21, 130, 199, .44);
}

.ml-form-field input:focus,
.ml-form-field select:focus,
.ml-form-field textarea:focus {
  border-color: #002050;
  box-shadow: 0 0 0 4px rgba(21, 130, 199, .12);
}

.ml-form-field small {
  color: #64748b;
  font-size: .79rem;
  line-height: 1.45;
}

.ml-contact-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 4px;
}

.ml-contact-recaptcha {
  min-width: 0;
  overflow: hidden;
}

.ml-contact-submit {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 20px;
  border: 1px solid #002050;
  border-radius: 999px;
  background: #002050;
  color: #fff;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 9px 20px rgba(21, 130, 199, .2);
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.ml-contact-submit:hover {
  transform: translateY(-1px);
  background: #0d6fab;
  border-color: #0d6fab;
  box-shadow: 0 12px 25px rgba(21, 130, 199, .27);
}

.ml-contact-submit:focus-visible,
.ml-contact-links a:focus-visible {
  outline: 3px solid rgba(21, 130, 199, .28);
  outline-offset: 3px;
}

.ml-contact-privacy {
  margin: -4px 0 0;
  color: #64748b;
  font-size: .78rem;
  line-height: 1.45;
}

.ml-contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 980px) {
  .ml-contact-layout {
    grid-template-columns: 1fr;
  }

  .ml-contact-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .ml-contact-sidebar,
  .ml-form-grid-two {
    grid-template-columns: 1fr;
  }

  .ml-contact-info-card,
  .ml-contact-topics-card,
  .ml-contact-form-card {
    padding: 21px;
  }

  .ml-contact-form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .ml-contact-submit {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .ml-contact-recaptcha {
    transform: scale(.88);
    transform-origin: left top;
    width: 268px;
    margin-bottom: -8px;
  }
}
