/* ============================================================
   QUOTE PAGE
   Prefix: qt-
   ============================================================ */

.quote-page {
  --h-bg:      #FAFAFA;
  --h-surface: #FFFFFF;
  --h-dark:    #1A1A1A;
  --h-red:     #F84F4F;
  --h-red-dim: rgba(248,79,79,.1);
  --h-muted:   #666666;
  --h-border:  #E8E8E8;
  --h-light-gray: #f0f0f0;
  --h-radius:  14px;
  background: var(--h-bg);
}

/* ------------------------------------------------------------
   HERO
   ------------------------------------------------------------ */
.qt-hero {
  position: relative;
  padding: calc(var(--nav-h) + 5rem) 1.5rem 3rem;
  overflow: hidden;
  background: var(--h-bg);
}

.qt-hero__inner {
  max-width: 1200px;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.qt-hero__inner h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--h-dark);
  line-height: 1;
  margin: .5rem 0 1rem;
}

.qt-hero__inner > p {
  font-size: 1rem;
  color: var(--h-muted);
  max-width: 50ch;
  line-height: 1.65;
  padding: 0;
}

.qt-hero__slash {
  position: absolute;
  top: 0; right: 0;
  width: 260px; height: 260px;
  background: var(--h-red);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  opacity: .12;
  pointer-events: none;
}

/* ------------------------------------------------------------
   PROGRESS BAR
   ------------------------------------------------------------ */
.qt-progress {
  padding: 0 1.5rem 3rem;
}

.qt-progress__inner {
  max-width: 800px;
  margin-inline: auto;
}

.qt-steps {
  display: flex;
  align-items: center;
  list-style: none;
}

.qt-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  flex: 0 0 auto;
  text-align: center;
  width: 90px;
}

.qt-step__circle {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--h-surface);
  border: 2px solid var(--h-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  color: var(--h-muted);
  transition: background .25s, border-color .25s, color .25s;
}

.qt-step.active .qt-step__circle {
  border-color: var(--h-red);
  color: var(--h-red);
}

.qt-step.complete .qt-step__circle {
  background: var(--h-red);
  border-color: var(--h-red);
  color: #fff;
}

.qt-step__label {
  font-size: .72rem;
  font-weight: 600;
  color: var(--h-muted);
  line-height: 1.3;
}

.qt-step.active .qt-step__label,
.qt-step.complete .qt-step__label {
  color: var(--h-dark);
}

.qt-step__line {
  flex: 1 1 auto;
  height: 2px;
  background: var(--h-border);
  margin: 0 -10px;
  margin-bottom: 22px;
  transition: background .25s;
}

.qt-step__line.complete {
  background: var(--h-red);
}

/* ------------------------------------------------------------
   PANELS (shared)
   ------------------------------------------------------------ */
.qt-panel {
  padding: 0 1.5rem 5rem;
}

.qt-panel[hidden] {
  display: none !important;
}

.qt-panel__inner {
  max-width: 1000px;
  margin-inline: auto;
}

.qt-panel__inner--narrow {
  max-width: 680px;
}

.qt-panel__inner--center {
  text-align: center;
}

.qt-panel h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--h-dark);
  margin-bottom: .5rem;
}

.qt-panel__sub {
  font-size: .92rem;
  color: var(--h-muted);
  padding: 0;
  margin-bottom: 2.5rem;
}

.qt-error {
  background: #fef2f2;
  border: 1.5px solid #fecaca;
  color: #b91c1c;
  font-size: .85rem;
  padding: .85rem 1.1rem;
  border-radius: 10px;
  margin-top: 1.5rem;
}

.qt-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.5rem;
}

/* ------------------------------------------------------------
   STEP 1 - SERVICE GRID
   ------------------------------------------------------------ */
.qt-service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
/* Vervang de icoon-stijl van .qt-service door afbeelding-stijl */

.qt-service {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: var(--h-light-gray);
  border: 2px solid var(--h-border);
  border-radius: var(--h-radius);
  padding: 0;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  font-family: inherit;
  overflow: hidden;
  gap: 0;
}

