/* PV Rechner Hero — Homepage block, Speicherguru-style.
   Uses Astra global colors and Manrope font like the rest of the site.
   Inspired by the Smart Slider above (orange CTA, soft borders, dark bg). */

.pv-hero {
  width: 100%;
  margin: 32px 0 40px;
  padding: 0 16px;
  box-sizing: border-box;
  font-family: var(--ast-default-font-family, "Manrope", sans-serif);
}

.pv-hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  /* Match site's dark card style: solid #181818 (--ast-global-color-5) */
  background: var(--ast-global-color-5, #181818);
  border: 1px solid var(--ast-global-color-6, rgba(255, 255, 255, 0.2));
  border-radius: 12px;
  padding: 56px 56px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  position: relative;
  min-height: 440px;
}

/* Subtle warm glow corner — using site's primary gold */
.pv-hero-inner::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -180px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(242, 187, 19, 0.10), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* ─── Image side ─── */
.pv-hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.pv-hero-image img {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
}

/* ─── Content side ─── */
.pv-hero-content {
  position: relative;
  z-index: 1;
  color: var(--ast-global-color-2, #ffffff);
}

/* Badge — uses the slider's orange tone, subtle */
.pv-hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(242, 168, 29, 0.12);
  border: 1px solid rgba(242, 168, 29, 0.4);
  border-radius: 999px;
  color: var(--ast-global-color-0, #f2bb13);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  margin-bottom: 18px;
  font-family: inherit;
}

/* Headline — match site's Plus Jakarta Sans for headings */
.pv-hero-title {
  margin: 0 0 18px;
  font-family: "Plus Jakarta Sans", "Manrope", sans-serif;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--ast-global-color-2, #ffffff);
  letter-spacing: -0.4px;
}

.pv-hero-accent {
  /* Site's primary gold — solid, not gradient */
  color: var(--ast-global-color-0, #f2bb13);
}

.pv-hero-text {
  margin: 0 0 28px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ast-global-color-3, rgba(255, 255, 255, 0.74));
  max-width: 560px;
  font-family: inherit;
}

/* ─── CTA Buttons — match slider button: orange bg, white text, 5px radius ─── */
.pv-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0 28px;
}

.pv-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 5px;       /* matches slider button */
  font-family: "Plus Jakarta Sans", "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 600;          /* matches slider 600, not 800 */
  letter-spacing: 0.2px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  border: 0;
  line-height: 1.2;
}

/* Primary: orange — exactly site's slider button color */
.pv-hero-btn-primary {
  background: var(--ast-global-color-1, #f2a81d);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(242, 168, 29, 0.25);
}

.pv-hero-btn-primary:hover {
  background: var(--ast-global-color-0, #f2bb13);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(242, 168, 29, 0.35);
}

.pv-hero-btn-primary:active {
  transform: translateY(0);
}

/* Secondary: outlined orange — uses site's primary gold but as border */
.pv-hero-btn-secondary {
  background: transparent;
  color: var(--ast-global-color-0, #f2bb13);
  border: 1px solid var(--ast-global-color-0, #f2bb13);
}

.pv-hero-btn-secondary:hover {
  background: var(--ast-global-color-1, #f2a81d);
  color: #ffffff;
  border-color: var(--ast-global-color-1, #f2a81d);
  transform: translateY(-1px);
}

.pv-hero-btn-secondary:active {
  transform: translateY(0);
}

.pv-hero-btn svg {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.pv-hero-btn-primary:hover svg {
  transform: scale(1.08);
}

.pv-hero-btn-secondary:hover svg {
  transform: rotate(30deg);
}

/* ─── Trust badges ─── */
.pv-hero-trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: var(--ast-global-color-3, rgba(255, 255, 255, 0.74));
  font-family: inherit;
}

.pv-hero-trust li {
  font-weight: 500;
}

/* ─── Tablet & Mobile ─── */
@media (max-width: 1100px) {
  .pv-hero {
    padding: 0 24px;
  }
  .pv-hero-inner {
    padding: 48px 40px;
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .pv-hero {
    padding: 0 20px;
    margin: 48px 0 32px;
  }
  .pv-hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px 28px;
    min-height: 0;
  }
  .pv-hero-image img {
    max-width: 320px;
    margin: 0 auto;
  }
  .pv-hero-content {
    text-align: center;
  }
  .pv-hero-trust {
    justify-content: center;
    gap: 12px;
    font-size: 12.5px;
  }
  .pv-hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .pv-hero-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }
}

@media (max-width: 600px) {
  .pv-hero {
    padding: 0 12px;
    margin: 40px 0 28px;
  }
  .pv-hero-inner {
    padding: 28px 20px;
    border-radius: 10px;
  }
  .pv-hero-trust {
    flex-direction: column;
    gap: 8px;
  }
}
