/* Pagina-achtergrond — zelfde taal als functionaliteiten / contact (gradient + zachte cirkels) */
.home-page {
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
  position: relative;
  overflow-x: clip;
}

.home-page::before,
.home-page::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.home-page::before {
  width: 560px;
  height: 560px;
  background: rgba(43, 200, 171, 0.12);
  right: -240px;
  top: -170px;
}

.home-page::after {
  width: 360px;
  height: 360px;
  background: rgba(242, 160, 61, 0.12);
  left: -150px;
  bottom: -190px;
}

.home-page > section {
  position: relative;
  z-index: 1;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(520px 320px at 86% 28%, rgba(64, 224, 208, 0.18) 0%, rgba(64, 224, 208, 0.08) 38%, rgba(64, 224, 208, 0) 72%),
    radial-gradient(420px 260px at 12% 8%, rgba(34, 183, 143, 0.10) 0%, rgba(34, 183, 143, 0) 72%),
    linear-gradient(180deg, #fbfdff 0%, #f2f8ff 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(3.4rem, 8vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  margin-bottom: 24px;
  font-size: 4.6rem;
}

.hero h1 .highlight {
  color: var(--primary);
}

.hero-copy {
  max-width: 620px;
  font-size: 1.3rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 18px;
}

.hero-sub-copy {
  max-width: 620px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 6px;
}

.hero-list {
  margin: 26px 0 32px;
  display: grid;
  gap: 10px;
}

.hero-list li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #5c6c86;
  font-size: 1rem;
}

.hero-list li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #edf2fa;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.home-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
  max-width: 640px;
}

.home-proof-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px 14px;
  box-shadow: 0 10px 24px rgba(19, 44, 92, 0.04);
  min-height: 132px;
  display: flex;
  flex-direction: column;
}

.home-proof-item h3 {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1.02rem;
  line-height: 1.25;
  margin-bottom: 8px;
  color: #152949;
  min-height: 50px;
}

.home-proof-item p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
  margin-top: 0;
}

.home-proof-icon {
  color: #22b78f;
  width: 38px;
  min-width: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-proof-icon svg {
  width: 34px;
  height: 34px;
  shape-rendering: geometricPrecision;
}

.home-proof-icon svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.hero-demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-demo-btn-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-demo-btn-icon svg {
  width: 18px;
  height: 18px;
}

.hero-demo-btn-icon svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* How flow section */

.how-flow-section {
  padding: 96px 0;
  background: #f3f7fd;
}

.how-flow-head {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: end;
  margin-bottom: 40px;
}

.how-flow-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #dcfbf5;
  color: #0c8b75;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.how-flow-head h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.how-flow-head p {
  color: var(--muted);
  font-size: 1.08rem;
}

.how-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.how-flow-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 24px;
  min-height: 300px;
  box-shadow: 0 14px 30px rgba(8, 39, 92, 0.07);
  position: relative;
  display: flex;
  flex-direction: column;
}

.how-flow-card.featured {
  border-color: rgba(53, 205, 176, 0.65);
  box-shadow: 0 18px 38px rgba(53, 205, 176, 0.15);
}

.how-flow-number {
  position: absolute;
  right: 16px;
  top: 10px;
  font-size: 64px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.07em;
  color: rgba(8, 39, 92, 0.06);
}

.how-flow-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: #08275c;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.how-flow-icon svg {
  width: 28px;
  height: 28px;
}

