/* ==========================================================================
   VETSICHT | Seitenbausteine ausserhalb von Elementor
   ========================================================================== */

.vs-404-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--vs-space-2);
  margin: var(--vs-gap-cta) 0 0;
  padding: 0;
  list-style: none;
  max-width: none;
}
.vs-404-links li { margin: 0; }
.vs-404-links a {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid var(--vs-hairline);
  border-radius: var(--vs-r-pill);
  background: var(--vs-white);
  font-size: var(--vs-fs-small);
  font-weight: 450;
  color: var(--vs-dark);
  text-decoration: none;
  transition: border-color var(--vs-t-fast) var(--vs-ease), color var(--vs-t-fast) var(--vs-ease);
}
.vs-404-links a:hover { border-color: var(--vs-hairline-strong); color: var(--vs-primary-dark); }

/* --- Trust-Leiste im Hero ------------------------------------------------ */

.vs-trust .elementor-icon-list-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px var(--vs-space-6);
}
.vs-trust .elementor-icon-list-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: var(--vs-fs-small);
  font-weight: 450;
  color: var(--vs-muted-strong);
}
.vs-trust .elementor-icon-list-icon svg { width: 11px; height: 11px; color: var(--vs-primary); }

/* --- Checklisten in Karten ---------------------------------------------- */

.vs-checklist .elementor-icon-list-item { margin-bottom: 7px; }
.vs-checklist .elementor-icon-list-text { color: var(--vs-body); font-size: var(--vs-fs-small); }
.vs-checklist .elementor-icon-list-icon svg { width: 11px; height: 11px; color: var(--vs-primary); }

/* --- Referenzkarten ------------------------------------------------------ */

.vs-ref { gap: 6px; padding: 26px 24px; }
.vs-ref h3 { margin: 0; font-size: var(--vs-fs-h4); }
.vs-ref__domain { margin: 0; }
.vs-ref__domain a {
  font-size: var(--vs-fs-small);
  font-weight: 450;
  color: var(--vs-muted-strong);
  text-decoration: none;
  word-break: break-word;
}
.vs-ref:hover .vs-ref__domain a { color: var(--vs-primary-dark); }

/* --- Ratgeberkarten ------------------------------------------------------ */

.vs-ratgeber__item { gap: var(--vs-space-3); padding: 26px 24px; }
.vs-ratgeber__item h3 { margin: 0; font-size: var(--vs-fs-h4); }
.vs-ratgeber__item h3 a { color: var(--vs-dark); text-decoration: none; }
.vs-ratgeber__item h3 a:hover { color: var(--vs-primary-dark); }
.vs-ratgeber__media { margin: -26px -24px 0; }
.vs-ratgeber__media img { border-radius: var(--vs-r-card) var(--vs-r-card) 0 0; width: 100%; }
.vs-ratgeber__item .vs-meta { display: flex; gap: var(--vs-space-3); align-items: center; margin: 0; }
.vs-ratgeber__cat { color: var(--vs-primary-dark); font-weight: 500; }

/* --- Vorteils- und Leistungsbloecke -------------------------------------- */

.vs-feature .elementor-icon-box-icon { margin-bottom: var(--vs-space-4) !important; }
.vs-feature .elementor-icon-box-title { margin-bottom: 6px; }
.vs-feature .elementor-icon-box-title span {
  font-family: var(--vs-font-head);
  font-size: var(--vs-fs-h4);
  font-weight: var(--vs-w-head);
  letter-spacing: var(--vs-ls-h4);
  color: var(--vs-dark);
}
.vs-feature .elementor-icon-box-description {
  color: var(--vs-body);
  font-size: var(--vs-fs-small);
  line-height: 1.6;
}
.vs-feature .elementor-icon svg { width: 16px; height: 16px; }

/* --- Text auf dunklen Flaechen ------------------------------------------- */

.vs-cta-band .elementor-widget-text-editor,
.vs-cta-band .vs-lead,
.vs-cta-band p,
.vs-section--dark .elementor-widget-text-editor,
.vs-section--dark .vs-lead,
.vs-section--dark p { color: rgba(255, 255, 255, .76); }

.vs-cta-band .elementor-heading-title { color: var(--vs-white); }

/* --- Karten in Elementor-Containern -------------------------------------- */

.e-con.vs-card { height: 100%; }
.vs-card .elementor-widget-button { margin-top: auto; padding-top: var(--vs-space-3); }

/* ==========================================================================
   Gleichhohe Icon-Boxen
   Elementor gibt icon-box in einem Wrapper aus, der von Haus aus nur so hoch
   ist wie sein Inhalt. Damit eine Reihe homogen wirkt, wird die ganze Kette
   auf volle Hoehe gestellt.
   ========================================================================== */

.e-con.vs-card > .elementor-widget-icon-box,
.vs-card .elementor-widget-icon-box { height: 100%; }

