/* Pop-up "Plan een demo": info en stappen links, Google-agenda rechts. Mobiel: schermvullend, gestapeld. */
.demo-modal {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-primary);
}
.demo-modal::backdrop { background-color: rgb(0 0 60 / 0.55); }
@media (min-width: 64rem) {
  .demo-modal { width: min(70rem, calc(100% - 3rem)); height: min(46rem, calc(100% - 3rem)); margin: auto; }
}

.demo-modal__panel {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  overflow-y: auto;
  background-color: var(--color-white);
}
@media (min-width: 64rem) {
  .demo-modal__panel { grid-template-columns: 22rem 1fr; grid-template-rows: none; overflow: hidden; border-radius: var(--radius-4xl); }
}

.demo-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: var(--radius-xl);
  background-color: var(--color-accent);
  color: var(--color-primary);
  cursor: pointer;
}
/* mobiel blijft sluiten zichtbaar tijdens scrollen */
@media (max-width: 63.99rem) { .demo-modal__close { position: fixed; box-shadow: 0 4px 12px -4px rgb(0 0 60 / 0.3); } }
.demo-modal__close-icon { width: 1rem; height: 1rem; rotate: 45deg; }

.demo-modal__info { padding: 2rem 1.5rem 1.5rem; background-color: var(--color-green-light); color: var(--color-green); }
@media (min-width: 64rem) { .demo-modal__info { display: flex; flex-direction: column; padding: 2.5rem 2rem; overflow-y: auto; } }
.demo-modal__title { margin-bottom: 0.5rem; padding-right: 3rem; font-size: 1.75rem; line-height: 1.1; color: inherit; }
@media (min-width: 64rem) { .demo-modal__title { font-size: 2.25rem; } }
.demo-modal__text { margin-bottom: 1.5rem; }


/* Drie opties: agenda (uitgelicht), bellen, WhatsApp */
.demo-modal__options { display: grid; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.demo-modal__option {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.125rem;
  border-radius: var(--radius-2xl);
  background-color: var(--color-white);
  color: var(--color-green);
  text-decoration-line: none;
  transition: translate 0.2s var(--ease-default), box-shadow 0.2s var(--ease-default);
}
@media (hover: hover) { .demo-modal__option:hover { translate: 0 -2px; box-shadow: 0 12px 24px -16px rgb(0 69 69 / 0.6); } }
.demo-modal__option-icon {
  display: flex;
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
  background-color: var(--color-green-light);
}
.demo-modal__option-icon svg { width: 1.375rem; height: 1.375rem; }
.demo-modal__option-body { display: grid; gap: 0.125rem; }
.demo-modal__option-title { font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
.demo-modal__option-text { font-size: 0.9375rem; line-height: 1.45; opacity: 0.8; }
.demo-modal__option-action { display: inline-flex; align-items: center; gap: 0.375rem; margin-top: 0.375rem; font-weight: 600; }
.demo-modal__option-arrow { width: 0.875rem; height: 0.5rem; }

.demo-modal__option--calendar { background-color: var(--color-green); color: var(--color-white); }
.demo-modal__option--calendar .demo-modal__option-icon { background-color: var(--color-pink); color: var(--color-green); }
/* desktop: de agenda staat er al naast */
@media (min-width: 64rem) { .demo-modal__option--calendar .demo-modal__option-action { display: none; } }

.demo-modal__calendar { display: flex; flex-direction: column; min-height: 100svh; }
@media (min-width: 64rem) { .demo-modal__calendar { min-height: 0; } }
.demo-modal__frame { flex: 1; width: 100%; border: 0; }
.demo-modal__fallback { display: inline-flex; align-items: center; justify-content: center; gap: 0.375rem; padding: 0.75rem 1rem; font-size: 0.875rem; color: inherit; border-top: 1px solid var(--color-accent); }
.demo-modal__fallback-icon { width: 0.875rem; height: 0.5rem; }

body.demo-open { overflow: hidden; }
