/* ============================================================
   Kontakt & Feedback – Overlay (site-weit)
   .av-ct- Praefix, Manrope, Farbwelt #333366 / Navy.
   Aufbau/Anordnung wie WBV, Styling an Riat angepasst.
   ============================================================ */
.av-ct-overlay {
  position: fixed; inset: 0; z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(16, 26, 46, .45);
  opacity: 0; transition: opacity .18s ease;
}
.av-ct-overlay.is-visible { opacity: 1; }

.av-ct-dialog {
  background: #fff; border-radius: 16px;
  box-shadow: 0 24px 60px rgba(10, 25, 50, .18), 0 4px 16px rgba(10, 25, 50, .08);
  width: 100%; max-width: 560px; max-height: calc(100vh - 40px);
  display: flex; flex-direction: column;
  transform: translateY(8px); opacity: 0;
  transition: transform .18s ease, opacity .18s ease;
}
.av-ct-overlay.is-visible .av-ct-dialog { transform: translateY(0); opacity: 1; }

.av-ct-header {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--av-line);
  background: linear-gradient(180deg, var(--av-bg-soft) 0%, #fff 100%);
  border-radius: 16px 16px 0 0;
}
.av-ct-icon {
  width: 34px; height: 34px; flex: none; border-radius: 9px;
  display: grid; place-items: center;
  background: #eaf1fb; color: var(--av-navy);
}
.av-ct-title { flex: 1; margin: 0; font-size: 17px; font-weight: 700; color: var(--av-text); }
.av-ct-close {
  width: 32px; height: 32px; flex: none; border: none; background: transparent;
  cursor: pointer; color: var(--av-muted);
  display: grid; place-items: center; border-radius: 8px;
  transition: background .12s, color .12s;
}
.av-ct-close:hover { background: var(--av-bg-soft); color: var(--av-text); }

.av-ct-body { padding: 20px 24px; overflow-y: auto; }
.av-ct-intro {
  margin: 0 0 16px; padding-bottom: 16px;
  font-size: 14px; line-height: 1.6; color: var(--av-muted);
  border-bottom: 1px solid var(--av-line);
}
.av-ct-form { display: flex; flex-direction: column; gap: 14px; }
.av-ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.av-ct-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.av-ct-label { font-size: 12px; font-weight: 600; color: var(--av-heading); }
.av-ct-req { color: #e0466a; margin-left: 1px; }

.av-ct-input, .av-ct-textarea {
  width: 100%; box-sizing: border-box; padding: 9px 12px;
  border: 1.5px solid var(--av-card-border); border-radius: 8px;
  font-family: inherit; font-size: 14px; color: var(--av-text);
  background: var(--av-bg-soft);
  transition: border-color .15s, box-shadow .15s, background .15s;
  outline: none; resize: none;
}
.av-ct-input:focus, .av-ct-textarea:focus {
  border-color: var(--av-navy); background: #fff;
  box-shadow: 0 0 0 3px rgba(22, 53, 122, .12);
}
.av-ct-input::placeholder, .av-ct-textarea::placeholder { color: #a3adc6; }

.av-ct-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  padding: 14px 24px 20px; border-top: 1px solid var(--av-line);
}
.av-ct-hint { font-size: 12px; color: var(--av-muted); }
.av-ct-btns { display: flex; gap: 10px; }
.av-ct-btn {
  font-family: inherit; font-size: 14px; font-weight: 600;
  padding: 9px 20px; border-radius: 8px; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background .12s, color .12s, border-color .12s;
}
.av-ct-btn--primary { background: var(--av-navy); color: #fff; }
.av-ct-btn--primary:hover { background: var(--av-navy-dark); }
.av-ct-btn--secondary { background: transparent; color: var(--av-text); border-color: var(--av-card-border); }
.av-ct-btn--secondary:hover { background: var(--av-bg-soft); color: var(--av-navy); }

@media (max-width: 560px) {
  .av-ct-row { grid-template-columns: 1fr; }
  .av-ct-footer { justify-content: stretch; }
  .av-ct-btns { flex: 1; }
}