.elementor-widget-icon-box > .elementor-widget-container { height: 100%; }

.elementor-icon-box-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.elementor-icon-box-wrapper .elementor-icon-box-content { flex: 1 1 auto; }

/* Karten in einer Reihe immer gleich hoch */
.e-con-inner > .e-con,
.e-con-full > .e-con { align-self: stretch; }

/* ==========================================================================
   Hero
   ========================================================================== */

.vs-hero { position: relative; }

.vs-hero__media img {
  width: 100%;
  border-radius: var(--vs-r-2xl);
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

/* ==========================================================================
   FAQ: zweispaltig, links der Kopf, rechts die Fragen
   ========================================================================== */

.vs-faq-layout { align-items: flex-start; }

@media (max-width: 1024px) {
  .vs-faq-layout { flex-direction: column; }
  .vs-faq-layout > .e-con { width: 100% !important; }
}

.vs-faq-aside { position: sticky; top: 110px; }

@media (max-width: 1024px) {
  .vs-faq-aside { position: static; }
}

/* ==========================================================================
   Bildbausteine in Sections
   ========================================================================== */

.vs-media img {
  width: 100%;
  border-radius: var(--vs-r-xl);
  aspect-ratio: 8 / 5;
  object-fit: cover;
}

.vs-media--tall img { aspect-ratio: 4 / 5; }

/* ==========================================================================
   Hero als Split-Layout: links Inhalt, rechts Bild
   ========================================================================== */

.vs-hero__row { align-items: center; }

.vs-hero__media img {
  width: 100%;
  border-radius: var(--vs-r-2xl);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .vs-hero__media img { aspect-ratio: 16 / 9; }
}

/* Auf dem Bild ein dezenter Fokusrahmen als Markenmotiv */
.vs-hero__col-media { position: relative; }
.vs-hero__col-media::after {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: calc(var(--vs-r-2xl) - 14px);
  pointer-events: none;
}

@media (max-width: 767px) {
  .vs-hero__col-media::after { inset: 10px; }
}


/* VETSICHT-HOME-V2 ========================================================
   Startseite: Hero-Trustzeile, Referenzkarten, Bento-Leistungen,
   petsXL-Band, Sicherheitsleiste, Kundenstimmen.
   ====================================================================== */

.vs-accent { color: var(--vs-primary); }

/* --- Hero: Vertrauenszeile unter den Buttons --------------------------- */

.vs-herotrust { width: 100%; }

.vs-herotrust .elementor-widget-icon-box .elementor-icon-box-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
}

.vs-herotrust .elementor-icon-box-icon { margin: 0; flex: 0 0 auto; }

.vs-herotrust .elementor-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--vs-primary);
  stroke-width: 1.5;
}

.vs-herotrust .elementor-icon-box-title {
  margin: 0;
  font-family: var(--vs-font-body);
  font-size: var(--vs-fs-small);
  font-weight: 500;
  line-height: 1.35;
  color: var(--vs-body);
  letter-spacing: 0;
}

.vs-herotrust .elementor-icon-box-description { display: none; }

@media (max-width: 767px) {
  .vs-herotrust .elementor-icon-box-title { font-size: .8125rem; }
}

/* --- Referenzkarten ---------------------------------------------------- */

.e-con.vs-refcard {
  padding: 0;
  border: 0;
  background: transparent;
}

.vs-refcard .elementor-widget-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--vs-r-card);
  border: 1px solid var(--vs-soft-border);
}

.vs-refcard .elementor-heading-title {
  font-size: var(--vs-fs-h4);
  letter-spacing: var(--vs-ls-h2);
}

.vs-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.vs-tags p { margin: 0; display: contents; }

.vs-tag {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid var(--vs-border);
  border-radius: 999px;
  font-size: .78125rem;
  line-height: 1.2;
  color: var(--vs-muted);
  white-space: nowrap;
}

/* Auf Mobil als Wischleiste, auf Desktop als Raster */
@media (max-width: 767px) {
  .vs-refrow {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 18px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: -18px;
    padding-inline: 18px;
  }
  .vs-refrow::-webkit-scrollbar { display: none; }
  .vs-refrow > .e-con {
    flex: 0 0 78% !important;
    width: 78% !important;
    scroll-snap-align: start;
  }
}

/* --- Bento: Leistungsbereiche ----------------------------------------- */

.e-con.vs-bentocard {
  padding: 0;
  overflow: clip;
  border: 1px solid var(--vs-soft-border);
  border-radius: var(--vs-r-card);
  background: var(--vs-white);
  transition: border-color .25s ease, transform .25s ease;
}

.vs-bentocard:hover { border-color: var(--vs-border); }

.e-con.vs-bentocard > .e-con-inner { padding: 0; height: 100%; }

.vs-bentocard__row { height: 100%; align-items: stretch; }

