/* Conversion optimization enhancements (loaded after styles.min.css) */

/* ---- Shop-first homepage hero ---- */

.hero-image {
  min-height: min(78dvh, 640px);
}

.hero-content {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: center;
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}

.hero-slogan {
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-brand, "Bernard MT Condensed", "Bernard MT", serif);
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.25;
  margin: 0 0 0.85rem;
  max-width: 36rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.hero-title {
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.55;
  margin: 0 auto 1.35rem;
  max-width: 34rem;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.hero-actions__primary {
  font-size: 1.05rem;
  min-height: 3rem;
  padding: 0.85rem 1.6rem;
}

.hero-actions__secondary {
  font-size: 0.95rem;
  font-weight: 500;
  min-height: 2.75rem;
  opacity: 0.92;
  padding: 0.7rem 1.25rem;
}

.hero-actions__secondary:hover,
.hero-actions__secondary:focus-visible {
  opacity: 1;
}

.hero-trust {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  justify-content: center;
  margin-top: 0.15rem;
}

.hero-store-rating {
  margin: 0;
}

.hero-store-rating[hidden] {
  display: none;
}

.hero-store-rating .store-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.hero-store-rating .store-rating-badge:hover,
.hero-store-rating .store-rating-badge:focus-visible {
  background: rgba(0, 0, 0, 0.4);
  outline: 2px solid #d4a017;
  outline-offset: 2px;
}

.hero-trust__chips {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-trust__chip {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.3;
  position: relative;
}

.hero-trust__chip + .hero-trust__chip::before {
  color: rgba(255, 255, 255, 0.45);
  content: "·";
  margin-right: 0.85rem;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-slogan,
  .hero-title,
  .hero-subtitle,
  .hero-actions,
  .hero-trust {
    animation: hero-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .hero-title {
    animation-delay: 0.08s;
  }

  .hero-subtitle {
    animation-delay: 0.14s;
  }

  .hero-actions {
    animation-delay: 0.2s;
  }

  .hero-trust {
    animation-delay: 0.28s;
  }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero-image {
    min-height: min(82dvh, 620px);
  }

  .hero-actions {
    flex-direction: column;
    width: min(100%, 20rem);
  }

  .hero-actions .btn {
    justify-content: center;
    width: 100%;
  }

  .hero-trust {
    flex-direction: column;
    gap: 0.55rem;
  }
}

.quick-contact {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid rgba(26, 77, 46, 0.12);
}

.quick-contact__title {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.quick-contact__hint {
  margin: 0 0 1rem;
  color: #4b5563;
  font-size: 0.9rem;
}

.quick-contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quick-contact-form input,
.quick-contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font: inherit;
}

.quick-contact__status--ok {
  color: #1a4d2e;
}

.quick-contact__status--err {
  color: #dc2626;
}

.hjs-sticky-atc {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(26, 77, 46, 0.15);
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
}

.hjs-sticky-atc__inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hjs-sticky-atc__label {
  font-weight: 600;
  color: #1a4d2e;
}

.hjs-exit-intent {
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.hjs-exit-intent__card {
  position: relative;
  width: min(420px, 100%);
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(26, 77, 46, 0.12);
}

.hjs-exit-intent__close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #6b7280;
}

.hjs-exit-intent__kicker {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a4d2e;
  font-weight: 700;
}

.hjs-exit-intent__title {
  margin: 0.35rem 0 0.5rem;
  font-size: 1.35rem;
  color: #111827;
}

.hjs-exit-intent__text {
  margin: 0 0 1rem;
  color: #4b5563;
}

.hjs-exit-intent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cart-shipping-teaser {
  margin: 0.75rem 0 1rem;
  padding: 0.85rem;
  background: #f8faf8;
  border: 1px solid rgba(26, 77, 46, 0.12);
  border-radius: 10px;
}

.cart-shipping-teaser__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1a4d2e;
  margin-bottom: 0.45rem;
}

.cart-shipping-teaser__row {
  display: flex;
  gap: 0.5rem;
}

.cart-shipping-teaser__input {
  flex: 1;
  min-width: 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font: inherit;
}

.cart-shipping-teaser__result {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: #374151;
}

.cart-shipping-teaser__result--ok {
  color: #1a4d2e;
  font-weight: 600;
}

.cart-shipping-teaser__result--err {
  color: #dc2626;
}

.cart-shipping-teaser__hint {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: #6b7280;
}

.offerte-step-indicator {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a4d2e;
}

.offerte-form-step[hidden] {
  display: none !important;
}

.offerte-step-actions {
  margin-top: 1.25rem;
}

.offerte-step-actions--split {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.offerte-step-actions--split .btn {
  flex: 1;
  min-width: 140px;
  padding: 1rem;
}

.offerte-step-note {
  margin: 0.65rem 0 0;
  font-size: 0.85rem;
  color: #6b7280;
  text-align: center;
}

.project-type-grid.is-invalid {
  outline: 2px solid #dc2626;
  outline-offset: 4px;
  border-radius: 8px;
}

.checkout-guest-note {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  background: #f0f7f4;
  border: 1px solid rgba(26, 77, 46, 0.18);
  border-radius: 8px;
  font-size: 0.9rem;
  color: #1a4d2e;
}

.checkout-trust-badges {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.checkout-trust-badges__row,
.checkout-trust-badges__payments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  justify-content: center;
  font-size: 0.8rem;
  color: #6b7280;
}

.checkout-trust-badges__payments {
  margin-top: 0.65rem;
}

.checkout-trust-badges__payments span {
  padding: 0.2rem 0.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fafafa;
  font-weight: 600;
  color: #374151;
}

@media (max-width: 768px) {
  .hjs-sticky-atc__label {
    display: none;
  }

  .hjs-sticky-atc__btn {
    width: 100%;
  }
}
