:root{
  --a10: #006cec;
  --a10-dark: #0056b3;
  --border: #e6e6ea;
  --bg: #ffffff;
  --muted: #6b7280;
}

/* ========== Layout ========== */
.wizard-wrap{ max-width: 1040px; }

.wizard-grid{
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 18px;
  align-items: start;
}

@media (max-width: 992px){
  .wizard-grid{ grid-template-columns: 1fr; }
}

/* Cards */
.wizard-card, .summary-card{
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
}

/* ========== Top block (logo/title/stepper) ========== */
/* Dit centreert ALLEEN binnen de linker kolom (dus binnen de formulierbreedte) */
.wizard-top-inner{
  text-align: center;
}

.wizard-logo{
  height: 100px;
  width: auto;
  display: inline-block;
}

/* ========== Stepper ========== */
.stepper{
  display:flex;
  justify-content:center; /* centreren binnen formulierkolom */
  gap:10px;
}

.step{
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  border: 2px solid var(--border);
  background: #f5f6f8;
  color: #111827;
  font-weight: 700;
}

.step.done{
  background: #e9f8ee;
  border-color: #1db9541a;
  color: #16a34a;
}

.step.active{
  background: rgba(0,108,236,.10);
  border-color: var(--a10);
  color: var(--a10);
}

/* ========== Tiles grid (stap 2) ========== */
.tile-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 576px){
  .tile-grid{ grid-template-columns: 1fr; }
}

.tile{
  text-align:left;
  background:#fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 14px;
  cursor:pointer;
  transition: .15s ease;
}

.tile:hover{
  border-color: rgba(0,108,236,.35);
  box-shadow: 0 6px 14px rgba(0,0,0,.05);
}

.tile.selected{
  border-color: var(--a10);
  box-shadow: 0 0 0 3px rgba(0,108,236,.12);
  background: rgba(0,108,236,.04);
}

.tile-title{ font-weight: 700; }
.tile-sub{ color: var(--muted); font-size: .9rem; margin-top: 2px; }

/* ========== Tile list (stap 1) ========== */
.tile-list { display: grid; gap: 12px; }

.tile-row{
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 12px;
  border: 1px solid #e7e7e7;
  background: #fff;
}

.tile-left{ display:flex; align-items:center; gap:12px; }

.tile-ico{
  width: 34px; height: 34px;
  display:flex; align-items:center; justify-content:center;
  border-radius: 10px;
  background: #f6f6f6;
  font-size: 18px;
}

/* check-circle rechts */
.tile-check{
  width: 22px; height: 22px;
  border-radius: 999px;
  border: 2px solid #d7d7d7;
  display:flex; align-items:center; justify-content:center;
  flex: 0 0 22px;
}

.tile-row.selected .tile-check{
  border-color: var(--a10);
  background: var(--a10);
}

.tile-row.selected .tile-check::after{
  content: "✓";
  color: #fff;
  font-size: 14px;
  line-height: 1;
}

/* ========== Buttons ========== */
.btn-a10{
  background: var(--a10);
  border-color: var(--a10);
  color: #fff;
}
.btn-a10:hover{
  background: var(--a10-dark);
  border-color: var(--a10-dark);
}

.wiz-nav{
  display:flex;
  gap: 12px;
  justify-content: space-between;
}

@media (max-width: 576px){
  .wiz-nav{ flex-direction: column; }
}

/* ========== Summary ========== */
.summary-list .sum-row{
  display:flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px dashed #eee;
}
.summary-list .sum-row:last-child{ border-bottom: 0; }

.price-box .price{
  font-size: 1.6rem;
  font-weight: 800;
  margin-top: 4px;
}

/* Sticky summary rechts */
.summary-card{
  position: sticky;
  top: 16px;
  align-self: start;
}

/* Op mobiel sticky uit */
@media (max-width: 991px){
  .summary-card{ position: static; }
}

/* Loader (als je hem gebruikt) */
#page-loader{ display:none; }


/* Samenvatting kaart – basis */
.summary-card{
  position: sticky;
  top: 16px;
  align-self: start;
  overflow: hidden; /* nodig voor watermerk */
}

/* Diagonaal watermerk */
.summary-card::before{
  content: "";
  position: absolute;
  inset: -40%; /* extra groot zodat rotatie geen lege hoeken geeft */
  background-image: url("../A10 renovatie logo.png");
  background-repeat: repeat;
  background-size: 200px auto;   /* grootte van logo */
  background-position: center;
  opacity: 0.04;                 /* subtiel */
  transform: rotate(-25deg);     /* DIAGONAAL */
  pointer-events: none;          /* niet klikbaar */
  user-select: none;
}

/* Content boven watermerk houden */
.summary-card > *{
  position: relative;
  z-index: 1;
}

/* =========================================================
   A10 Offerte – extra zichtbaarheid (punten 1-4)
   Alleen styling (geen JS/HTML wijziging)
   ========================================================= */

/* Header: voordeel + 3 bullets netter uitlijnen */
.wizard-top-inner > p.mb-2{
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.wizard-top-inner .text-muted.small.mb-4{
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  gap: 6px;
}

/* Op grotere schermen 3 bullets in 1 rij */
@media (min-width: 768px){
  .wizard-top-inner .text-muted.small.mb-4{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .wizard-top-inner .text-muted.small.mb-4 > div{
    background: #f8fafc;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 10px;
    padding: 10px 12px;
    text-align: center;
    color: #111827;
  }
}

/* Rechterkolom: "Waarom deze offerte-tool?" als kaartje */
.summary-card > .mb-3{
  background: linear-gradient(180deg, rgba(0,108,236,.07), rgba(0,108,236,.02));
  border: 1px solid rgba(0,108,236,.18);
  border-radius: 12px;
  padding: 12px 12px;
}

.summary-card > .mb-3 .fw-bold{
  color: #0b1b2b;
}

/* bullets in rechterblok wat strakker */
.summary-card > .mb-3 .small.text-muted > div{
  display: flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.35;
  margin: 4px 0;
}

/* Stap 5: beloningstekst onder prijsblok */
.wiz-step[data-step="5"] .small.text-muted.mt-2{
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px dashed rgba(0,0,0,.12);
}

/* Klein detail: prijsbox iets meer focus (rechts) */
.price-box{
  border-radius: 12px;
  padding: 12px 12px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.06);
}

/* Mobiel: rechterblok spacing iets strakker */
@media (max-width: 576px){
  .summary-card > .mb-3{
    padding: 12px 10px;
  }
}
.a10-sharebar{
  display:flex;
  gap:10px;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  margin-top:-6px;
  margin-bottom:14px;
}

.a10-sharehint{
  min-height: 18px;
}
/* WhatsApp share knop (header) */
.a10-sharebar{
  display:flex;
  justify-content:center;
}

.btn-whatsapp{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration:none;
  font-weight: 800;
  background: #25D366; /* WhatsApp groen */
  color: #fff;
  box-shadow: 0 10px 22px rgba(0,0,0,.10);
  transition: .15s ease;
}

.btn-whatsapp:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0,0,0,.14);
  color:#fff;
}

.btn-whatsapp:active{
  transform: translateY(0px);
}

.wa-ico{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.18);
}
/* Samenvatting: lange teksten netjes afbreken */
.summary-list .sum-row strong {
  text-align: right;
  word-break: break-word;
}
