/* ==========================================================================
   VETSICHT | Anfrage-Panel
   Fährt über die volle Fläche ein. Links eine ruhige dunkle Spalte mit Marke
   und Argumenten, rechts das Formular mit begrenzter Lesebreite.
   ========================================================================== */

.vs-panel-backdrop {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: rgba(17, 16, 17, .5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--vs-t-base) var(--vs-ease), visibility 0s linear var(--vs-t-base);
}

.vs-panel {
  position: fixed;
  inset: var(--vs-sheet-gap);
  z-index: 140;
  display: flex;
  background: var(--vs-white);
  border-radius: var(--vs-sheet-radius);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(.985);
  transform-origin: center;
  transition:
    transform 420ms cubic-bezier(.22, .61, .36, 1),
    opacity 260ms var(--vs-ease),
    visibility 0s linear 420ms;
}

body.vs-panel-open .vs-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
body.vs-panel-open .vs-panel-backdrop { opacity: 1; visibility: visible; transition-delay: 0s; }
body.vs-panel-open { overflow: hidden; }

/* --- Linke Spalte -------------------------------------------------------- */

.vs-panel__aside {
  flex: 0 0 38%;
  max-width: 520px;
  background: var(--vs-dark);
  color: rgba(255, 255, 255, .7);
  padding: clamp(36px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}

.vs-panel__aside-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 40px;
}

.vs-panel__logo { display: inline-block; line-height: 0; }
.vs-panel__logo img { height: 32px; width: auto; }

.vs-panel__claim {
  margin: 0 0 26px;
  font-family: var(--vs-font-head);
  font-size: clamp(1.5rem, 2.2vw, 2.125rem);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.16;
  color: var(--vs-white);
  max-width: 16ch;
}

.vs-panel__points { margin: 0; padding: 0; list-style: none; }
.vs-panel__points li {
  position: relative;
  margin: 0 0 14px;
  padding-left: 22px;
  font-size: var(--vs-fs-small);
  line-height: 1.55;
  color: rgba(255, 255, 255, .66);
}
.vs-panel__points li:last-child { margin-bottom: 0; }
.vs-panel__points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vs-primary);
}

.vs-panel__mail {
  font-family: var(--vs-font-head);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--vs-white);
  text-decoration: none;
}
.vs-panel__mail:hover { color: var(--vs-primary); }

/* --- Rechte Spalte ------------------------------------------------------- */

.vs-panel__main {
  flex: 1 1 auto;
  padding: clamp(28px, 3.5vw, 56px) clamp(22px, 4vw, 64px) clamp(32px, 4vw, 56px);
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
}

.vs-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--vs-space-4);
  margin-bottom: var(--vs-space-3);
}

.vs-panel__title {
  margin: 0;
  font-size: clamp(1.625rem, 2.4vw, 2.25rem);
  letter-spacing: -0.028em;
}

.vs-panel__close {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: none;
  border: 1px solid var(--vs-hairline-strong);
  border-radius: var(--vs-r-md);
  color: var(--vs-dark);
  cursor: pointer;
  transition: border-color var(--vs-t-fast) var(--vs-ease), color var(--vs-t-fast) var(--vs-ease);
}
.vs-panel__close:hover { border-color: var(--vs-dark); color: var(--vs-primary-dark); }

.vs-panel__text {
  margin: 0 0 clamp(24px, 3vw, 36px);
  max-width: 58ch;
  font-size: var(--vs-fs-body);
  line-height: 1.6;
  color: var(--vs-muted-strong);
}

.vs-panel__form { width: 100%; max-width: 760px; }
.vs-panel__form .wpcf7 { --vs-field-gap: 20px; }

/* --- Responsiv ----------------------------------------------------------- */

@media (max-width: 1024px) {
  .vs-panel { flex-direction: column; }
  .vs-panel__aside {
    flex: 0 0 auto;
    max-width: none;
    padding: 26px 22px;
  }
  .vs-panel__aside-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; height: auto; }
  .vs-panel__claim { margin: 0; font-size: 1.25rem; max-width: 20ch; }
  .vs-panel__points,
  .vs-panel__mail { display: none; }
  .vs-panel__logo img { height: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .vs-panel { transition: opacity .01ms; transform: none; }
}

.vs-panel__mitte { display: flex; flex-direction: column; }

@media (max-width: 1024px) {
  .vs-panel__mitte { flex: 1 1 auto; }
}