.how-flow-icon svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.how-flow-card.featured .how-flow-icon {
  background: linear-gradient(135deg, #35cdb0, #12a5a8);
}

.how-flow-card h3 {
  font-size: 1.28rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.how-flow-card p {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  flex: 1 1 auto;
}

.how-flow-mini-visual {
  margin-top: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff, #eef5ff);
  border: 1px solid #d8e4f7;
  padding: 12px;
  height: 136px;
  min-height: 136px;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.how-flow-mini-visual > * {
  width: 100%;
}

.how-flow-qr-sticker {
  background: #fff;
  border: 1px solid #dce7f8;
  border-radius: 14px;
  padding: 10px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px;
  align-items: center;
  height: 100%;
}

.how-flow-qr-box {
  height: 52px;
  border-radius: 10px;
  background:
    linear-gradient(90deg, #08275c 7px, transparent 7px) 0 0/16px 16px,
    linear-gradient(#08275c 7px, transparent 7px) 0 0/16px 16px,
    #fff;
  border: 5px solid #fff;
  outline: 2px solid #08275c;
}

.how-flow-fake-lines span {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: #d8e4f7;
  margin-bottom: 7px;
}

.how-flow-fake-lines span:first-child {
  width: 84%;
  background: #08275c;
}

.how-flow-fake-lines span:nth-child(2) {
  width: 65%;
}

.how-flow-fake-lines span:nth-child(3) {
  width: 48%;
  margin-bottom: 0;
}

.how-flow-dashboard-mini {
  display: grid;
  gap: 7px;
  align-content: center;
  height: 100%;
}

.how-flow-dash-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 9px;
  border-radius: 10px;
  background: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  color: #08275c;
}

.how-flow-dash-row span:last-child {
  color: #0c8b75;
}

.how-flow-phone-mini {
  width: 78px;
  height: 116px;
  margin: 0 auto;
  background: #08275c;
  border-radius: 18px 18px 0 0;
  padding: 9px;
  align-self: flex-end;
}

.how-flow-phone-screen {
  height: 100%;
  border-radius: 12px 12px 0 0;
  background: #fff;
  padding: 8px;
  display: grid;
  gap: 6px;
  align-content: start;
}

.how-flow-phone-screen span {
  height: 7px;
  border-radius: 999px;
  background: #d8e4f7;
}

.how-flow-phone-screen span:first-child {
  background: #08275c;
  width: 100%;
}

.how-flow-phone-screen span:nth-child(2) {
  width: 76%;
}

.how-flow-phone-screen span:nth-child(3) {
  width: 56%;
}

.how-flow-reminder-mini {
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  border: 1px solid #dce7f8;
  height: 100%;
}

.how-flow-reminder-top {
  font-size: 0.75rem;
  font-weight: 900;
  color: #08275c;
  margin-bottom: 8px;
}

.how-flow-reminder-line {
  height: 7px;
  border-radius: 999px;
  background: #d8e4f7;
  margin-bottom: 7px;
  width: 85%;
}

.how-flow-reminder-line:nth-child(3) {
  width: 66%;
}

.how-flow-reminder-line.is-active {
  width: 44%;
  background: #35cdb0;
  margin-bottom: 0;
}

.how-flow-strip {
  margin-top: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px 26px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  box-shadow: 0 16px 38px rgba(8, 39, 92, 0.07);
}

.how-flow-strip strong {
  display: block;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.how-flow-strip span {
  color: var(--muted);
}

/* Installer segments */

.installer-section {
  padding: 92px 0;
  overflow: hidden;
}

.installer-head {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 36px;
}

.installer-eyebrow {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: #e8fff4;
  color: #0c8b52;
  font-size: 0.83rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.installer-head h2 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
  margin-bottom: 14px;
}

.installer-head p {
  color: var(--muted);
  font-size: 1.12rem;
}

.installer-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 54px;
}

.installer-tab {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--primary);
  padding: 11px 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.92rem;
}

.installer-tab.active {
  background: var(--primary);
  color: #fff;
}

.installer-usecases {
  display: grid;
  gap: 72px;
}

.installer-usecase {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}

.installer-usecase:nth-child(even) .installer-visual {
  order: -1;
}

.installer-label {
  color: #12a36b;
  font-weight: 800;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.installer-content h3 {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.installer-text {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
  color: #34496b;
}

.installer-text strong {
  color: var(--primary);
}

.installer-mini-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.installer-mini-row span {
  display: inline-flex;
  align-items: center;
  background: #f4f8ff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.84rem;
}

.installer-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-weight: 800;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--accent);
}

.installer-visual {
  position: relative;
  min-height: 356px;
}

.installer-photo-card {
  height: 356px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid #d8e4f7;
  box-shadow: 0 18px 45px rgba(8, 39, 92, 0.11);
}

.installer-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.installer-floating-card {
  position: absolute;
  left: -24px;
  bottom: -24px;
  width: 260px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 18px 38px rgba(8, 39, 92, 0.14);
}

.installer-floating-card.right {
  left: auto;
  right: -24px;
}

.installer-floating-card strong {
  display: block;
  font-size: 0.95rem;
}

.installer-floating-card > span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-bottom: 10px;
}

.installer-status-list {
  display: grid;
  gap: 8px;
}

.installer-status-list p {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  background: #eef6ff;
  border-radius: 10px;
  padding: 7px 9px;
}

.installer-status-list em {
  font-style: normal;
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 700;
}

.installer-status-list b {
  color: #12a36b;
  font-size: 0.74rem;
}

.installer-quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  margin-top: 84px;
  box-shadow: 0 16px 38px rgba(8, 39, 92, 0.08);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}

.installer-quote-card h3 {
  font-size: 1.8rem;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.installer-quote-card p {
  color: var(--muted);
}

/* banner */

.cta-section {
  background: radial-gradient(circle at 10% 10%, rgba(69,120,216,.18), transparent 24%),
              radial-gradient(circle at 88% 78%, rgba(102,154,255,.12), transparent 18%),
              linear-gradient(180deg, #173e85 0%, #13356f 100%);
  color: white;
  padding: 110px 0;
  text-align: center;
}

.cta-box {
  max-width: 780px;
  margin: 0 auto;
}

.cta-logo {
  font-size: clamp(3rem, 7vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  margin-bottom: 24px;
}

.cta-logo span {
  color: var(--accent);
}

.cta-section h2 {
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

.cta-section p {
  font-size: 1.25rem;
  color: rgba(255,255,255,.85);
  max-width: 620px;
  margin: 0 auto 34px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-light {
  background: white;
  color: var(--primary);
}

.btn-outline-light {
  border: 1px solid rgba(255,255,255,.6);
  color: white;
}

@media (max-width: 991px) {
  .home-proof-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .installer-usecase {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .installer-usecase:nth-child(even) .installer-visual {
    order: 0;
  }

  .installer-floating-card,
  .installer-floating-card.right {
    left: 14px;
    right: 14px;
    width: auto;
    bottom: -30px;
  }

  .installer-quote-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .how-flow-head {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .how-flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-flow-strip {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 760px) {
  .how-flow-grid {
    grid-template-columns: 1fr;
  }
}