.qt-service:hover {
  border-color: var(--h-red);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.qt-service > img {
  width: 60%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
  margin: auto;
}

.qt-service:hover > img {
  transform: scale(1.04);
}

/* Golvend wit balkje onderaan, naam erin */
.qt-service__wave {
  position: relative;
  background: #fff;
  text-align: center;
  padding: .5rem .5rem .7rem;
}

.qt-service__wave svg {
  position: absolute;
  top: -42px;
  left: 0;
  width: 100%;
  height: 44px;
  pointer-events: none;
}

.qt-service__wave span {
  font-size: .82rem;
  font-weight: 700;
  color: var(--h-dark);
  position: relative;
  z-index: 1;
}

/* Checkmark badge */
.qt-service__check {
  position: absolute;
  top: .6rem;
  right: .6rem;
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  background: var(--h-red);
  color: #fff;
  font-size: .7rem;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(248,79,79,.4);
  z-index: 2;
}

.qt-service.active {
  border-color: var(--h-red);
  background-color: var(--h-red-dim);
}

.qt-service.active .qt-service__check {
  display: flex;
}

/* ------------------------------------------------------------
   STEP 2 - SERVICE FORMS
   ------------------------------------------------------------ */
.qt-service-form {
  background: var(--h-surface);
  border: 1.5px solid var(--h-border);
  border-radius: var(--h-radius);
  margin-bottom: 1rem;
  overflow: hidden;
}

.qt-service-form__title {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  text-align: left;
}
.qt-service-form__title:hover { background: var(--h-bg); box-shadow: none; }

.qt-service-form__title h3 {
  font-size: 1rem;
  color: var(--h-dark);
  display: flex;
  align-items: center;
  gap: .65rem;
}

.qt-service-form__title h3 i {
  color: var(--h-red);
  font-size: .95rem;
}

.qt-service-form__chevron {
  color: var(--h-muted);
  transition: transform .2s;
}

.qt-service-form.collapsed .qt-service-form__chevron {
  transform: rotate(-90deg);
}

.qt-service-form__body {
  padding: 0 1.5rem 1.75rem;
}

.qt-service-form.collapsed .qt-service-form__body {
  display: none;
}

.qt-service-form__body > p {
  font-size: .85rem;
  color: var(--h-muted);
  line-height: 1.6;
  padding: 0;
  margin-bottom: 1.25rem;
}

.qt-service-form__body > p a {
  color: var(--h-red);
  font-weight: 600;
}

.qt-service-form label {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--h-dark);
  margin-bottom: .4rem;
  margin-top: 1rem;
}

.qt-service-form label:first-of-type { margin-top: 0; }

.qt-required { color: var(--h-red); }

.qt-service-form select,
.qt-service-form input[type="number"],
.qt-service-form input[type="text"],
.qt-service-form input[type="email"],
.qt-service-form input[type="tel"] {
  width: 100%;
  background: var(--h-bg);
  border: 1.5px solid var(--h-border);
  border-radius: 10px;
  padding: .75rem 1rem;
  font-size: .9rem;
  color: var(--h-dark);
  font-family: inherit;
  transition: border-color .2s;
}

.qt-service-form select:focus,
.qt-service-form input:focus {
  outline: none;
  border-color: var(--h-red);
}

.qt-checkbox {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 1rem 0;
}

.qt-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  accent-color: var(--h-red);
  cursor: pointer;
}

.qt-checkbox label {
  margin: 0;
  text-transform: none;
  font-size: .87rem;
  font-weight: 500;
  letter-spacing: normal;
  cursor: pointer;
}

.qt-checkbox label a {
  color: var(--h-red);
  font-weight: 700;
}

.qt-checkbox--terms {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1.5px solid var(--h-border);
}

.qt-help {
  position: relative;
  display: inline-flex;
  color: var(--h-muted);
  cursor: help;
  font-size: .85rem;
}

.qt-help[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 130%;
  left: 0;
  width: 260px;
  background: var(--h-dark);
  color: #fff;
  font-size: .75rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.5;
  padding: .75rem .9rem;
  border-radius: 8px;
  z-index: 10;
}

.qt-invalid {
  border-color: #ef4444 !important;
}

/* ------------------------------------------------------------
   STEP 3 - INFO FORM
   ------------------------------------------------------------ */
.qt-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.qt-info-grid label {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--h-dark);
  margin-bottom: .4rem;
  margin-top: 1.1rem;
}

.qt-info-grid > div label:first-of-type { margin-top: 0; }

.qt-info-grid input {
  width: 100%;
  background: var(--h-surface);
  border: 1.5px solid var(--h-border);
  border-radius: 10px;
  padding: .8rem 1rem;
  font-size: .92rem;
  color: var(--h-dark);
  font-family: inherit;
  transition: border-color .2s;
}

.qt-info-grid input:focus {
  outline: none;
  border-color: var(--h-red);
}

/* ------------------------------------------------------------
   STEP 4 - DONE
   ------------------------------------------------------------ */
.qt-done-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--h-red-dim);
  color: var(--h-red);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.qt-panel[data-panel="4"] p {
  color: var(--h-muted);
  font-size: .95rem;
  line-height: 1.65;
  padding: 0;
  max-width: 50ch;
  margin-inline: auto;
  margin-bottom: 1rem;
}

.qt-done-note {
  font-size: .82rem !important;
  font-style: italic;
}

.qt-done-actions {
  display: flex;
  gap: .85rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

#qtNewQuote {
  padding: 0.75rem 1.6rem;
}

/* ============================================================
   RESPONSIVE - Quote
   ============================================================ */

@media (min-width: 640px) {
  .qt-service-grid { grid-template-columns: repeat(3, 1fr); }
  .qt-info-grid { grid-template-columns: repeat(2, 1fr); gap: 0 2rem; }
}

@media (min-width: 1024px) {
  .qt-service-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 640px) {
  .qt-steps { overflow-x: auto; padding-bottom: .5rem; }
  .qt-step { width: 70px; }
  .qt-step__label { font-size: .65rem; }
}



