/* ============================================
   Bouwsteenwinkel — shared.css
   Aggressive conversion elements used on EVERY page
   (urgency bar, live indicators, sticky CTA, XL button, reviews)
   ============================================ */

/* ============================================
   LEGAL-PAGINA's (voorwaarden, privacy, cookies, disclaimer, huurregels)
   ============================================ */
.legal-page {
  padding: 40px 0 80px;
  background: var(--bg-tertiary);
}

.legal-hero {
  max-width: 820px;
  margin: 0 auto 36px;
  text-align: center;
}

.legal-hero .pill-badge {
  margin: 0 auto 14px;
}

.legal-hero h1 {
  font-size: 34px;
  letter-spacing: -0.4px;
  margin: 0 0 14px;
}

.legal-hero-lead {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.legal-meta {
  margin: 18px auto 0;
  color: var(--text-tertiary);
  font-size: 13px;
  line-height: 1.55;
}

.legal-meta a { color: var(--brand-coral); }

/* 3 highlight-kaarten net onder de hero */
.legal-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1000px;
  margin: 0 auto 40px;
}

.legal-highlight {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
}

.legal-highlight h3 {
  font-size: 15px;
  margin: 0 0 6px;
  color: var(--text-primary);
}

.legal-highlight p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* Body: uitgeschreven artikelen */
.legal-body {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px 48px;
  box-shadow: var(--shadow-sm);
}

.legal-body h2 {
  font-size: 20px;
  margin: 36px 0 12px;
  color: var(--text-primary);
  scroll-margin-top: 80px;
}

.legal-body h2:first-child { margin-top: 0; }

.legal-body h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 22px 0 8px;
}

.legal-body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 12px;
}

.legal-body p b,
.legal-body p strong {
  color: var(--text-primary);
  font-weight: 600;
}

.legal-body ul,
.legal-body ol {
  margin: 0 0 14px;
  padding-left: 22px;
}

.legal-body li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.legal-body a { color: var(--brand-coral); }

.legal-body .art-num {
  display: inline-block;
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 600;
  margin-right: 6px;
  min-width: 28px;
}

.legal-toc {
  background: var(--bg-tertiary);
  border-radius: 10px;
  padding: 18px 22px;
  margin-bottom: 24px;
  font-size: 13px;
}

.legal-toc-title {
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--text-primary);
}

.legal-toc ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 14px;
}

.legal-toc a {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
}

.legal-toc a:hover { color: var(--brand-coral); }

@media (max-width: 960px) {
  .legal-highlights { grid-template-columns: 1fr; }
  .legal-body       { padding: 28px 24px; }
  .legal-hero h1    { font-size: 26px; }
  .legal-toc ul     { grid-template-columns: 1fr; }
}

/* ==== REVIEWS TRUST-STRIP ==== */
.reviews-strip {
  background: var(--bg-tertiary);
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

.reviews-strip-head {
  text-align: center;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.reviews-strip-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.reviews-strip-avg {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.reviews-strip-of {
  font-size: 13px;
  color: var(--text-tertiary);
}

.reviews-strip-title {
  font-size: 14px;
  color: var(--text-secondary);
}

.reviews-strip-title b {
  color: var(--text-primary);
  font-weight: 600;
}

.reviews-strip-note {
  color: var(--text-tertiary);
  font-size: 13px;
}

.reviews-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}

.reviews-strip-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 22px 16px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.reviews-strip-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.reviews-strip-card-stars {
  color: #F5B400;
  font-size: 14px;
  letter-spacing: 2px;
  line-height: 1;
}

.reviews-strip-card-text {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

.reviews-strip-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.reviews-strip-card-foot b {
  color: var(--text-primary);
  font-weight: 600;
}

.reviews-strip-card-source {
  font-size: 11px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

@media (max-width: 960px) {
  .reviews-strip-grid { grid-template-columns: 1fr; }
  .reviews-strip      { padding: 36px 0; }
}



/* ==== Pulse animation ==== */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

@keyframes shine {
  0%, 80% { left: -100%; }
  100% { left: 200%; }
}

/* ==== URGENCY BAR (replaces announce) ==== */
.urgency-bar {
  background: var(--brand-coral);
  color: #fff;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 500;
}

.urgency-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.urgency-pulse {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.urgency-countdown {
  background: rgba(0, 0, 0, 0.2);
  padding: 2px 10px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.urgency-sep {
  opacity: 0.5;
}

/* ==== XL BUTTON ==== */
.btn-xl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 18px 32px;
  font-size: 16px;
  border-radius: 14px;
  font-weight: 600;
  letter-spacing: -0.2px;
  background: var(--brand-coral);
  color: #fff;
  box-shadow: 0 8px 24px rgba(216, 90, 48, 0.35);
  transition: transform 0.08s, box-shadow var(--transition-fast), background var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn-xl::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  animation: shine 3s infinite;
  pointer-events: none;
}

.btn-xl:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(216, 90, 48, 0.45);
  background: var(--brand-coral-dark);
}

/* ==== LIVE RENT BADGE (on product cards) ==== */
.live-rent {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

.live-rent::before {
  content: "";
  width: 5px;
  height: 5px;
  background: #4ADE80;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

/* ==== LIVE INDICATOR (section headers) ==== */
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--green-50);
  border-radius: 999px;
  font-size: 12px;
  color: var(--green-800);
  font-weight: 500;
}

.live-indicator::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--green-500);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

/* ==== PRICE WEEK (per-week pricing) ==== */
.price-week {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.price-week-highlight { color: var(--brand-coral); }

.price-week-per {
  font-size: 11px;
  color: var(--text-tertiary);
  font-weight: 400;
  display: block;
  margin-top: 2px;
}

.rent-duration-chip {
  font-size: 10px;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  padding: 3px 8px;
  border-radius: 6px;
  margin-top: 6px;
  display: inline-block;
}

.build-time-chip {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.build-time-chip::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--text-tertiary);
  border-radius: 50%;
}

/* ==== STOCK ALERT (inline warning) ==== */
.stock-alert {
  padding: 10px 14px;
  background: var(--amber-50);
  border-left: 3px solid var(--amber-500);
  border-radius: 8px;
  font-size: 13px;
  color: var(--amber-900);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.stock-alert::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--amber-500);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.stock-alert b { font-weight: 600; }

/* ==== STICKY MOBILE CTA ==== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 12px 20px;
  display: none;
  justify-content: space-between;
  align-items: center;
  z-index: 200;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.sticky-cta-left {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.2;
}

.sticky-cta-left b {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 13px;
  display: block;
}

.sticky-cta-btn {
  padding: 12px 20px;
  background: var(--brand-coral);
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}

/* ==== HEADER NAV CTA ==== */
.nav-cta {
  padding: 10px 18px;
  background: var(--brand-coral);
  color: #fff;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background var(--transition-fast);
}

.nav-cta:hover { background: var(--brand-coral-dark); }

/* ==== RESPONSIVE ==== */
@media (max-width: 960px) {
  body { padding-bottom: 72px; }
  .sticky-cta { display: flex; }
}

@media (max-width: 620px) {
  .urgency-bar-inner { font-size: 12px; gap: 8px; }
}