.e-con.vs-bentocard__text { padding: 30px 28px; justify-content: center; }

.e-con.vs-bentocard__media { padding: 0; align-self: stretch; }

.vs-bentocard__media .elementor-widget-image,
.vs-bentocard__media .elementor-widget-image .elementor-widget-container,
.vs-bentocard__media .elementor-widget-image figure,
.vs-bentocard__media .elementor-widget-image a { height: 100%; }

.vs-bentocard__media .elementor-widget-image img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  border-radius: 0;
}

.vs-bentocard .elementor-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--vs-primary);
  stroke-width: 1.4;
}

.vs-bentocard .elementor-heading-title {
  font-size: var(--vs-fs-h4);
  letter-spacing: var(--vs-ls-h2);
}

.vs-bentocard p { font-size: var(--vs-fs-small); line-height: 1.6; }

.vs-bento__col { align-self: stretch; }

.vs-bento__col > .e-con { flex: 1 1 auto; }

@media (max-width: 767px) {
  .vs-bentocard__row { flex-direction: column-reverse !important; }
  .vs-bentocard__media .elementor-widget-image img { min-height: 200px; }
}

/* --- petsXL-Band ------------------------------------------------------- */

.vs-petsxl__media { position: relative; }

.vs-petsxl__media .elementor-widget-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--vs-r-cta);
}

.vs-petsxl__badge {
  position: absolute;
  top: -18px;
  right: -10px;
  z-index: 2;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--vs-primary);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(237, 18, 124, .28);
}

.vs-petsxl__badge .elementor-heading-title {
  color: var(--vs-white);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}

@media (max-width: 767px) {
  .vs-petsxl__badge { width: 82px; height: 82px; top: -14px; right: 0; }
  .vs-petsxl__badge .elementor-heading-title { font-size: .9375rem; }
}

/* --- Sicherheitsleiste ------------------------------------------------- */

.vs-trustbar { align-items: stretch; }

.vs-trustbar__lead .elementor-heading-title {
  font-size: var(--vs-fs-h3);
  letter-spacing: var(--vs-ls-h2);
}

.vs-trustbar__lead .elementor-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--vs-primary);
  stroke-width: 1.4;
}

.vs-trustitem .elementor-icon-box-wrapper {
  display: block;
  text-align: left;
}

.vs-trustitem .elementor-icon-box-icon { margin: 0 0 14px; }

.vs-trustitem .elementor-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--vs-primary);
  stroke-width: 1.4;
}

.vs-trustitem .elementor-icon-box-title {
  margin: 0 0 6px;
  font-family: var(--vs-font-head);
  font-size: 1rem;
  font-weight: var(--vs-w-head);
  color: var(--vs-dark);
  letter-spacing: -0.012em;
}

.vs-trustitem .elementor-icon-box-description {
  font-size: var(--vs-fs-small);
  line-height: 1.55;
  color: var(--vs-muted);
}

@media (min-width: 1025px) {
  .vs-trustbar__items > .e-con { border-left: 1px solid var(--vs-soft-border); padding-left: 26px; }
}

/* --- Kundenstimmen ----------------------------------------------------- */

.vs-stimmen { display: flex; flex-wrap: wrap; gap: 20px; }

.vs-stimme {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px 28px;
  border: 1px solid var(--vs-soft-border);
  border-radius: var(--vs-r-card);
  background: var(--vs-white);
}

.vs-stimme__stars { display: flex; gap: 3px; }

.vs-stimme__stars svg { width: 16px; height: 16px; fill: var(--vs-primary); }

.vs-stimme__text {
  margin: 0;
  font-size: var(--vs-fs-body);
  line-height: 1.62;
  color: var(--vs-body);
}

.vs-stimme__person { display: flex; align-items: center; gap: 12px; margin-top: auto; }

.vs-stimme__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--vs-soft-pink);
}

.vs-stimme__name {
  margin: 0;
  font-family: var(--vs-font-head);
  font-size: .9375rem;
  font-weight: var(--vs-w-head);
  color: var(--vs-dark);
}

.vs-stimme__rolle { margin: 0; font-size: var(--vs-fs-small); color: var(--vs-muted); }

.vs-stimme--platzhalter { border-style: dashed; border-color: var(--vs-border); }

.vs-stimme__hinweis {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--vs-soft-pink);
  color: var(--vs-primary-deep);
  font-size: .75rem;
  font-weight: 500;
}

/* --- Kopfzeile mit Button rechts --------------------------------------- */

.vs-headrow { align-items: flex-end; }

@media (max-width: 767px) {
  .vs-headrow { align-items: flex-start; }
}

/* Kundenstimmen-Band nur zeigen, wenn echte Stimmen hinterlegt sind. */
@supports selector(:has(*)) {
  .vs-stimmenband:not(:has(.vs-stimme)) { display: none; }
}
