/* ================================
   Weinvierterl – Custom CSS (minimal)
   Nur Dinge, die NICHT per VP Smart gehen
================================== */

/* Lightbox: Overlay dezenter (falls Plugin keine Theme-Option hat) */
#imagelightbox-overlay { background: #efeee8; }
#imagelightbox { box-shadow: none; }
#imagelightbox-close { color: #2c2c2c; }

/* VP Manufacturer Carousel – Modul-Box via Modul-Klassensuffix "mod-logos" */
.bottom-slider .container .inner-container { background-color: #f5f2ea; }
.container .inner-container {
  background-color: #fdfaf5;
  border-left: none;
  border-right: none;
}
.vppl-image-cont { background: #fdfaf5; border: none; }
.product-image-gallery-main-cont,
.product-listing .product-inner,
.vp-product-carousel-inner .product-inner,
.category-list .category-item-inner,
.vendor-inner,
.manufacturer-inner { background-color: #fdfaf5; }
.product-listing .product-image-cont { background-color: #fdfaf5; }

/* Dialoge / Modals */
.bootstrap-dialog.type-info .modal-header { background-color: #7fac31; }

/* ================================
   ProOPC – Buttons
================================== */
.proopc-btn-info {
  background-color: #7fac31;
  background-image: none;
  color: #fff;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.proopc-btn-info:hover,
.proopc-btn-info:focus,
.proopc-btn-info:active,
.proopc-btn-info.active,
.proopc-btn-info.disabled,
.proopc-btn-info[disabled] {
  background-color: #2c2c2c;
  color: #fff;
  border-color: #2c2c2c;
  outline: none;
}

/* ================================
   Bootstrap – Default Button
================================== */

/* Grundzustand (grün) */
.btn-default {
  color: #ffffff;
  background-color: #7fac31;
  border-color: #7fac31;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}

/* Hover / Fokus / Aktiv → schwarz */
.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
  color: #ffffff;
  background-color: #2c2c2c;
  border-color: #2c2c2c;
  outline: none;
}

/* Speziell Tastaturfokus sichtbar (wie Hover, optional mit Ring) */
.btn-default:focus-visible {
  color: #ffffff;
  background-color: #2c2c2c;
  border-color: #2c2c2c;
  outline: none;
  box-shadow:
    0 0 0 3px #fff,      /* Innenkontrast für helle Hintergründe */
    0 0 0 5px #2c2c2c;   /* Fokus-Ring in Schwarz */
}

.btn-nobg, .btn-nobg:focus, .btn-nobg:active, .btn-nobg.active {
  color: #2c2c2c;
  font-weight: bold;
}
.btn-nobg:hover {
  color: #7fac31;
}
.btn-nobg .fa {
  background: #2c2c2c;
  color: #ffffff;
}
.btn-nobg .fa:hover {
  background: #7fac31;
  color: #ffffff;
}

/* ---------------------------------
   LINK-Animation: übertriebener Einstieg beim Laden
----------------------------------- */
.modal-animate-slide {
  display: inline-block;
  animation: crazyEntrance 1.5s ease-in-out forwards;
}

/* Glow- & Rotations-Effekt beim Klick auf Versandlink */
.versandlink.clicked {
  animation: crazyGlow 1s ease-in-out;
}

@keyframes crazyEntrance {
  0% {
    transform: rotate(-30deg) scale(0.3) translateY(-100px);
    opacity: 0;
    filter: blur(5px);
  }
  25% {
    transform: rotate(15deg) scale(1.2) translateY(20px);
    opacity: 0.5;
    filter: blur(2px);
  }
  50% {
    transform: rotate(-15deg) scale(0.9) translateY(-10px);
    opacity: 0.7;
    filter: blur(1px);
  }
  75% {
    transform: rotate(10deg) scale(1.1);
    opacity: 0.9;
  }
  100% {
    transform: rotate(0deg) scale(1) translateY(0);
    opacity: 1;
    filter: none;
  }
}

@keyframes crazyGlow {
  0%   { transform: rotate(0deg); box-shadow: 0 0 0px rgba(255, 0, 0, 0); }
  25%  { transform: rotate(5deg); box-shadow: 0 0 15px red; }
  50%  { transform: rotate(-5deg); box-shadow: 0 0 20px yellow; }
  75%  { transform: rotate(10deg); box-shadow: 0 0 25px lime; }
  100% { transform: rotate(0deg); box-shadow: 0 0 0px transparent; }
}

/* ---------------------------------
   MODAL-Animation beim Öffnen
----------------------------------- */
.vp-modal-frame.open {
  animation: vpModalIn 0.6s ease-out;
  transform-origin: top center;
}

@keyframes vpModalIn {
  0% {
    transform: translateY(-50px) scale(0.95);
    opacity: 0;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* ---------------------------------
   MODAL-Animation beim Schließen
   (nur aktiv, wenn JS-Klasse .closing hinzugefügt wird)
----------------------------------- */
.vp-modal-frame.closing {
  animation: vpModalOut 0.4s ease-in forwards;
}

@keyframes vpModalOut {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0.8);
    opacity: 0;
  }
}

/* Versand-Box allgemein */
.vm-shipping-box {
  border: 1px solid #7fac31;
  background: #ffffff;
  padding: 12px 15px;
  border-radius: 8px;
  margin-top: 8px;
  font-size: 0.95rem;
  color: #2c2c2c;
}

/* Versand-Box für Abholung */
.vm-shipping-abholung {
  border-color: #7fac31;
  background: #f8fff0;
}

.vm-shipping-abholung strong {
  color: #2c2c2c;
}

.vm-shipping-abholung .warn {
  color: #b30000;
  font-weight: bold;
  display: block;
  margin-top: 6px;
}

/* Versand-Box für Versandkostenfrei */
.vm-shipping-versand {
  border-color: #7fac31;
  background: #f0fff5;
}

.vm-shipping-versand strong {
  color: #2c662d;
}

.vm-shipping-versand ul {
  margin: 6px 0 0 20px;
  padding: 0;
}

/* Grid für Blogliste */
.com-content-blog .items-leading,
.com-content-blog .items-row,
.com-content-blog .blog-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

/* Bild konsistent zuschneiden */
.com-content-blog .item-image,
.com-content-blog .item-image > a,
.com-content-blog .item-image img { display:block; width:100%; }
.com-content-blog .item-image { aspect-ratio:16/9; overflow:hidden; border-radius:12px; }
.com-content-blog .item-image img { height:100%; object-fit:cover; }

/* Blog-Liste: Titel-Link kleiner & Cassiopeia-System-Sans 
body.com-content.view-category.layout-blog .page-header a.hover-invert[itemprop="url"],
body.com-content.view-category.layout-blog h2 a.hover-invert[itemprop="url"] {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
               Arial, "Noto Sans", "Liberation Sans", sans-serif !important;
  font-size: 0.95rem !important;
  line-height: 1.3 !important;
  font-weight: 600 !important;
} */

.startseite-weinlieferung {
    max-width: 850px;
    margin: 40px auto;
    font-size: 18px;
    line-height: 1.7;
}

.startseite-weinlieferung h1 {
    margin-bottom: 20px;
}

.weinlieferung-vertrauen {
    max-width: 850px;
    margin: 40px auto;
    font-size: 18px;
    line-height: 1.7;
}

.weinlieferung-vertrauen h2 {
    margin-bottom: 15px;
}

.startseite-weinlieferung,
.weinlieferung-vertrauen {
    max-width: 850px;
    margin: 40px auto;
    padding: 0 20px;
    line-height: 1.7;
}

.startseite-weinlieferung {
    margin-top: 50px;
    margin-bottom: 50px;
}

.weinlieferung-vertrauen {
    margin-top: 30px;
    margin-bottom: 50px;
}

.startseite-weinlieferung h1,
.weinlieferung-vertrauen h2 {
    color: #2c2c2c;
    line-height: 1.2;
    margin-bottom: 18px;
    font-weight: 700;
}

.startseite-weinlieferung h1 {
    font-size: 36px;
}

.weinlieferung-vertrauen h2 {
    font-size: 28px;
}

.startseite-weinlieferung p,
.weinlieferung-vertrauen p {
    font-size: 18px;
    color: #2c2c2c;
    margin-bottom: 18px;
}